X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4714748d81868195ef1ca840dc2ee019ccf03f5..a385b5dfa89e3ff69e4317531b06086c4e426e2b:/src/os2/gdiimage.cpp?ds=inline 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);