Fix wxCocoa's wxLaunchDefaultBrowser in the 2.8 branch.

Roughly equivalent to trunk 45892 (NOTE: CVS)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2007-08-19 19:22:09 +00:00
parent 24da507dbe
commit 79176a4aa1
4 changed files with 81 additions and 14 deletions

View File

@@ -0,0 +1,20 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/private/browserhack28.h
// Purpose: Allows GUI library to override base wxLaunchDefaultBrowser.
// Author: David Elliott
// Modified by:
// Created: 2007-08-19
// RCS-ID: $Id$
// Copyright: (c) David Elliott
// Licence: wxWidgets licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_PRIVATE_BROWSERHACK28_H_
#define _WX_PRIVATE_BROWSERHACK28_H_
typedef bool (*wxLaunchDefaultBrowserImpl_t)(const wxString& url, int flags);
// Function the GUI library can call to provide a better implementation
WXDLLIMPEXP_BASE void wxSetLaunchDefaultBrowserImpl(wxLaunchDefaultBrowserImpl_t newImpl);
#endif //ndef _WX_PRIVATE_BROWSERHACK28_H_