1 /////////////////////////////////////////////////////////////////////////////
2 // Name: foldtestpanel.h
4 // Author: Jorgen Bodde
5 // Modified by: ABX - 19/12/2004 : possibility of horizontal orientation
6 // : wxWidgets coding standards
9 // Copyright: (c) Jorgen Bodde
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _FOLDTESTPANEL_H_
14 #define _FOLDTESTPANEL_H_
20 #include "wx/foldbar/foldpanelbar.h"
26 * Forward declarations
29 ////@begin forward declarations
31 ////@end forward declarations
37 ////@begin control identifiers
38 #define ID_TESTPANEL 10000
39 #define SYMBOL_FOLDTESTPANEL_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
40 #define SYMBOL_FOLDTESTPANEL_TITLE _("FoldTestPanel")
41 #define SYMBOL_FOLDTESTPANEL_IDNAME ID_TESTPANEL
42 #define SYMBOL_FOLDTESTPANEL_SIZE wxSize(400, 300)
43 #define SYMBOL_FOLDTESTPANEL_POSITION wxDefaultPosition
44 #define ID_PANEL 10002
45 #define ID_CHOICE 10003
46 #define ID_TEXTCTRL 10016
47 #define ID_RADIOBUTTON 10004
48 #define ID_RADIOBUTTON1 10005
49 ////@end control identifiers
56 #define wxCLOSE_BOX 0x1000
58 #ifndef wxFIXED_MINSIZE
59 #define wxFIXED_MINSIZE 0
63 * FoldTestPanel class declaration
66 class FoldTestPanel
: public wxPanel
68 DECLARE_CLASS( FoldTestPanel
)
72 wxImageList
*m_images
;
75 void OnCaptionPanel(wxCaptionBarEvent
&event
);
80 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
);
83 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
);
85 /// Creates the controls and sizers
86 void CreateControls();
88 ////@begin FoldTestPanel event handler declarations
90 ////@end FoldTestPanel event handler declarations
92 ////@begin FoldTestPanel 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 FoldTestPanel member function declarations
102 /// Should we show tooltips?
103 static bool ShowToolTips();
105 ////@begin FoldTestPanel member variables
107 ////@end FoldTestPanel member variables