Removed spurious spawnbrowser.h/cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 <jasonq@scitechsoft.com>
|
||||
// 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_
|
@@ -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 <jasonq@scitechsoft.com>
|
||||
// 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
|
Reference in New Issue
Block a user