* Changed "wxPendingEvents" to pointers (tested on GTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -80,8 +80,8 @@
|
||||
|
||||
#if wxUSE_THREADS
|
||||
/* To put pending event handlers */
|
||||
extern wxList wxPendingEvents;
|
||||
extern wxCriticalSection wxPendingEventsLocker;
|
||||
extern wxList *wxPendingEvents;
|
||||
extern wxCriticalSection *wxPendingEventsLocker;
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -342,9 +342,9 @@ bool wxEvtHandler::ProcessThreadEvent(wxEvent& event)
|
||||
|
||||
m_pendingEvents->Append(event_main);
|
||||
|
||||
wxPendingEventsLocker.Enter();
|
||||
wxPendingEvents.Append(this);
|
||||
wxPendingEventsLocker.Leave();
|
||||
wxPendingEventsLocker->Enter();
|
||||
wxPendingEvents->Append(this);
|
||||
wxPendingEventsLocker->Leave();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user