X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..d5cc191c9cd48a915ce0dfc6e49511b2fddb6746:/samples/widgets/statbmp.cpp diff --git a/samples/widgets/statbmp.cpp b/samples/widgets/statbmp.cpp index c5f1a1f09b..6449d23ef9 100644 --- a/samples/widgets/statbmp.cpp +++ b/samples/widgets/statbmp.cpp @@ -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;