]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/foldbar/foldpanelbar/foldtestpanel.h
Fill in more details for the wxEVT_STC_AUTOCOMP_SELECTION event
[wxWidgets.git] / contrib / samples / foldbar / foldpanelbar / foldtestpanel.h
CommitLineData
957f5ab7
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: foldtestpanel.h
f857e441 3// Purpose:
957f5ab7 4// Author: Jorgen Bodde
7a8d9418
WS
5// Modified by: ABX - 19/12/2004 : possibility of horizontal orientation
6// : wxWidgets coding standards
f857e441
WS
7// Created: 18/06/2004
8// RCS-ID: $Id$
9// Copyright: (c) Jorgen Bodde
10// Licence: wxWindows licence
957f5ab7
VZ
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _FOLDTESTPANEL_H_
14#define _FOLDTESTPANEL_H_
15
957f5ab7
VZ
16/*!
17 * Includes
18 */
19
7a8d9418 20#include "wx/foldbar/foldpanelbar.h"
957f5ab7
VZ
21
22////@begin includes
23////@end includes
24
25/*!
26 * Forward declarations
27 */
28
29////@begin forward declarations
30class wxBoxSizer;
31////@end forward declarations
32
33/*!
34 * Control identifiers
35 */
36
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
50
51/*!
52 * Compatibility
53 */
54
55#ifndef wxCLOSE_BOX
56#define wxCLOSE_BOX 0x1000
57#endif
58#ifndef wxFIXED_MINSIZE
59#define wxFIXED_MINSIZE 0
60#endif
61
62/*!
63 * FoldTestPanel class declaration
64 */
65
66class FoldTestPanel: public wxPanel
f857e441 67{
957f5ab7
VZ
68 DECLARE_CLASS( FoldTestPanel )
69 DECLARE_EVENT_TABLE()
70
71private:
7a8d9418
WS
72 wxImageList *m_images;
73 wxRect m_oldsize;
957f5ab7 74
f857e441 75 void OnCaptionPanel(wxCaptionBarEvent &event);
957f5ab7
VZ
76
77public:
78 /// Constructors
79 FoldTestPanel( );
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 );
81
82 /// Creation
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 );
84
85 /// Creates the controls and sizers
86 void CreateControls();
87
88////@begin FoldTestPanel event handler declarations
89
90////@end FoldTestPanel event handler declarations
91
92////@begin FoldTestPanel member function declarations
93
94
95 /// Retrieves bitmap resources
96 wxBitmap GetBitmapResource( const wxString& name );
97
98 /// Retrieves icon resources
99 wxIcon GetIconResource( const wxString& name );
100////@end FoldTestPanel member function declarations
101
102 /// Should we show tooltips?
103 static bool ShowToolTips();
104
105////@begin FoldTestPanel member variables
106 wxBoxSizer* blaat;
107////@end FoldTestPanel member variables
108};
109
110#endif
111 // _FOLDTESTPANEL_H_