]>
Commit | Line | Data |
---|---|---|
8e08b761 JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: No names yet. | |
3 | // Purpose: Contrib. demo | |
4 | // Author: Aleksandras Gluchovas | |
5 | // Modified by: | |
6 | // Created: 28/10/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Aleksandras Gluchovas | |
9 | // Licence: wxWindows license | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef __CBCUSTOM_G__ | |
13 | #define __CBCUSTOM_G__ | |
14 | ||
15 | #ifdef __GNUG__ | |
16 | #pragma interface "cbcustom.h" | |
17 | #endif | |
18 | ||
19 | #include "wx/fl/controlbar.h" | |
20 | ||
21 | class cbSimpleCustomizationPlugin : public cbPluginBase | |
22 | { | |
23 | public: | |
24 | DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin ) | |
25 | ||
26 | int mCustMenuItemId; | |
27 | public: | |
28 | ||
29 | cbSimpleCustomizationPlugin(void); | |
30 | ||
31 | cbSimpleCustomizationPlugin( wxFrameLayout* pPanel, int paneMask = wxALL_PANES ); | |
32 | ||
33 | // plugin-event handlers | |
34 | ||
35 | void OnCustomizeBar( cbCustomizeBarEvent& event ); | |
36 | ||
37 | void OnCustomizeLayout( cbCustomizeLayoutEvent& event ); | |
38 | ||
39 | // menu-event handler | |
40 | ||
41 | void OnMenuItemSelected( wxCommandEvent& event ); | |
42 | ||
43 | DECLARE_EVENT_TABLE() | |
44 | }; | |
45 | ||
46 | #endif /* __CBCUSTOM_G__ */ | |
47 |