diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index bd2714f1eb..b98e0b2d5c 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -629,6 +629,7 @@ bool wxLaunchDefaultBrowser(const wxString& url) } #else +#if wxUSE_MIMETYPE // Non-windows way wxFileType *ft = wxTheMimeTypesManager->GetFileTypeFromExtension (_T("html")); @@ -658,6 +659,10 @@ bool wxLaunchDefaultBrowser(const wxString& url) } else return false; +#else + return false; +#endif //!wxUSE_MIMETYPE + #endif //success - hopefully