diff --git a/src/msw/checkbox.cpp b/src/msw/checkbox.cpp index a92fc1b2d6..129a97eec0 100644 --- a/src/msw/checkbox.cpp +++ b/src/msw/checkbox.cpp @@ -151,12 +151,12 @@ wxSize wxCheckBox::DoGetBestSize() const { int wCheckbox, hCheckbox; - wxString str = wxGetWindowText(GetHWND()) + " "; + wxString str = wxGetWindowText(GetHWND()); if ( !str.IsEmpty() ) { GetTextExtent(str, &wCheckbox, &hCheckbox); - wCheckbox += CHECK_SIZE; + wCheckbox += CHECK_SIZE + GetCharWidth(); if ( hCheckbox < CHECK_SIZE ) hCheckbox = CHECK_SIZE;