]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/bitmap.cpp
testing header replace
[wxWidgets.git] / src / x11 / bitmap.cpp
index ec233b0c9314283795696f520a659b37d066bffb..ea19aee7a35fba3f25fe80d08fb2557728b2eebb 100644 (file)
@@ -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;