]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagxpm.h
fixing warning and compile error against 10.4
[wxWidgets.git] / include / wx / imagxpm.h
index e47c873e6329771108676c9c68340a57079c84c2..46903ea92127554e59702c927ac07ebbb9cb1340 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        imaggif.h
+// Name:        wx/imagxpm.h
 // Purpose:     wxImage XPM handler
 // Author:      Vaclav Slavik
 // RCS-ID:      $Id$
 
 #include "wx/image.h"
 
+#if wxUSE_XPM
 
 //-----------------------------------------------------------------------------
 // wxXPMHandler
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxXPMHandler : public wxImageHandler
+class WXDLLIMPEXP_CORE wxXPMHandler : public wxImageHandler
 {
 public:
     inline wxXPMHandler()
@@ -39,7 +40,6 @@ private:
     DECLARE_DYNAMIC_CLASS(wxXPMHandler)
 };
 
+#endif // wxUSE_XPM
 
-#endif
-  // _WX_IMAGXPM_H_
-
+#endif // _WX_IMAGXPM_H_