]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagall.cpp
fix for always terminating intermediate UniChar String for 4 bytes wchar_t
[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
 }