]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dib.cpp
*** empty log message ***
[wxWidgets.git] / src / msw / dib.cpp
index 3bf8fe09bc61a063a844927afe156fcb66dc5717..2bc530afeb94a35a662617f1134c3b693eff0165 100644 (file)
@@ -731,7 +731,9 @@ bool wxLoadIntoBitmap(wxChar *filename, wxBitmap *bitmap, wxPalette **pal)
     bitmap->SetWidth(bm.bmWidth);
     bitmap->SetHeight(bm.bmHeight);
     bitmap->SetDepth(bm.bmPlanes * bm.bmBitsPixel);
+#if WXWIN_COMPATIBILITY_2
     bitmap->SetOk(TRUE);
+#endif // WXWIN_COMPATIBILITY_2
     return TRUE;
   }
   else return FALSE;