From: Julian Smart Date: Sun, 23 Mar 2003 20:42:04 +0000 (+0000) Subject: Removed spurious spawnbrowser.h/cpp X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/26f0e9e2e4fbba6744d41da5efde933621f3a86f Removed spurious spawnbrowser.h/cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/spawnbrowser.h b/include/wx/spawnbrowser.h deleted file mode 100644 index 2805d2ba6e..0000000000 --- a/include/wx/spawnbrowser.h +++ /dev/null @@ -1,28 +0,0 @@ -/////////////////////////////////////////////////////////////////////////////// -// Name: wx/spawnbrowser.h -// Purpose: wxSpawnBrowser can be used to spawn a browser -// Author: Jason Quijano -// Modified by: -// Created: 13.06.01 -// RCS-ID: -// Copyright: (c) 2001 Jason Quijano -// Licence: wxWindows licence -/////////////////////////////////////////////////////////////////////////////// - -#ifndef _WX_SPAWNBROWSER_H_ -#define _WX_SPAWNBROWSER_H_ - -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "spawnbrowser.h" -#endif - -#if wxUSE_SPAWNBROWSER - -// ---------------------------------------------------------------------------- -// wxSpawnBrowser -// ---------------------------------------------------------------------------- - -WXDLLEXPORT bool wxSpawnBrowser(wxWindow *parent, wxString href); -#endif // wxUSE_SPAWNBROWSER - -#endif // _WX_SPAWNBROWSER_H_ diff --git a/src/msw/spawnbrowser.cpp b/src/msw/spawnbrowser.cpp deleted file mode 100644 index 04862492e2..0000000000 --- a/src/msw/spawnbrowser.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/////////////////////////////////////////////////////////////////////////////// -// Name: msw/spawnbrowser.cpp -// Purpose: implements wxSpawnBrowser misc function -// Author: Jason Quijano -// Modified by: -// Created: 13.06.01 -// RCS-ID: -// Copyright: (c) 2001 Jason Quijano -// License: wxWindows licence -/////////////////////////////////////////////////////////////////////////////// - -// ============================================================================ -// declarations -// ============================================================================ - -// ---------------------------------------------------------------------------- -// headers -// ---------------------------------------------------------------------------- - -#ifdef __GNUG__ - #pragma implementation "spawnbrowser.h" -#endif - -// For compilers that support precompilation, includes "wx.h". -#include "wx/wxprec.h" - -#ifdef __BORLANDC__ - #pragma hdrstop -#endif - -#if wxUSE_SPAWNBROWSER - -#ifndef WX_PRECOMP - #include "wx/string.h" -#endif //WX_PRECOMP - -#include "wx/spawnbrowser.h" - -// ---------------------------------------------------------------------------- -// wxSpawnBrowser: -// ---------------------------------------------------------------------------- - -bool wxSpawnBrowser (wxWindow *parent, wxString href) -{ - return ShellExecute(parent ? (HWND)parent->GetHWND() : NULL,NULL,href.c_str(),NULL,"",SW_SHOWNORMAL); -} - -#endif // wxUSE_SPAWNBROWSER