]>
git.saurik.com Git - wxWidgets.git/blob - contrib/samples/foldbar/foldpanelbar/test.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Jorgen Bodde
8 // Copyright: (c) Jorgen Bodde
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
23 * Forward declarations
26 ////@begin forward declarations
28 ////@end forward declarations
34 ////@begin control identifiers
35 #define ID_DIALOG 10001
36 #define SYMBOL_TESTTEST_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
37 #define SYMBOL_TESTTEST_TITLE _("Test Me")
38 #define SYMBOL_TESTTEST_IDNAME ID_DIALOG
39 #define SYMBOL_TESTTEST_SIZE wxSize(400, 200)
40 #define SYMBOL_TESTTEST_POSITION wxDefaultPosition
41 #define ID_PANEL7 10015
42 #define ID_PANEL6 10014
43 #define ID_PANEL3 10008
44 #define ID_PANEL 10002
45 #define ID_CHOICE 10003
46 #define ID_RADIOBUTTON 10004
47 #define ID_RADIOBUTTON1 10005
48 #define ID_PANEL2 10007
49 #define ID_PANEL4 10009
50 #define ID_PANEL5 10010
51 #define ID_CHOICE1 10011
52 #define ID_RADIOBUTTON2 10012
53 #define ID_RADIOBUTTON3 10013
54 #define ID_PANEL1 10006
55 ////@end control identifiers
62 #define wxCLOSE_BOX 0x1000
64 #ifndef wxFIXED_MINSIZE
65 #define wxFIXED_MINSIZE 0
69 * TestTest class declaration
72 class TestTest
: public wxDialog
74 DECLARE_CLASS( TestTest
)
80 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
);
83 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
);
85 /// Creates the controls and sizers
86 void CreateControls();
88 ////@begin TestTest event handler declarations
90 ////@end TestTest event handler declarations
92 ////@begin TestTest member function declarations
95 /// Retrieves bitmap resources
96 wxBitmap
GetBitmapResource( const wxString
& name
);
98 /// Retrieves icon resources
99 wxIcon
GetIconResource( const wxString
& name
);
100 ////@end TestTest member function declarations
102 /// Should we show tooltips?
103 static bool ShowToolTips();
105 ////@begin TestTest member variables
107 ////@end TestTest member variables