* Set the window's title

* setHidesOnDeactivate: NO


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott 2003-09-05 02:53:39 +00:00
parent 162c4aada6
commit 3581295575

View File

@ -18,6 +18,7 @@
#endif //WX_PRECOMP
#include "wx/cocoa/autorelease.h"
#include "wx/cocoa/string.h"
#import <AppKit/NSPanel.h>
#import <AppKit/NSApplication.h>
@ -75,6 +76,8 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID winid,
// above alloc and thus the retain count will be 1.
[m_cocoaNSWindow release];
wxLogDebug("wxDialog m_cocoaNSWindow retainCount=%d",[m_cocoaNSWindow retainCount]);
[m_cocoaNSWindow setTitle:wxNSStringWithWxString(title)];
[m_cocoaNSWindow setHidesOnDeactivate:NO];
return true;
}