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:
parent
af0531a5a8
commit
d6a7c33aea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user