]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/foldbar/foldpanelbar/test.h
Assert correction.
[wxWidgets.git] / contrib / samples / foldbar / foldpanelbar / test.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: test.h
3 // Purpose:
4 // Author: Jorgen Bodde
5 // Modified by:
6 // Created: 27/06/2004
7 // RCS-ID: $Id$
8 // Copyright: (c) Jorgen Bodde
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _TEST_H_
13 #define _TEST_H_
14
15 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "test.cpp"
17 #endif
18
19 /*!
20 * Includes
21 */
22
23 ////@begin includes
24 ////@end includes
25
26 /*!
27 * Forward declarations
28 */
29
30 ////@begin forward declarations
31 class wxBoxSizer;
32 ////@end forward declarations
33
34 /*!
35 * Control identifiers
36 */
37
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
60
61 /*!
62 * Compatibility
63 */
64
65 #ifndef wxCLOSE_BOX
66 #define wxCLOSE_BOX 0x1000
67 #endif
68 #ifndef wxFIXED_MINSIZE
69 #define wxFIXED_MINSIZE 0
70 #endif
71
72 /*!
73 * TestTest class declaration
74 */
75
76 class TestTest: public wxDialog
77 {
78 DECLARE_CLASS( TestTest )
79 DECLARE_EVENT_TABLE()
80
81 public:
82 /// Constructors
83 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 );
85
86 /// Creation
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 );
88
89 /// Creates the controls and sizers
90 void CreateControls();
91
92 ////@begin TestTest event handler declarations
93
94 ////@end TestTest event handler declarations
95
96 ////@begin TestTest member function declarations
97
98
99 /// Retrieves bitmap resources
100 wxBitmap GetBitmapResource( const wxString& name );
101
102 /// Retrieves icon resources
103 wxIcon GetIconResource( const wxString& name );
104 ////@end TestTest member function declarations
105
106 /// Should we show tooltips?
107 static bool ShowToolTips();
108
109 ////@begin TestTest member variables
110 wxBoxSizer* blaat;
111 ////@end TestTest member variables
112 };
113
114 #endif
115 // _TEST_H_