]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlcmn.cpp
Support float, double and file name values in wxGenericValidator.
[wxWidgets.git] / src / common / ctrlcmn.cpp
index 82bcefd81429c2029735b402303bee911c6d6cc6..1382c3102ca662b6c2d79ca5177dbd791cc11af4 100644 (file)
@@ -588,7 +588,7 @@ wxSize wxStaticBitmapBase::DoGetBestSize() const
 {
     wxSize best;
     wxBitmap bmp = GetBitmap();
-    if ( bmp.Ok() )
+    if ( bmp.IsOk() )
         best = wxSize(bmp.GetWidth(), bmp.GetHeight());
     else
         // this is completely arbitrary