]> git.saurik.com Git - wxWidgets.git/blob - src/msw/spawnbrowser.cpp
added and documented wxTE_NOHIDESEL
[wxWidgets.git] / src / msw / spawnbrowser.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: msw/spawnbrowser.cpp
3 // Purpose: implements wxSpawnBrowser misc function
4 // Author: Jason Quijano
5 // Modified by:
6 // Created: 13.06.01
7 // RCS-ID:
8 // Copyright: (c) 2001 Jason Quijano <jasonq@scitechsoft.com>
9 // License: wxWindows license
10 ///////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 #ifdef __GNUG__
21 #pragma implementation "spawnbrowser.h"
22 #endif
23
24 // For compilers that support precompilation, includes "wx.h".
25 #include "wx/wxprec.h"
26
27 #ifdef __BORLANDC__
28 #pragma hdrstop
29 #endif
30
31 #if wxUSE_SPAWNBROWSER
32
33 #ifndef WX_PRECOMP
34 #include "wx/string.h"
35 #endif //WX_PRECOMP
36
37 #include "wx/spawnbrowser.h"
38
39 // ----------------------------------------------------------------------------
40 // wxSpawnBrowser:
41 // ----------------------------------------------------------------------------
42
43 bool wxSpawnBrowser (wxWindow *parent, wxString href)
44 {
45 return ShellExecute(parent ? (HWND)parent->GetHWND() : NULL,NULL,href.c_str(),NULL,"",SW_SHOWNORMAL);
46 }
47
48 #endif // wxUSE_SPAWNBROWSER