#endif //WX_PRECOMP
#include "wx/cocoa/autorelease.h"
+#include "wx/cocoa/string.h"
#import <AppKit/NSPanel.h>
#import <AppKit/NSApplication.h>
// 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;
}