]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagxpm.h
Fix compilation in !wxUSE_LOG_DEBUG && !HAVE_VARIADIC_MACROS case.
[wxWidgets.git] / include / wx / imagxpm.h
index f9af1ba2252acdb4c3aad08bfc134a1d8f02012e..46903ea92127554e59702c927ac07ebbb9cb1340 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        imaggif.h
+// Name:        wx/imagxpm.h
 // Purpose:     wxImage XPM handler
 // Author:      Vaclav Slavik
 // RCS-ID:      $Id$
@@ -12,6 +12,7 @@
 
 #include "wx/image.h"
 
+#if wxUSE_XPM
 
 //-----------------------------------------------------------------------------
 // wxXPMHandler
@@ -39,7 +40,6 @@ private:
     DECLARE_DYNAMIC_CLASS(wxXPMHandler)
 };
 
+#endif // wxUSE_XPM
 
-#endif
-  // _WX_IMAGXPM_H_
-
+#endif // _WX_IMAGXPM_H_