X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fcd73bd9b5d346834d54775fa1d89fe2f685030..e2acb9ae1c69c1e37cbe0e46933929f5b1b021ba:/include/wx/gtk1/tbargtk.h diff --git a/include/wx/gtk1/tbargtk.h b/include/wx/gtk1/tbargtk.h index a019cefabc..5a6f17415d 100644 --- a/include/wx/gtk1/tbargtk.h +++ b/include/wx/gtk1/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" @@ -37,7 +40,7 @@ class wxToolBar; // global data //----------------------------------------------------------------------------- -extern const char *wxToolBarNameStr; +extern const wxChar *wxToolBarNameStr; //----------------------------------------------------------------------------- // wxToolBar @@ -45,6 +48,7 @@ extern const char *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 @@ -117,5 +123,6 @@ class wxToolBar: public wxControl }; #endif - // __TBARGTKH__ +#endif + // __TBARGTKH__