void wxApp::CleanUp()
{
- delete wxWidgetHashTable;
- wxWidgetHashTable = NULL;
- delete wxClientWidgetHashTable;
- wxClientWidgetHashTable = NULL;
+ wxDELETE(wxWidgetHashTable);
+ wxDELETE(wxClientWidgetHashTable);
wxAppBase::CleanUp();
}
// If we only have one X11 window, always indicate
// that borders might have to be redrawn.
- if (win->GetMainWindow() == win->GetClientAreaWindow())
+ if (win->X11GetMainWindow() == win->GetClientAreaWindow())
win->NeedUpdateNcAreaInIdle();
// Only erase background, paint in idle time.