X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d37bb826ef4aeb1ecb59c37c5747a10e73340ce7..4395fb21f651f8a08905c34507692ca7f902dfe5:/src/os2/button.cpp diff --git a/src/os2/button.cpp b/src/os2/button.cpp index 7e0a49ebf0..cb6894c3e6 100644 --- a/src/os2/button.cpp +++ b/src/os2/button.cpp @@ -162,7 +162,7 @@ wxSize wxButton::DoGetBestSize() const // // Need a little extra to make it look right // - nHeightButton += nHeightChar/1.5; + nHeightButton += (int)(nHeightChar/1.5); if (!HasFlag(wxBU_EXACTFIT)) {