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 )
return TRUE;
}
-#include <wx/msw/pnghand.h>
+#include "wx/msw/pnghand.h"
IMPLEMENT_DYNAMIC_CLASS(wxPNGFileHandler, wxBitmapHandler)