X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..032e024c1c6ab6a20226604baab9d00558620e72:/include/wx/msw/toolbar.h?ds=sidebyside diff --git a/include/wx/msw/toolbar.h b/include/wx/msw/toolbar.h index 2177278812..b835541e80 100644 --- a/include/wx/msw/toolbar.h +++ b/include/wx/msw/toolbar.h @@ -116,7 +116,9 @@ protected: // handlers for various events bool HandleSize(WXWPARAM wParam, WXLPARAM lParam); +#ifndef __WXWINCE__ bool HandlePaint(WXWPARAM wParam, WXLPARAM lParam); +#endif // __WXWINCE__ void HandleMouseMove(WXWPARAM wParam, WXLPARAM lParam); // should be called whenever the toolbar size changes @@ -144,9 +146,12 @@ protected: wxToolBarToolBase *m_pInTool; private: + // makes sure tool bitmap size is sufficient for all tools + void AdjustToolBitmapSize(); + DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxToolBar) - DECLARE_NO_COPY_CLASS(wxToolBar) + wxDECLARE_NO_COPY_CLASS(wxToolBar); }; #endif // wxUSE_TOOLBAR