]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/anybutton.cpp
Fix wxString unit test when not using UTF-8.
[wxWidgets.git] / src / msw / anybutton.cpp
index 6251a69c5e7dd079470f61dc15f231f6783dd9c0..03a9d7039fd83876e1a036363b6f0e4c4195e18a 100644 (file)
@@ -395,7 +395,7 @@ wxSize wxMSWButton::GetFittingSize(wxWindow *win,
     {
         // We still need some margin or the text would be overwritten, just
         // make it as small as possible.
-        sizeBtn.x += (3*win->GetCharWidth())/2;
+        sizeBtn.x += (3*win->GetCharWidth());
     }
     else
     {