X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..9739d9ee8090965862ba623b09a8fba731dc3d5c:/include/wx/mac/toolbar.h?ds=sidebyside diff --git a/include/wx/mac/toolbar.h b/include/wx/mac/toolbar.h index e42c5827ef..6fe126b788 100644 --- a/include/wx/mac/toolbar.h +++ b/include/wx/mac/toolbar.h @@ -16,7 +16,10 @@ #pragma interface "toolbar.h" #endif +#if wxUSE_TOOLBAR + #include "wx/tbarbase.h" +#include "wx/dynarray.h" WXDLLEXPORT_DATA(extern const char*) wxToolBarNameStr; @@ -62,16 +65,19 @@ class WXDLLEXPORT wxToolBar: public wxToolBarBase // Add all the buttons virtual bool CreateTools(); - virtual void Layout() {} + virtual void LayoutButtons() {} // The post-tool-addition call. TODO: do here whatever's // necessary for completing the toolbar construction. bool Realize() { return CreateTools(); }; - + virtual void MacHandleControlClick( ControlHandle control , SInt16 controlpart ) ; protected: + wxArrayPtrVoid m_macToolHandles ; DECLARE_EVENT_TABLE() }; +#endif // wxUSE_TOOLBAR + #endif // _WX_TOOLBAR_H_