wxcrafter/src/tool_bar.h
raw| 1 | #ifndef TOOLBAR_H |
| 2 | #define TOOLBAR_H |
| 3 | |
| 4 | #include <wx/event.h> |
| 5 | #include <wx/panel.h> |
| 6 | #include <wx/toolbar.h> |
| 7 | |
| 8 | class ToolBar : public wxPanel |
| 9 | { |
| 10 | wxToolBar* m_wxtb; |
| 11 | |
| 12 | public: |
| 13 | ToolBar(wxWindow* parent); |
| 14 | virtual ~ToolBar(); |
| 15 | |
| 16 | void AddToolbar(wxToolBar* tb); |
| 17 | void OnClick(wxCommandEvent& e); |
| 18 | }; |
| 19 | |
| 20 | #endif // TOOLBAR_H |