]>
git.saurik.com Git - wxWidgets.git/blob - samples/nativdlg/nativdlg.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Native Windows dialog sample
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
16 // Define a new application
17 class MyApp
: public wxApp
24 class MyFrame
: public wxFrame
28 MyFrame(wxWindow
*parent
, const wxWindowID id
, const wxString
& title
, const wxPoint
& pos
, const wxSize
& size
);
29 void OnQuit(wxCommandEvent
& event
);
30 void OnTest1(wxCommandEvent
& event
);
35 class MyDialog
: public wxDialog
38 void OnOk(wxCommandEvent
& event
);
39 void OnCancel(wxCommandEvent
& event
);
44 #define RESOURCE_QUIT 4
45 #define RESOURCE_TEST1 2