X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..e1efca652844273c3e8d32c7e5f442b87e455ca7:/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;