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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user