From ee263083c813144dc92d839b7ee0bc54db9c6569 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 25 Mar 2008 07:52:25 +0000 Subject: [PATCH] non owned window implementation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/mdi.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mac/carbon/mdi.cpp b/src/mac/carbon/mdi.cpp index 3f3131746c..ff52663afc 100644 --- a/src/mac/carbon/mdi.cpp +++ b/src/mac/carbon/mdi.cpp @@ -391,7 +391,8 @@ bool wxMDIChildFrame::Create(wxMDIParentFrame *parent, if (parent) parent->AddChild(this); - MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ; + MacCreateRealWindow( pos , size , MacRemoveBordersFromStyle(style) , name ) ; + SetTitle( title ); SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE));