fix 10.2 shared builds from crashing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2005-04-17 18:39:07 +00:00
parent ed31dd079a
commit f54043c214
2 changed files with 6 additions and 0 deletions

View File

@@ -269,6 +269,9 @@ wxMessageOutput *wxAppConsole::CreateMessageOutput()
void wxAppConsole::ProcessPendingEvents()
{
if ( !wxPendingEventsLocker )
return;
// ensure that we're the only thread to modify the pending events list
wxENTER_CRIT_SECT( *wxPendingEventsLocker );