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:
20
include/wx/private/browserhack28.h
Normal file
20
include/wx/private/browserhack28.h
Normal 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_
|
Reference in New Issue
Block a user