Small doc updates, mainly wxDropTarget,

wxFileDlg now interprets a default dir of "." as
    the current working dir,
  dialog and frame honour "wxApp::DeleteFrameOnExit".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-12-29 09:48:10 +00:00
parent 487c1f7ef2
commit f59d80ca00
12 changed files with 117 additions and 57 deletions

View File

@@ -504,8 +504,11 @@ wxFrame::~wxFrame()
if (wxTheApp->GetTopWindow() == this)
wxTheApp->SetTopWindow( (wxWindow*) NULL );
if (wxTopLevelWindows.Number() == 0)
if ((wxTopLevelWindows.Number() == 0) &&
(wxTheApp->GetExitOnFrameDelete()))
{
wxTheApp->ExitMainLoop();
}
}
// ----------------------------------------------------------------------------