X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..8290d43d0d43369d007f1c47abf98a45da461a30:/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;