git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23324
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// wxSetKeyboardHook(TRUE);
// wxSetKeyboardHook(TRUE);
- RegisterWindowClasses(vHab);
+ RegisterWindowClasses(vHabmain);
return TRUE;
} // end of wxApp::Initialize
return TRUE;
} // end of wxApp::Initialize
if (wxWinHandleList)
delete wxWinHandleList;
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);
// Delete Message queue
if (wxTheApp->m_hMq)
::WinDestroyMsgQueue(wxTheApp->m_hMq);
- m_topWindow = NULL;
- wxTheApp = this;
-
argc = 0;
argv = NULL;
m_nPrintMode = wxPRINT_WINDOWS;
argc = 0;
argv = NULL;
m_nPrintMode = wxPRINT_WINDOWS;
- wxAppBase::OnIdle(event);
+ wxAppBase::OnIdle(rEvent);
#if wxUSE_DC_CACHEING
// automated DC cache management: clear the cached DCs and bitmap
#if wxUSE_DC_CACHEING
// automated DC cache management: clear the cached DCs and bitmap