]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/mimecmn.cpp
compilation fixes - wxGTK compiles but not links
[wxWidgets.git] / src / common / mimecmn.cpp
index 7da7bd3f64c70a1563d5af5cd6c2244e796a2240..e28e6f9272385dac86bb1b0fe4ad9333501b6311 100644 (file)
 
 // for compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
-#include "wx/module.h"
 
 #ifdef __BORLANDC__
-  #pragma hdrstop
+    #pragma hdrstop
 #endif
 
+#if wxUSE_MIMETYPE
+
 #ifndef WX_PRECOMP
-  #include "wx/defs.h"
+    #include "wx/module.h"
 #endif
 
 #ifndef WX_PRECOMP
@@ -630,3 +631,5 @@ public:
 };
 
 IMPLEMENT_DYNAMIC_CLASS(wxMimeTypeCmnModule, wxModule)
+
+#endif // wxUSE_MIMETYPE