]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checkbox.cpp
added test for selection events
[wxWidgets.git] / src / msw / checkbox.cpp
index 04856bb161197294cf204ab74e170724c5e0d897..a92fc1b2d6238baea46d66002a6cace8cc727731 100644 (file)
@@ -151,7 +151,7 @@ wxSize wxCheckBox::DoGetBestSize() const
 {
     int wCheckbox, hCheckbox;
 
-    wxString str = wxGetWindowText(GetHWND());
+    wxString str = wxGetWindowText(GetHWND()) + " ";
 
     if ( !str.IsEmpty() )
     {