create dialog with !NULL parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -434,7 +434,7 @@ void MyChild::OnChangeTitle(wxCommandEvent& WXUNUSED(event))
|
|||||||
wxString title = wxGetTextFromUser(_T("Enter the new title for MDI child"),
|
wxString title = wxGetTextFromUser(_T("Enter the new title for MDI child"),
|
||||||
_T("MDI sample question"),
|
_T("MDI sample question"),
|
||||||
s_title,
|
s_title,
|
||||||
GetParent()->GetParent());
|
GetParent());
|
||||||
if ( !title )
|
if ( !title )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user