// wxWin macros
// ----------------------------------------------------------------------------
-#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxEvtHandler, wxObject)
IMPLEMENT_ABSTRACT_CLASS(wxEvent, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxIdleEvent, wxEvent)
const wxEventTableEntry wxEvtHandler::sm_eventTableEntries[] =
{ { 0, 0, 0, (wxObjectEventFunction) NULL, (wxObject*) NULL } };
-#endif // !USE_SHARED_LIBRARY
// ----------------------------------------------------------------------------
// global variables
wxPendingEvents = new wxList;
wxPendingEvents->Append(this);
- wxLEAVE_CRIT_SECT(*wxPendingEventsLocker);
-
// 3) Inform the system that new pending events are somwehere,
// and that these should be processed in idle time.
wxWakeUpIdle();
+
+ wxLEAVE_CRIT_SECT(*wxPendingEventsLocker);
}
void wxEvtHandler::ProcessPendingEvents()