]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagall.cpp
Also allow key events for Shift-Tab when wxWANTS_CHARS style is used
[wxWidgets.git] / src / common / imagall.cpp
index aaf6d459c78a3868eef60279aba8a9312a0d90a3..42f2e50f95743b9354d910a6e021d00d2cec70a1 100644 (file)
@@ -60,11 +60,7 @@ void wxInitAllImageHandlers()
   wxImage::AddHandler( new wxCURHandler );
   wxImage::AddHandler( new wxANIHandler );
 #endif
-#if wxUSE_XPM && (defined(__WXGTK__) || defined(__WXMOTIF__))
-  // NB: keep this #ifdef in sync with the one in image.cpp
-  //     (wxImage::InitStandardHandlers) - they must complement each other
-  //     so that there's always exactly one XPM handler added after calling
-  //     wxInitAllImageHandlers()
+#if wxUSE_XPM
   wxImage::AddHandler( new wxXPMHandler );
 #endif
 }