X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85d98dfe881b75bd9a4653ab21656bd4149dc507..3fd2d0c4b572b153c75735aef633d0dd413eb7f6:/src/x11/bitmap.cpp diff --git a/src/x11/bitmap.cpp b/src/x11/bitmap.cpp index ec233b0c93..ea19aee7a3 100644 --- a/src/x11/bitmap.cpp +++ b/src/x11/bitmap.cpp @@ -1386,10 +1386,10 @@ bool wxXPMFileHandler::LoadFile(wxBitmap *bitmap, const wxString& name, #elif wxUSE_STREAMS wxXPMDecoder decoder; wxFileInputStream stream(name); - if (stream.Ok()) + if (stream.IsOk()) { wxImage image(decoder.ReadFile(stream)); - return image.Ok() && bitmap->CreateFromImage(image); + return image.IsOk() && bitmap->CreateFromImage(image); } return false;