]> git.saurik.com Git - wxWidgets.git/commitdiff
Set the window's title
authorDavid Elliott <dfe@tgwbd.org>
Fri, 5 Sep 2003 03:30:28 +0000 (03:30 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 5 Sep 2003 03:30:28 +0000 (03:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/toplevel.mm

index 39fa6a5b2555dd16f47c4a5b83481ec2948757e5..20c1f6e9fff2aee49b8d10add008b6acfd16e124 100644 (file)
@@ -29,6 +29,7 @@
 #endif //WX_PRECOMP
 
 #include "wx/cocoa/autorelease.h"
+#include "wx/cocoa/string.h"
 #include "wx/cocoa/mbarman.h"
 
 #import <AppKit/NSView.h>
@@ -93,6 +94,7 @@ bool wxTopLevelWindowCocoa::Create(wxWindow *parent,
     // above alloc and thus the retain count will be 1.
     [m_cocoaNSWindow release];
 
+    [m_cocoaNSWindow setTitle:wxNSStringWithWxString(title)];
     return TRUE;
 }