]> git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/fl/cbcustom.h
build fix for latest C++ standard
[wxWidgets.git] / contrib / include / wx / fl / cbcustom.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: cbcustom.h
3 // Purpose: cbSimpleCustomizationPlugin class declaration
4 // Author: Aleksandras Gluchovas
5 // Modified by:
6 // Created: 28/10/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Aleksandras Gluchovas
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __CBCUSTOM_G__
13 #define __CBCUSTOM_G__
14
15 #include "wx/fl/controlbar.h"
16
17 /*
18 This class enables customization of a bar, popping up a
19 menu and handling basic customization such as floating
20 and horizontal/vertical alignment of the bar.
21 */
22
23 class WXDLLIMPEXP_FL cbSimpleCustomizationPlugin : public cbPluginBase
24 {
25 public:
26 DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin )
27
28 int mCustMenuItemId;
29 public:
30
31 // Default constructor.
32 cbSimpleCustomizationPlugin(void);
33
34 // Constructor, taking parent pane and a pane mask flag.
35 cbSimpleCustomizationPlugin( wxFrameLayout* pPanel, int paneMask = wxALL_PANES );
36
37 // Plugin event handler for cbCustomizeBarEvent.
38 void OnCustomizeBar( cbCustomizeBarEvent& event );
39
40 // Plugin event handler for cbCustomizeLayoutEvent.
41 void OnCustomizeLayout( cbCustomizeLayoutEvent& event );
42
43 // Menu event handler.
44 void OnMenuItemSelected( wxCommandEvent& event );
45
46 DECLARE_EVENT_TABLE()
47 };
48
49 #endif /* __CBCUSTOM_G__ */
50