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:
Vadim Zeitlin 2000-10-11 12:55:38 +00:00
parent 91773b3f0d
commit 2fb40b2cd2

View File

@ -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;