X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d37bb826ef4aeb1ecb59c37c5747a10e73340ce7..16640ba22621cb6d0ec7053c95357e05fd280d4b:/src/os2/button.cpp diff --git a/src/os2/button.cpp b/src/os2/button.cpp index 7e0a49ebf0..5c4e70d5a0 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)) { @@ -233,7 +233,7 @@ void wxButton::SetDefault() wxCHECK_RET( pParent, _T("button without parent?") ); // - // Set this one as the default button both for wxWindows and Windows + // Set this one as the default button both for wxWidgets and Windows // wxWindow* pWinOldDefault = pParent->SetDefaultItem(this);