X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7214297d16aed4c160c1cbef6b19f153ca065ab7..b66e7a06b559e868b355b099b53aac52f04b95bb:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index a1123fdf19..07c9462cff 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -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; }