From: Robin Dunn Date: Tue, 14 Jun 2011 22:19:09 +0000 (+0000) Subject: wxButtonBase::GetDefaultSize is declared but not implemented in the wxOSX-cocoa port... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/888cd6834719021c4beddb57b254adee0424dc30 wxButtonBase::GetDefaultSize is declared but not implemented in the wxOSX-cocoa port. Add an implementation that uses wxAnyButton::GetDefaultSize. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/button_osx.cpp b/src/osx/button_osx.cpp index 0a90b0c0b4..6984a9af08 100644 --- a/src/osx/button_osx.cpp +++ b/src/osx/button_osx.cpp @@ -131,6 +131,12 @@ bool wxButton::OSXHandleClicked( double WXUNUSED(timestampsec) ) return true; } +/* static */ +wxSize wxButtonBase::GetDefaultSize() +{ + return wxAnyButton::GetDefaultSize(); +} + //------------------------------------------------------- // wxDisclosureTriangle //-------------------------------------------------------