]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gdiimage.cpp
warning fix - only use the function in debug mode
[wxWidgets.git] / src / msw / gdiimage.cpp
index 36c3623a9fe91739ae20657beaecc019ee1e4849..cba81891160a319f02caeacba742e46ec378df8f 100644 (file)
@@ -378,9 +378,9 @@ bool wxBMPFileHandler::LoadFile(wxBitmap *bitmap,
   WXHBITMAP hBitmap = (WXHBITMAP)wxLoadBMP(name);
   if(hBitmap) {
       bitmap->SetHBITMAP(hBitmap);
   WXHBITMAP hBitmap = (WXHBITMAP)wxLoadBMP(name);
   if(hBitmap) {
       bitmap->SetHBITMAP(hBitmap);
-      return TRUE;
+      return true;
   }
   }
-    return FALSE;
+    return false;
 #endif
 }
 
 #endif
 }
 
@@ -396,7 +396,7 @@ bool wxBMPFileHandler::SaveFile(wxBitmap *bitmap,
 
     return dib.Save(name);
 #else
 
     return dib.Save(name);
 #else
-    return FALSE;
+    return false;
 #endif
 }
 
 #endif
 }