X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b90345be1e457f02b96ff7fde2bfc9b8d100de2..8bedcdce08e1575b74250d2ebac4355a687ccf8d:/include/wx/gtk/tbargtk.h diff --git a/include/wx/gtk/tbargtk.h b/include/wx/gtk/tbargtk.h index 131ce1b7c7..5a6f17415d 100644 --- a/include/wx/gtk/tbargtk.h +++ b/include/wx/gtk/tbargtk.h @@ -15,6 +15,9 @@ #endif #include "wx/defs.h" + +#if wxUSE_TOOLBAR + #include "wx/control.h" #include "wx/bitmap.h" #include "wx/tbarbase.h" @@ -45,6 +48,7 @@ extern const wxChar *wxToolBarNameStr; class wxToolBar: public wxControl { + DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxToolBar) public: @@ -102,6 +106,8 @@ class wxToolBar: public wxControl virtual void SetToolLongHelp(int toolIndex, const wxString& helpString); virtual void SetToolShortHelp(int toolIndex, const wxString& helpString); + + void OnIdle( wxIdleEvent &ievent ); // implementation @@ -116,5 +122,7 @@ class wxToolBar: public wxControl bool m_hasToolAlready; }; +#endif + #endif // __TBARGTKH__