X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6721fc3852ff183e0a59c990cf62ae595c036d05..6443de026310552cacd68a6d0318e73d14929680:/src/common/image.cpp diff --git a/src/common/image.cpp b/src/common/image.cpp index a9b0a152e4..5086141878 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -1040,7 +1040,7 @@ wxImageHandler *wxImage::FindHandlerMime( const wxString& mimetype ) void wxImage::InitStandardHandlers() { AddHandler(new wxBMPHandler); -#if !defined(__WXGTK__) && !defined(__WXMOTIF__) +#if wxUSE_XPM && !defined(__WXGTK__) && !defined(__WXMOTIF__) AddHandler(new wxXPMHandler); #endif }