X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/162c4aada632456bd36603c12017bf0f228b88ac..a0b0865599239b35bbfb1fcb1d564c077f90eb66:/src/cocoa/dialog.mm?ds=sidebyside diff --git a/src/cocoa/dialog.mm b/src/cocoa/dialog.mm index b82f6f2965..d4d2c51fd6 100644 --- a/src/cocoa/dialog.mm +++ b/src/cocoa/dialog.mm @@ -18,6 +18,7 @@ #endif //WX_PRECOMP #include "wx/cocoa/autorelease.h" +#include "wx/cocoa/string.h" #import #import @@ -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; }