# include <fstream>
#endif
+#define INCL_PM
+#include <os2.h>
+
#include "wx/palette.h"
#include "wx/bitmap.h"
#include "wx/utils.h"
-#define INCL_PM
-#include <os2.h>
-
#include "wx/os2/pngread.h"
extern "C" {
-#include "../png/png.h"
+#include "png.h"
}
extern "C" void png_read_init PNGARG((png_structp png_ptr));
#endif
-void
-ima_png_error(png_struct *png_ptr, char *message)
+void ima_png_error(png_struct *png_ptr, char *message)
{
// wxMessageBox(message, "PNG error");
IMPLEMENT_DYNAMIC_CLASS(wxPNGFileHandler, wxBitmapHandler)
-bool wxPNGFileHandler::LoadFile(wxBitmap *bitmap, const wxString& name, long flags,
+bool wxPNGFileHandler::LoadFile(wxBitmap *bitmap, const wxString& name, HPS hPs, long flags,
int desiredWidth, int desiredHeight)
{
wxPNGReader reader;