]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlcmn.cpp
supporting promised file urls for transfer, see #14281
[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