]> git.saurik.com Git - wxWidgets.git/blob - samples/tab/test.h
Attempting to check in this wretched cursor again. Also added SetAcceleratorTable
[wxWidgets.git] / samples / tab / test.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: test.h
3 // Purpose: Tab demo
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c)
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // Define a new application
13 class MyApp: public wxApp
14 {
15 public:
16 bool OnInit(void);
17 };
18
19 class MyDialog: public wxTabbedDialog
20 {
21 public:
22 MyDialog(wxWindow* parent, const wxWindowID id, const wxString& title,
23 const wxPoint& pos, const wxSize& size, const long windowStyle = wxDEFAULT_DIALOG_STYLE);
24
25 void OnOK(wxCommandEvent& event);
26 void OnCloseWindow(wxCloseEvent& event);
27 // void OnAbout(wxCommandEvent& event);
28 void Init(void);
29
30 DECLARE_EVENT_TABLE()
31 };
32
33 // File ids
34 #define TEST_ABOUT 2
35
36 // Tab ids
37 #define TEST_TAB_DOG 1
38 #define TEST_TAB_CAT 2
39 #define TEST_TAB_GOAT 3
40 #define TEST_TAB_GUINEAPIG 4
41 #define TEST_TAB_ANTEATER 5
42 #define TEST_TAB_HUMMINGBIRD 6
43 #define TEST_TAB_SHEEP 7
44 #define TEST_TAB_COW 8
45 #define TEST_TAB_HORSE 9
46 #define TEST_TAB_PIG 10
47 #define TEST_TAB_OSTRICH 11
48 #define TEST_TAB_AARDVARK 12
49