From: David Elliott Date: Fri, 5 Sep 2003 03:30:28 +0000 (+0000) Subject: Set the window's title X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/da02681123b4526fd059713e1456cf9479f1ed86 Set the window's title git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/cocoa/toplevel.mm b/src/cocoa/toplevel.mm index 39fa6a5b25..20c1f6e9ff 100644 --- a/src/cocoa/toplevel.mm +++ b/src/cocoa/toplevel.mm @@ -29,6 +29,7 @@ #endif //WX_PRECOMP #include "wx/cocoa/autorelease.h" +#include "wx/cocoa/string.h" #include "wx/cocoa/mbarman.h" #import @@ -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; }