X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4714748d81868195ef1ca840dc2ee019ccf03f5..6433f6d3165a3f8633f42c59694a9104a7b37a93:/src/os2/gdiimage.cpp diff --git a/src/os2/gdiimage.cpp b/src/os2/gdiimage.cpp index 8c1fe4a289..dcb5e1d4df 100644 --- a/src/os2/gdiimage.cpp +++ b/src/os2/gdiimage.cpp @@ -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);