wxUSE_MIMTYPE gaurd

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton 2005-04-21 20:30:03 +00:00
parent af0531a5a8
commit d6a7c33aea

View File

@ -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