1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: cbSimpleCustomizationPlugin class declaration
4 // Author: Aleksandras Gluchovas
8 // Copyright: (c) Aleksandras Gluchovas
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef __CBCUSTOM_G__
13 #define __CBCUSTOM_G__
16 #pragma interface "cbcustom.h"
19 #include "wx/fl/controlbar.h"
22 This class enables customization of a bar, popping up a
23 menu and handling basic customization such as floating
24 and horizontal/vertical alignment of the bar.
27 class cbSimpleCustomizationPlugin
: public cbPluginBase
30 DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin
)
35 // Default constructor.
36 cbSimpleCustomizationPlugin(void);
38 // Constructor, taking parent pane and a pane mask flag.
39 cbSimpleCustomizationPlugin( wxFrameLayout
* pPanel
, int paneMask
= wxALL_PANES
);
41 // Plugin event handler for cbCustomizeBarEvent.
42 void OnCustomizeBar( cbCustomizeBarEvent
& event
);
44 // Plugin event handler for cbCustomizeLayoutEvent.
45 void OnCustomizeLayout( cbCustomizeLayoutEvent
& event
);
47 // Menu event handler.
48 void OnMenuItemSelected( wxCommandEvent
& event
);
53 #endif /* __CBCUSTOM_G__ */