Implemented wxEntryStart, wxEntryInitGui, wxEntryCleanup.

Removed code already in wxTopLevelWindowBase.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-04-26 12:54:45 +00:00
parent 4f1f340199
commit e6be3e7c1b
2 changed files with 52 additions and 44 deletions

View File

@@ -66,8 +66,6 @@ static void wxTLWEventHandler( Widget wid,
void wxTopLevelWindowMotif::PreDestroy()
{
wxTopLevelWindows.DeleteObject(this);
if ( (GetWindowStyleFlag() & wxDIALOG_MODAL) != wxDIALOG_MODAL )
wxModelessWindows.DeleteObject(this);
@@ -90,17 +88,6 @@ void wxTopLevelWindowMotif::PreDestroy()
wxTopLevelWindowMotif::~wxTopLevelWindowMotif()
{
SetMainWidget( (WXWidget)0 );
// If this is the last top-level window, exit.
if (wxTheApp && (wxTopLevelWindows.GetCount() == 0))
{
wxTheApp->SetTopWindow(NULL);
if (wxTheApp->GetExitOnFrameDelete())
{
wxTheApp->ExitMainLoop();
}
}
}
void wxTopLevelWindowMotif::Init()