]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/gdiimage.cpp
wxRegion fixes (off by one)
[wxWidgets.git] / src / os2 / gdiimage.cpp
index 8c1fe4a289b3ef9205ee4ac1b1aa735c5fb048e6..dcb5e1d4df2aa8fa230664459a7ae8279cfe1c99 100644 (file)
@@ -346,8 +346,10 @@ 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);