]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagxpm.h
avoiding crashes on osx during app shutdown
[wxWidgets.git] / include / wx / imagxpm.h
index f9af1ba2252acdb4c3aad08bfc134a1d8f02012e..77181f8f6c771c1c6eb1a71efc6363fb75c0bca5 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "wx/image.h"
 
+#if wxUSE_XPM
 
 //-----------------------------------------------------------------------------
 // wxXPMHandler
@@ -39,6 +40,7 @@ private:
     DECLARE_DYNAMIC_CLASS(wxXPMHandler)
 };
 
+#endif // wxUSE_XPM
 
 #endif
   // _WX_IMAGXPM_H_