]> git.saurik.com Git - wxWidgets.git/blob - samples/nativdlg/nativdlg.h
Removed unneeded FixUpMouse() method, some more GTK prefixing
[wxWidgets.git] / samples / nativdlg / nativdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: nativdlg.h
3 // Purpose: Native Windows dialog sample
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 04/01/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
11
12 // Define a new application
13 class MyApp: public wxApp
14 {
15 public:
16 MyApp(void){};
17 bool OnInit(void);
18 };
19
20 class MyFrame: public wxFrame
21 {
22 public:
23 wxWindow *panel;
24 MyFrame(wxWindow *parent, const wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size);
25 void OnQuit(wxCommandEvent& event);
26 void OnTest1(wxCommandEvent& event);
27
28 DECLARE_EVENT_TABLE()
29 };
30
31 class MyDialog : public wxDialog
32 {
33 public:
34 void OnOk(wxCommandEvent& event);
35 void OnCancel(wxCommandEvent& event);
36
37 DECLARE_EVENT_TABLE()
38 };
39
40 #define RESOURCE_QUIT 4
41 #define RESOURCE_TEST1 2
42