]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/dialog.mm
m_font may not have been set yet. Default to letting GetTextExtent
[wxWidgets.git] / src / cocoa / dialog.mm
index d490c8edc58daee2285f6b59a1568492f5879834..eede94cdfc59fcb683f7af5f720e99241c7af9a1 100644 (file)
@@ -84,9 +84,6 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID winid,
 
 wxDialog::~wxDialog()
 {
-    wxLogTrace(wxTRACE_COCOA,wxT("Destroying"));
-    // setReleasedWhenClosed: NO
-    [m_cocoaNSWindow close];
     DisassociateNSPanel(GetNSPanel());
 }