]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/gdiimage.cpp
fixed compilation problem with old gcc releases
[wxWidgets.git] / src / os2 / gdiimage.cpp
index dcb5e1d4df2aa8fa230664459a7ae8279cfe1c99..33c15169e256b4c9a0eb02df153e9faea4862e89 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "wx/os2/private.h"
 #include "wx/app.h"
-#include "wx/xpmhand.h"
 #include "wx/os2/gdiimage.h"
 
 // ----------------------------------------------------------------------------
@@ -198,8 +197,8 @@ private:
 #if !USE_SHARED_LIBRARIES
     IMPLEMENT_DYNAMIC_CLASS(wxBMPFileHandler, wxBitmapHandler)
     IMPLEMENT_DYNAMIC_CLASS(wxBMPResourceHandler, wxBitmapHandler)
-    IMPLEMENT_DYNAMIC_CLASS(wxICOFileHandler, wxGDIImageHandler)
-    IMPLEMENT_DYNAMIC_CLASS(wxICOResourceHandler, wxGDIImageHandler)
+    IMPLEMENT_DYNAMIC_CLASS(wxICOFileHandler, wxObject)
+    IMPLEMENT_DYNAMIC_CLASS(wxICOResourceHandler, wxObject)
 #endif
 
 // ----------------------------------------------------------------------------
@@ -345,12 +344,6 @@ void wxGDIImage::InitStandardHandlers()
 {
     AddHandler(new wxBMPResourceHandler);
     AddHandler(new wxBMPFileHandler);
-
-#if wxUSE_XPM_IN_OS2
-    AddHandler(new wxXPMFileHandler);
-    AddHandler(new wxXPMDataHandler);
-#endif
-
     AddHandler(new wxICOResourceHandler);
     AddHandler(new wxICOFileHandler);
 }