X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51abe921b849be69f02c174365c9a7bc8b46bd08..1c83cdc9205a794ff86be710bd8ab65951990a67:/src/mac/carbon/button.cpp?ds=inline diff --git a/src/mac/carbon/button.cpp b/src/mac/carbon/button.cpp index 826a7756d8..c2fad06673 100644 --- a/src/mac/carbon/button.cpp +++ b/src/mac/carbon/button.cpp @@ -74,6 +74,14 @@ wxSize wxButton::DoGetBestSize() return wxSize(wBtn, hBtn); } +wxSize wxButton::GetDefaultSize() +{ + int wBtn = 15 * 8 + 12 + 2 * 2; + int hBtn = 13 + 2 * 2; + + return wxSize(wBtn, hBtn); +} + void wxButton::Command (wxCommandEvent & event) { ProcessCommand (event);