added #ifdef wxUSE_XPM around XPM handler initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1040,7 +1040,7 @@ wxImageHandler *wxImage::FindHandlerMime( const wxString& mimetype )
|
|||||||
void wxImage::InitStandardHandlers()
|
void wxImage::InitStandardHandlers()
|
||||||
{
|
{
|
||||||
AddHandler(new wxBMPHandler);
|
AddHandler(new wxBMPHandler);
|
||||||
#if !defined(__WXGTK__) && !defined(__WXMOTIF__)
|
#if wxUSE_XPM && !defined(__WXGTK__) && !defined(__WXMOTIF__)
|
||||||
AddHandler(new wxXPMHandler);
|
AddHandler(new wxXPMHandler);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user