X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07d02e9ee0fe990aeb81e152a668d0011659b5c7..46ea442ca27e8b77d617481175bc7010bd602eb8:/include/wx/msw/wince/tbarwce.h diff --git a/include/wx/msw/wince/tbarwce.h b/include/wx/msw/wince/tbarwce.h index a32bab2f4e..8b4618e2a4 100644 --- a/include/wx/msw/wince/tbarwce.h +++ b/include/wx/msw/wince/tbarwce.h @@ -19,7 +19,7 @@ // Smartphones don't have toolbars, so use a dummy class #ifdef __SMARTPHONE__ -class WXDLLEXPORT wxToolBar : public wxToolBarBase +class WXDLLIMPEXP_CORE wxToolBar : public wxToolBarBase { public: // ctors and dtor @@ -69,16 +69,16 @@ protected: private: DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxToolBar) - DECLARE_NO_COPY_CLASS(wxToolBar) + wxDECLARE_NO_COPY_CLASS(wxToolBar); }; #else // For __POCKETPC__ -#include "wx/msw/tbar95.h" +#include "wx/msw/toolbar.h" -class WXDLLEXPORT wxToolMenuBar : public wxToolBar +class WXDLLIMPEXP_CORE wxToolMenuBar : public wxToolBar { public: // ctors and dtor @@ -149,7 +149,8 @@ protected: wxObject *clientData, const wxString& shortHelp, const wxString& longHelp); - virtual wxToolBarToolBase *CreateTool(wxControl *control); + virtual wxToolBarToolBase *CreateTool(wxControl *control, + const wxString& label); // The menubar associated with this toolbar wxMenuBar* m_menuBar; @@ -157,7 +158,7 @@ protected: private: DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxToolMenuBar) - DECLARE_NO_COPY_CLASS(wxToolMenuBar) + wxDECLARE_NO_COPY_CLASS(wxToolMenuBar); }; #endif