X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3452f00b5603b1aa1ad7e79cf9132ca76929b55f..89c831801467203372b6964a785823f19e8063dd:/src/common/utilscmn.cpp?ds=sidebyside diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 75108a3c9d..b048ccd3c6 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -98,11 +98,6 @@ // common data // ---------------------------------------------------------------------------- -#if WXWIN_COMPATIBILITY_2_2 - const wxChar *wxInternalErrorStr = wxT("wxWidgets Internal Error"); - const wxChar *wxFatalErrorStr = wxT("wxWidgets Fatal Error"); -#endif // WXWIN_COMPATIBILITY_2_2 - // ============================================================================ // implementation // ============================================================================ @@ -531,6 +526,8 @@ bool wxLaunchDefaultBrowser(const wxString& urlOrig, int flags) url.Prepend(wxT("http://")); #if defined(__WXMSW__) + +#if wxUSE_IPC if ( flags & wxBROWSER_NEW_WINDOW ) { // ShellExecuteEx() opens the URL in an existing window by default so @@ -588,6 +585,7 @@ bool wxLaunchDefaultBrowser(const wxString& urlOrig, int flags) } } } +#endif // wxUSE_IPC WinStruct sei; sei.lpFile = url.c_str();