X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..a552d1201fd615730d7c0662a65df306fe18c274:/include/wx/cocoa/bmpbuttn.h diff --git a/include/wx/cocoa/bmpbuttn.h b/include/wx/cocoa/bmpbuttn.h index 1c52c5debe..7df20950ea 100644 --- a/include/wx/cocoa/bmpbuttn.h +++ b/include/wx/cocoa/bmpbuttn.h @@ -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__