diff options
Diffstat (limited to 'src/T2GraphWindow.h')
-rw-r--r-- | src/T2GraphWindow.h | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/src/T2GraphWindow.h b/src/T2GraphWindow.h index 4286e73..a3051dd 100644 --- a/src/T2GraphWindow.h +++ b/src/T2GraphWindow.h @@ -2,19 +2,25 @@ #include "common.h" class T2GraphWindow : public CFrameWnd { +protected: + T2GraphWindow(); DECLARE_DYNCREATE(T2GraphWindow) - DECLARE_MESSAGE_MAP() public: - T2GraphWindow(); virtual ~T2GraphWindow(); void SetDocument(T2TowerDoc *inDoc); -protected: - BOOL OnEraseBkgnd(CDC *pDC); - void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar); - void OnSize(UINT nType, int cx, int cy); - BOOL OnQueryNewPalette(); - T2TowerDoc *mDocument; + + //{{AFX_VIRTUAL(T2GraphWindow) + //}}AFX_VIRTUAL + +protected: + //{{AFX_MSG(T2GraphWindow) + afx_msg BOOL OnEraseBkgnd(CDC *pDC); + afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar); + afx_msg void OnSize(UINT nType, int cx, int cy); + afx_msg BOOL OnQueryNewPalette(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() }; |