X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c74e7fe1de14f32dcd6f3c9cdd727de540bbd0e..f187448d851291f80c1c9d972471949e788ddcf9:/src/mac/button.cpp diff --git a/src/mac/button.cpp b/src/mac/button.cpp index c2fad06673..4635492a17 100644 --- a/src/mac/button.cpp +++ b/src/mac/button.cpp @@ -15,9 +15,7 @@ #include "wx/button.h" -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl) -#endif #include // Button @@ -66,7 +64,7 @@ void wxButton::SetDefault() } } -wxSize wxButton::DoGetBestSize() +wxSize wxButton::DoGetBestSize() const { int wBtn = m_label.Length() * 8 + 12 + 2 * m_macHorizontalBorder; int hBtn = 13 + 2 * m_macVerticalBorder;