]>
git.saurik.com Git - wxWidgets.git/blob - contrib/samples/foldbar/foldpanelbar/test.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Jorgen Bodde
6 // Created: 06/27/04 13:34:20
10 /////////////////////////////////////////////////////////////////////////////
15 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "test.cpp"
27 * Forward declarations
30 ////@begin forward declarations
32 ////@end forward declarations
38 ////@begin control identifiers
39 #define ID_DIALOG 10001
40 #define SYMBOL_TESTTEST_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
41 #define SYMBOL_TESTTEST_TITLE _("Test Me")
42 #define SYMBOL_TESTTEST_IDNAME ID_DIALOG
43 #define SYMBOL_TESTTEST_SIZE wxSize(400, 200)
44 #define SYMBOL_TESTTEST_POSITION wxDefaultPosition
45 #define ID_PANEL7 10015
46 #define ID_PANEL6 10014
47 #define ID_PANEL3 10008
48 #define ID_PANEL 10002
49 #define ID_CHOICE 10003
50 #define ID_RADIOBUTTON 10004
51 #define ID_RADIOBUTTON1 10005
52 #define ID_PANEL2 10007
53 #define ID_PANEL4 10009
54 #define ID_PANEL5 10010
55 #define ID_CHOICE1 10011
56 #define ID_RADIOBUTTON2 10012
57 #define ID_RADIOBUTTON3 10013
58 #define ID_PANEL1 10006
59 ////@end control identifiers
66 #define wxCLOSE_BOX 0x1000
68 #ifndef wxFIXED_MINSIZE
69 #define wxFIXED_MINSIZE 0
73 * TestTest class declaration
76 class TestTest
: public wxDialog
78 DECLARE_CLASS( TestTest
)
84 TestTest( wxWindow
* parent
, wxWindowID id
= SYMBOL_TESTTEST_IDNAME
, const wxString
& caption
= SYMBOL_TESTTEST_TITLE
, const wxPoint
& pos
= SYMBOL_TESTTEST_POSITION
, const wxSize
& size
= SYMBOL_TESTTEST_SIZE
, long style
= SYMBOL_TESTTEST_STYLE
);
87 bool Create( wxWindow
* parent
, wxWindowID id
= SYMBOL_TESTTEST_IDNAME
, const wxString
& caption
= SYMBOL_TESTTEST_TITLE
, const wxPoint
& pos
= SYMBOL_TESTTEST_POSITION
, const wxSize
& size
= SYMBOL_TESTTEST_SIZE
, long style
= SYMBOL_TESTTEST_STYLE
);
89 /// Creates the controls and sizers
90 void CreateControls();
92 ////@begin TestTest event handler declarations
94 ////@end TestTest event handler declarations
96 ////@begin TestTest member function declarations
99 /// Retrieves bitmap resources
100 wxBitmap
GetBitmapResource( const wxString
& name
);
102 /// Retrieves icon resources
103 wxIcon
GetIconResource( const wxString
& name
);
104 ////@end TestTest member function declarations
106 /// Should we show tooltips?
107 static bool ShowToolTips();
109 ////@begin TestTest member variables
111 ////@end TestTest member variables