From 9731a5fe6ccb208437afb3fe6e27e32100e09d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 1 Jul 2001 15:08:46 +0000 Subject: [PATCH] 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 --- src/common/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }