]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/button.cpp
(blind) fix for gcc 3.4 warning for an always true comparison in an assert
[wxWidgets.git] / src / os2 / button.cpp
index 7e0a49ebf05af21720e76140344908e14cbac59a..cb6894c3e6aa72da55f7444dc13db877bd0214cb 100644 (file)
@@ -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))
     {