]> git.saurik.com Git - wxWidgets.git/blob - samples/mfc/mfctest.h
eliminate possibility of configure enabling gnomeprint with GTK3
[wxWidgets.git] / samples / mfc / mfctest.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: mfctest.h
3 // Purpose: Sample to demonstrate mixing MFC and wxWidgets code
4 // Author: Julian Smart
5 // Id: $Id$
6 // Copyright: (c) Julian Smart
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef __MFCTEST_H__
11 #define __MFCTEST_H__
12
13 /////////////////////////////////////////////////////////////////////////////
14
15 // CMainWindow:
16 // See hello.cpp for the code to the member functions and the message map.
17 //
18 class CMainWindow : public CFrameWnd
19 {
20 public:
21 CMainWindow();
22
23 //{{AFX_MSG( CMainWindow )
24 afx_msg void OnPaint();
25 afx_msg void OnAbout();
26 afx_msg void OnTest();
27 //}}AFX_MSG
28
29 DECLARE_MESSAGE_MAP()
30 };
31
32 // A dummy CWnd pointing to a wxWindow's HWND
33 class CDummyWindow: public CWnd
34 {
35 public:
36 CDummyWindow(HWND hWnd);
37 ~CDummyWindow(void);
38 };
39
40 /////////////////////////////////////////////////////////////////////////////
41
42 // CTheApp:
43 //
44 class CTheApp : public CWinApp
45 {
46 public:
47 BOOL InitInstance();
48 int ExitInstance();
49
50 // Override this to provide wxWidgets message loop
51 // compatibility
52 BOOL PreTranslateMessage(MSG *msg);
53 BOOL OnIdle(LONG lCount);
54 };
55
56 /////////////////////////////////////////////////////////////////////////////
57
58 #endif // __MFCTEST_H__