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__
15 #include "wx/fl/controlbar.h"
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.
23 class WXDLLIMPEXP_FL cbSimpleCustomizationPlugin
: public cbPluginBase
26 DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin
)
31 // Default constructor.
32 cbSimpleCustomizationPlugin(void);
34 // Constructor, taking parent pane and a pane mask flag.
35 cbSimpleCustomizationPlugin( wxFrameLayout
* pPanel
, int paneMask
= wxALL_PANES
);
37 // Plugin event handler for cbCustomizeBarEvent.
38 void OnCustomizeBar( cbCustomizeBarEvent
& event
);
40 // Plugin event handler for cbCustomizeLayoutEvent.
41 void OnCustomizeLayout( cbCustomizeLayoutEvent
& event
);
43 // Menu event handler.
44 void OnMenuItemSelected( wxCommandEvent
& event
);
49 #endif /* __CBCUSTOM_G__ */