From c920fe38a19013b99f3f74e48da9724fb053c212 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sun, 9 Jul 2023 20:59:16 +0100 Subject: support building from VC++ IDE, add resources --- src/T2MainWindow.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/T2MainWindow.h') 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() }; -- cgit v1.2.3