]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/bmpbuttn.h
Fix for link error
[wxWidgets.git] / include / wx / cocoa / bmpbuttn.h
index 1c52c5debe4030eccfc38476efdbb2326a65ba43..7df20950eae85a5467f9da88e9d9b669043616e7 100644 (file)
@@ -54,6 +54,9 @@ protected:
 // Implementation
 // ------------------------------------------------------------------------
 public:
+    // The wxButton::DoGetBestSize is not correct for bitmap buttons
+    wxSize DoGetBestSize() const
+    {   return wxButtonBase::DoGetBestSize(); }
 };
 
 #endif // __WX_COCOA_BMPBUTTN_H__