mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Update wx to r75363 to address a wx bug that was breaking netplay on OS X.
This commit is contained in:
25
Externals/wxWidgets3/include/wx/event.h
vendored
25
Externals/wxWidgets3/include/wx/event.h
vendored
@ -2275,19 +2275,36 @@ private:
|
||||
class WXDLLIMPEXP_CORE wxActivateEvent : public wxEvent
|
||||
{
|
||||
public:
|
||||
wxActivateEvent(wxEventType type = wxEVT_NULL, bool active = true, int Id = 0)
|
||||
: wxEvent(Id, type)
|
||||
{ m_active = active; }
|
||||
// Type of activation. For now we can only detect if it was by mouse or by
|
||||
// some other method and even this is only available under wxMSW.
|
||||
enum Reason
|
||||
{
|
||||
Reason_Mouse,
|
||||
Reason_Unknown
|
||||
};
|
||||
|
||||
wxActivateEvent(wxEventType type = wxEVT_NULL, bool active = true,
|
||||
int Id = 0, Reason activationReason = Reason_Unknown)
|
||||
: wxEvent(Id, type),
|
||||
m_activationReason(activationReason)
|
||||
{
|
||||
m_active = active;
|
||||
}
|
||||
wxActivateEvent(const wxActivateEvent& event)
|
||||
: wxEvent(event)
|
||||
{ m_active = event.m_active; }
|
||||
{
|
||||
m_active = event.m_active;
|
||||
m_activationReason = event.m_activationReason;
|
||||
}
|
||||
|
||||
bool GetActive() const { return m_active; }
|
||||
Reason GetActivationReason() const { return m_activationReason;}
|
||||
|
||||
virtual wxEvent *Clone() const { return new wxActivateEvent(*this); }
|
||||
|
||||
private:
|
||||
bool m_active;
|
||||
Reason m_activationReason;
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxActivateEvent)
|
||||
|
Reference in New Issue
Block a user