]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/pnghand.cpp
String changes for translations,
[wxWidgets.git] / src / msw / pnghand.cpp
index 9e1d34945c9943d27a6cd08711fc49bb3d04939f..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 )
@@ -765,7 +766,7 @@ bool wxPNGReader::SaveXPM(wxChar *filename, wxChar *name)
     return TRUE;
 }
 
-#include <wx/msw/pnghand.h>
+#include "wx/msw/pnghand.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxPNGFileHandler, wxBitmapHandler)