]> git.saurik.com Git - wxWidgets.git/commitdiff
non owned window implementation
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 25 Mar 2008 07:52:25 +0000 (07:52 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 25 Mar 2008 07:52:25 +0000 (07:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/mdi.cpp

index 3f3131746c1d1c3e46a4811048bed2936caa2514..ff52663afcdd4adc4bacdb7a1d8cd13f603b792d 100644 (file)
@@ -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));