// wxSetKeyboardHook(TRUE);
- RegisterWindowClasses(vHab);
+ RegisterWindowClasses(vHabmain);
return TRUE;
} // end of wxApp::Initialize
if (wxWinHandleList)
delete wxWinHandleList;
- delete wxPendingEvents;
-#if wxUSE_THREADS
- delete wxPendingEventsLocker;
- // If we don't do the following, we get an apparent memory leak.
- ((wxEvtHandler&) wxDefaultValidator).ClearEventLocker();
-#endif
-
// Delete Message queue
if (wxTheApp->m_hMq)
::WinDestroyMsgQueue(wxTheApp->m_hMq);
wxApp::wxApp()
{
- m_topWindow = NULL;
- wxTheApp = this;
-
argc = 0;
argv = NULL;
m_nPrintMode = wxPRINT_WINDOWS;
gbInOnIdle = TRUE;
- wxAppBase::OnIdle(event);
+ wxAppBase::OnIdle(rEvent);
#if wxUSE_DC_CACHEING
// automated DC cache management: clear the cached DCs and bitmap