]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagxpm.cpp
Remove temporary files created by wxFileName unit test case.
[wxWidgets.git] / src / common / imagxpm.cpp
index 2850e770e61d616ea871e434897134934b43cddd..de2530e84c73960d194a3f114648feabc1efc349 100644 (file)
@@ -97,7 +97,7 @@ bool wxXPMHandler::LoadFile(wxImage *image,
     wxXPMDecoder decoder;
 
     wxImage img = decoder.ReadFile(stream);
-    if ( !img.Ok() )
+    if ( !img.IsOk() )
         return false;
     *image = img;
     return true;