From: Václav Slavík Date: Sat, 11 Mar 2000 19:31:03 +0000 (+0000) Subject: fixed DoGetBestSize -- it returned too small bounding box X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/86f6187197555cf9a01bb1d4d546a6baf898c28f fixed DoGetBestSize -- it returned too small bounding box git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/checkbox.cpp b/src/msw/checkbox.cpp index 04856bb161..a92fc1b2d6 100644 --- a/src/msw/checkbox.cpp +++ b/src/msw/checkbox.cpp @@ -151,7 +151,7 @@ wxSize wxCheckBox::DoGetBestSize() const { int wCheckbox, hCheckbox; - wxString str = wxGetWindowText(GetHWND()); + wxString str = wxGetWindowText(GetHWND()) + " "; if ( !str.IsEmpty() ) {