]>
git.saurik.com Git - wxWidgets.git/blob - samples/nativdlg/nativdlg.h
8e60ae0e3c0ca4f63ebe2d4850ce14212cd32317
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Native Windows dialog sample
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // Define a new application
13 class MyApp
: public wxApp
20 class MyFrame
: public wxFrame
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
);
31 class MyDialog
: public wxDialog
34 void OnOk(wxCommandEvent
& event
);
35 void OnCancel(wxCommandEvent
& event
);
40 #define RESOURCE_QUIT 4
41 #define RESOURCE_TEST1 2