]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/toolbar.h
DisableSaving/Restoring() should be void, not bool
[wxWidgets.git] / include / wx / msw / toolbar.h
index 217727881264eb07bbe0fe782f1b7eef5705d415..7a689eba01d401d620a3986988096f3314a078ee 100644 (file)
@@ -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,6 +146,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)