* 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:
Guilhem Lavaux
1999-04-03 09:24:52 +00:00
parent 103aec296a
commit 4d3a259aff
9 changed files with 88 additions and 33 deletions

View File

@@ -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;
}