Set the window's title

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott 2003-09-05 03:30:28 +00:00
parent 97351e1704
commit da02681123

View 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;
}