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_
16 #if defined(__GNUG__) && !defined(__APPLE__)
17 #pragma interface "foldtestpanel.cpp"
24 #include "wx/foldbar/foldpanelbar.h"
30 * Forward declarations
33 ////@begin forward declarations
35 ////@end forward declarations
41 ////@begin control identifiers
42 #define ID_TESTPANEL 10000
43 #define SYMBOL_FOLDTESTPANEL_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
44 #define SYMBOL_FOLDTESTPANEL_TITLE _("FoldTestPanel")
45 #define SYMBOL_FOLDTESTPANEL_IDNAME ID_TESTPANEL
46 #define SYMBOL_FOLDTESTPANEL_SIZE wxSize(400, 300)
47 #define SYMBOL_FOLDTESTPANEL_POSITION wxDefaultPosition
48 #define ID_PANEL 10002
49 #define ID_CHOICE 10003
50 #define ID_TEXTCTRL 10016
51 #define ID_RADIOBUTTON 10004
52 #define ID_RADIOBUTTON1 10005
53 ////@end control identifiers
60 #define wxCLOSE_BOX 0x1000
62 #ifndef wxFIXED_MINSIZE
63 #define wxFIXED_MINSIZE 0
67 * FoldTestPanel class declaration
70 class FoldTestPanel
: public wxPanel
72 DECLARE_CLASS( FoldTestPanel
)
76 wxImageList
*m_images
;
79 void OnCaptionPanel(wxCaptionBarEvent
&event
);
84 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
);
87 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
);
89 /// Creates the controls and sizers
90 void CreateControls();
92 ////@begin FoldTestPanel event handler declarations
94 ////@end FoldTestPanel event handler declarations
96 ////@begin FoldTestPanel 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 FoldTestPanel member function declarations
106 /// Should we show tooltips?
107 static bool ShowToolTips();
109 ////@begin FoldTestPanel member variables
111 ////@end FoldTestPanel member variables