diff options
Diffstat (limited to 'src/T2MainWindow.h')
-rw-r--r-- | src/T2MainWindow.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/T2MainWindow.h b/src/T2MainWindow.h index eedd250..31f28a0 100644 --- a/src/T2MainWindow.h +++ b/src/T2MainWindow.h @@ -4,13 +4,12 @@ #define T2_MAIN_WINDOW ((T2MainWindow *) AfxGetMainWnd()) class T2MainWindow : public CFrameWnd { +protected: + T2MainWindow(); DECLARE_DYNCREATE(T2MainWindow) - DECLARE_MESSAGE_MAP() public: - T2MainWindow(); virtual ~T2MainWindow(); - virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; void Setup(); @@ -35,6 +34,14 @@ public: protected: void InitSound(); void DeinitSound(); + + //{{AFX_VIRTUAL(T2MainWindow) + public: + virtual BOOL PreCreateWindow(CREATESTRUCT& cs); + //}}AFX_VIRTUAL + +protected: + //{{AFX_MSG(T2MainWindow) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnDestroy(); afx_msg void OnSize(UINT nType, int cx, int cy); @@ -47,4 +54,6 @@ protected: afx_msg void OnUpdateCmdDebugEvent(CCmdUI *pCmdUI); afx_msg void OnClose(); afx_msg void OnCmdDebugMode(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() }; |