X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4714748d81868195ef1ca840dc2ee019ccf03f5..08c4a8a9dd5d6f50a99aeca0999c7ae682ae76e5:/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);