From 2fb40b2cd262b4cc6f6284d8693fb6b2e8dc4056 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 11 Oct 2000 12:55:38 +0000 Subject: [PATCH] create dialog with !NULL parent git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/mdi/mdi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/mdi/mdi.cpp b/samples/mdi/mdi.cpp index 9d880d5094..e3d07b8180 100644 --- a/samples/mdi/mdi.cpp +++ b/samples/mdi/mdi.cpp @@ -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; -- 2.45.2