mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Upgrade WX to r74856, mainly to support @2x.
This commit is contained in:
9
Externals/wxWidgets3/include/wx/hyperlink.h
vendored
9
Externals/wxWidgets3/include/wx/hyperlink.h
vendored
@ -4,7 +4,6 @@
|
||||
// Author: David Norris <danorris@gmail.com>, Otto Wyss
|
||||
// Modified by: Ryan Norton, Francesco Montorsi
|
||||
// Created: 04/02/2005
|
||||
// RCS-ID: $Id: hyperlink.h 66696 2011-01-16 23:24:21Z VZ $
|
||||
// Copyright: (c) 2005 David Norris
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
@ -88,7 +87,7 @@ public:
|
||||
|
||||
class WXDLLIMPEXP_FWD_ADV wxHyperlinkEvent;
|
||||
|
||||
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_ADV, wxEVT_COMMAND_HYPERLINK, wxHyperlinkEvent );
|
||||
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_ADV, wxEVT_HYPERLINK, wxHyperlinkEvent );
|
||||
|
||||
//
|
||||
// An event fired when the user clicks on the label in a hyperlink control.
|
||||
@ -99,7 +98,7 @@ class WXDLLIMPEXP_ADV wxHyperlinkEvent : public wxCommandEvent
|
||||
public:
|
||||
wxHyperlinkEvent() {}
|
||||
wxHyperlinkEvent(wxObject *generator, wxWindowID id, const wxString& url)
|
||||
: wxCommandEvent(wxEVT_COMMAND_HYPERLINK, id),
|
||||
: wxCommandEvent(wxEVT_HYPERLINK, id),
|
||||
m_url(url)
|
||||
{
|
||||
SetEventObject(generator);
|
||||
@ -132,7 +131,7 @@ typedef void (wxEvtHandler::*wxHyperlinkEventFunction)(wxHyperlinkEvent&);
|
||||
wxEVENT_HANDLER_CAST(wxHyperlinkEventFunction, func)
|
||||
|
||||
#define EVT_HYPERLINK(id, fn) \
|
||||
wx__DECLARE_EVT1(wxEVT_COMMAND_HYPERLINK, id, wxHyperlinkEventHandler(fn))
|
||||
wx__DECLARE_EVT1(wxEVT_HYPERLINK, id, wxHyperlinkEventHandler(fn))
|
||||
|
||||
|
||||
#if defined(__WXGTK210__) && !defined(__WXUNIVERSAL__)
|
||||
@ -166,6 +165,8 @@ typedef void (wxEvtHandler::*wxHyperlinkEventFunction)(wxHyperlinkEvent&);
|
||||
};
|
||||
#endif
|
||||
|
||||
// old wxEVT_COMMAND_* constants
|
||||
#define wxEVT_COMMAND_HYPERLINK wxEVT_HYPERLINK
|
||||
|
||||
#endif // wxUSE_HYPERLINKCTRL
|
||||
|
||||
|
Reference in New Issue
Block a user