// Some people may wish to use this, but
// probably it shouldn't be here by default.
-#ifdef __WXDEBUG__
// wxRedirectIOToConsole();
-#endif
wxWinHandleHash = new wxWinHashTable(wxKEY_INTEGER, 100);
//
void wxApp::CleanUp()
{
- delete[] wxBuffer;
- wxBuffer = NULL;
+ wxDELETEA(wxBuffer);
//
// PM-SPECIFIC CLEANUP
// TODO: ::DeleteObject( wxDisableButtonBrush );
}
- delete wxWinHandleHash;
- wxWinHandleHash = NULL;
+ wxDELETE(wxWinHandleHash);
// Delete Message queue
if (wxTheApp->m_hMq)