X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d37bb826ef4aeb1ecb59c37c5747a10e73340ce7..40452e05839d958474a8be831632975035af3384:/src/os2/button.cpp?ds=sidebyside 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)) {