1 /////////////////////////////////////////////////////////////////////////////
2 // Name: foldtestpanel.h
4 // Author: Jorgen Bodde
8 // Copyright: (c) Jorgen Bodde
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _FOLDTESTPANEL_H_
13 #define _FOLDTESTPANEL_H_
15 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "foldtestpanel.cpp"
23 #include "wx/foldbar/captionbar.h"
29 * Forward declarations
32 ////@begin forward declarations
34 ////@end forward declarations
40 ////@begin control identifiers
41 #define ID_TESTPANEL 10000
42 #define SYMBOL_FOLDTESTPANEL_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
43 #define SYMBOL_FOLDTESTPANEL_TITLE _("FoldTestPanel")
44 #define SYMBOL_FOLDTESTPANEL_IDNAME ID_TESTPANEL
45 #define SYMBOL_FOLDTESTPANEL_SIZE wxSize(400, 300)
46 #define SYMBOL_FOLDTESTPANEL_POSITION wxDefaultPosition
47 #define ID_PANEL 10002
48 #define ID_CHOICE 10003
49 #define ID_TEXTCTRL 10016
50 #define ID_RADIOBUTTON 10004
51 #define ID_RADIOBUTTON1 10005
52 ////@end control identifiers
59 #define wxCLOSE_BOX 0x1000
61 #ifndef wxFIXED_MINSIZE
62 #define wxFIXED_MINSIZE 0
66 * FoldTestPanel class declaration
69 class FoldTestPanel
: public wxPanel
71 DECLARE_CLASS( FoldTestPanel
)
78 void OnCaptionPanel(wxCaptionBarEvent
&event
);
83 FoldTestPanel( wxWindow
* parent
, wxWindowID id
= SYMBOL_FOLDTESTPANEL_IDNAME
, const wxString
& caption
= SYMBOL_FOLDTESTPANEL_TITLE
, const wxPoint
& pos
= SYMBOL_FOLDTESTPANEL_POSITION
, const wxSize
& size
= SYMBOL_FOLDTESTPANEL_SIZE
, long style
= SYMBOL_FOLDTESTPANEL_STYLE
);
86 bool Create( wxWindow
* parent
, wxWindowID id
= SYMBOL_FOLDTESTPANEL_IDNAME
, const wxString
& caption
= SYMBOL_FOLDTESTPANEL_TITLE
, const wxPoint
& pos
= SYMBOL_FOLDTESTPANEL_POSITION
, const wxSize
& size
= SYMBOL_FOLDTESTPANEL_SIZE
, long style
= SYMBOL_FOLDTESTPANEL_STYLE
);
88 /// Creates the controls and sizers
89 void CreateControls();
91 ////@begin FoldTestPanel event handler declarations
93 ////@end FoldTestPanel event handler declarations
95 ////@begin FoldTestPanel member function declarations
98 /// Retrieves bitmap resources
99 wxBitmap
GetBitmapResource( const wxString
& name
);
101 /// Retrieves icon resources
102 wxIcon
GetIconResource( const wxString
& name
);
103 ////@end FoldTestPanel member function declarations
105 /// Should we show tooltips?
106 static bool ShowToolTips();
108 ////@begin FoldTestPanel member variables
110 ////@end FoldTestPanel member variables