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:
parent
91773b3f0d
commit
2fb40b2cd2
@ -434,7 +434,7 @@ void MyChild::OnChangeTitle(wxCommandEvent& WXUNUSED(event))
|
||||
wxString title = wxGetTextFromUser(_T("Enter the new title for MDI child"),
|
||||
_T("MDI sample question"),
|
||||
s_title,
|
||||
GetParent()->GetParent());
|
||||
GetParent());
|
||||
if ( !title )
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user