wxLaunchDefaultBrowser() now supports wxBROWSER_NEW_WINDOW flag (and it actually works correctly, too)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-09-24 23:56:34 +00:00
parent 7999124f55
commit 42d0df0030
5 changed files with 92 additions and 11 deletions

View File

@@ -3048,16 +3048,19 @@ frame or dialog containing it, or {\tt NULL}.
\membersection{::wxLaunchDefaultBrowser}\label{wxlaunchdefaultbrowser}
\func{bool}{wxLaunchDefaultBrowser}{\param{const wxString\& }{sUrl}}
\func{bool}{wxLaunchDefaultBrowser}{\param{const wxString\& }{url}, \param{int }{flags = $0$}}
Launches the user's default browser and tells it to open the location at {\tt sUrl}.
Open the \arg{url} in user's default browser. If \arg{flags} parameter contains
\texttt{wxBROWSER\_NEW\_WINDOW} flag, a new window is opened for the URL
(currently this is only supported under Windows).
Returns true if the application was successfully launched.
Returns \true if the application was successfully launched.
\wxheading{Include files}
<wx/utils.h>
\membersection{::wxLoadUserResource}\label{wxloaduserresource}
\func{wxString}{wxLoadUserResource}{\param{const wxString\& }{resourceName}, \param{const wxString\& }{resourceType=``TEXT"}}