]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/bmpbuttn.h
Bump subrelease number
[wxWidgets.git] / include / wx / cocoa / bmpbuttn.h
index d2d003c133cb36a4b5de4f714f390f5e9f19b7bb..b26b75a15e08ba18c6c43fa99417149e88d2d6f7 100644 (file)
@@ -4,9 +4,9 @@
 // Author:      David Elliott
 // Modified by:
 // Created:     2003/03/16
 // Author:      David Elliott
 // Modified by:
 // Created:     2003/03/16
-// RCS-ID:      $Id:
+// RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
 // Copyright:   (c) 2003 David Elliott
-// Licence:    wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_BMPBUTTN_H__
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_BMPBUTTN_H__
@@ -54,6 +54,9 @@ protected:
 // Implementation
 // ------------------------------------------------------------------------
 public:
 // Implementation
 // ------------------------------------------------------------------------
 public:
+    // The wxButton::DoGetBestSize is not correct for bitmap buttons
+    wxSize DoGetBestSize() const
+    {   return wxButtonBase::DoGetBestSize(); }
 };
 
 #endif // __WX_COCOA_BMPBUTTN_H__
 };
 
 #endif // __WX_COCOA_BMPBUTTN_H__