]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/pnghand.cpp
Rotated text patch from Hans-Joachim Baader (with some corrections)
[wxWidgets.git] / src / os2 / pnghand.cpp
index c5c3bad288bfc7a8b0a4a6d4629d47fa507467cc..10f0c013aa6fa138825bd8212c40a01eb2c570a2 100644 (file)
 #   include <fstream>
 #endif
 
-#define INCL_DOS
-#define INCL_PM
-#define INCL_GPI
-#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" {
@@ -56,8 +56,7 @@ extern "C" void png_write_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");