X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c2b921a1ce6638dddeef827ea167f39dc119367..62c9b3d73fdf9a892a311241f1effc12dde0282a:/include/wx/msw/toolbar.h diff --git a/include/wx/msw/toolbar.h b/include/wx/msw/toolbar.h index ce467dad50..5e9c3e32b1 100644 --- a/include/wx/msw/toolbar.h +++ b/include/wx/msw/toolbar.h @@ -88,6 +88,9 @@ protected: // create the native toolbar control bool MSWCreateToolbar(const wxPoint& pos, const wxSize& size); + // just a wrapper for TB_SETBITMAPSIZE + void MSWSetBitmapSize(const wxSize& size); + // recreate the control completely void Recreate(); @@ -146,6 +149,9 @@ 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)