]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/pnghand.cpp
bitmap and image updates
[wxWidgets.git] / src / msw / pnghand.cpp
index 833dd0a0f24196018bb2894bcd31887561f7f104..543e96f6a20de9ed9d31f0fa0d908a9e17c03e62 100644 (file)
@@ -313,8 +313,9 @@ bool wxPNGReader::InstantiateBitmap(wxBitmap *bitmap)
           bitmap->SetDepth(GetDepth());
           if ( GetDepth() > 1 && Palette )
             bitmap->SetPalette(*Palette);
+#if WXWIN_COMPATIBILITY_2
           bitmap->SetOk(TRUE);
-
+#endif // WXWIN_COMPATIBILITY_2
 
           // Make a mask if appropriate
           if ( bgindex > -1 )