Motif compilation fixes (now ok)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -49,10 +49,11 @@
|
||||
|
||||
extern char *wxBuffer;
|
||||
extern wxList wxPendingDelete;
|
||||
|
||||
#if wxUSE_THREADS
|
||||
extern wxList wxPendingEvents;
|
||||
extern wxList wxPendingEventsLocker;
|
||||
#endif
|
||||
extern wxCriticalSection wxPendingEventsLocker;
|
||||
#endif // wxUSE_THREADS
|
||||
|
||||
wxApp *wxTheApp = NULL;
|
||||
|
||||
@@ -494,7 +495,7 @@ void wxApp::DeletePendingObjects()
|
||||
|
||||
#if wxUSE_THREADS
|
||||
void wxApp::ProcessPendingEvents()
|
||||
|
||||
{
|
||||
wxNode *node = wxPendingEvents.First();
|
||||
wxCriticalSectionLocker locker(wxPendingEventsLocker);
|
||||
|
||||
@@ -507,8 +508,8 @@ void wxApp::ProcessPendingEvents()
|
||||
delete node;
|
||||
node = wxPendingEvents.First();
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
#endif // wxUSE_THREADS
|
||||
|
||||
wxLog* wxApp::CreateLogTarget()
|
||||
{
|
||||
|
Reference in New Issue
Block a user