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