X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..f187448d851291f80c1c9d972471949e788ddcf9:/src/mac/button.cpp diff --git a/src/mac/button.cpp b/src/mac/button.cpp index 849aeee0e3..4635492a17 100644 --- a/src/mac/button.cpp +++ b/src/mac/button.cpp @@ -64,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;