]>
git.saurik.com Git - wxWidgets.git/blob - samples/mfc/mfctest.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Sample to demonstrate mixing MFC and wxWindows code
4 // Author: Julian Smart
6 // Copyright: (c) Julian Smart
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
13 /////////////////////////////////////////////////////////////////////////////
16 // See hello.cpp for the code to the member functions and the message map.
18 class CMainWindow
: public CFrameWnd
23 //{{AFX_MSG( CMainWindow )
24 afx_msg
void OnPaint();
25 afx_msg
void OnAbout();
26 afx_msg
void OnTest();
32 // A dummy CWnd pointing to a wxWindow's HWND
33 class CDummyWindow
: public CWnd
36 CDummyWindow(HWND hWnd
);
40 /////////////////////////////////////////////////////////////////////////////
43 // See hello.cpp for the code to the InitInstance member function.
45 class CTheApp
: public CWinApp
51 // Override this to provide wxWindows message loop
53 BOOL
PreTranslateMessage(MSG
*msg
);
54 BOOL
OnIdle(LONG lCount
);
57 /////////////////////////////////////////////////////////////////////////////
59 #endif // __MFCTEST_H__