]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/button.h
Fix wxWrapSizer minimal size calculation.
[wxWidgets.git] / include / wx / msw / button.h
index e1de60c2d69b2d07f1e6dbc388e707a599e4b44b..1f5ad27c9b72329db5da84eb9c1e1e44d989314f 100644 (file)
@@ -88,13 +88,17 @@ protected:
     virtual void DoSetBitmapMargins(wxCoord x, wxCoord y);
     virtual void DoSetBitmapPosition(wxDirection dir);
 
+    // Increases the passed in size if necessary to account for the
+    // button image, if any
+    void AdjustForBitmapSize(wxSize& size) const;
+
     class wxButtonImageData *m_imageData;
 
     // true if the UAC symbol is shown
     bool m_authNeeded;
 
 private:
-    DECLARE_DYNAMIC_CLASS_NO_COPY(wxButton)
+    wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxButton);
 };
 
 #endif // _WX_BUTTON_H_