X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4ad24c9d3d595fa1adb4540fb684da1ca701c67..a200c35efa060107d8243458fca160eb237b9c23:/src/common/mimecmn.cpp diff --git a/src/common/mimecmn.cpp b/src/common/mimecmn.cpp index 7da7bd3f64..8a16ced893 100644 --- a/src/common/mimecmn.cpp +++ b/src/common/mimecmn.cpp @@ -24,15 +24,18 @@ // 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 +// this one is needed for MSVC5 +#include "wx/module.h" #ifndef WX_PRECOMP #include "wx/string.h" @@ -630,3 +633,5 @@ public: }; IMPLEMENT_DYNAMIC_CLASS(wxMimeTypeCmnModule, wxModule) + +#endif // wxUSE_MIMETYPE