]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/statbmp.cpp
Fix wrong configure test for abi::__forced_unwind in previous commit.
[wxWidgets.git] / samples / widgets / statbmp.cpp
index c5f1a1f09b0cb705f1c86a0fb4e4ee1a72799d62..6449d23ef966e0aa4558a6f138804f519fd31bd5 100644 (file)
@@ -122,7 +122,7 @@ void StatBmpWidgetsPage::RecreateWidget()
         return;
 
     wxImage image(filepath);
-    if (! image.Ok() )
+    if (! image.IsOk() )
     {
         wxLogMessage("Reading image from file '%s' failed.", filepath.c_str());
         return;