]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/NSWindow.mm
m_font may not have been set yet. Default to letting GetTextExtent
[wxWidgets.git] / src / cocoa / NSWindow.mm
index 1f8663740c8c3e02be3a7e4c40efbea02b0c2b7c..efc89aca14f10ed820c686eef6e4487e975e4cc6 100644 (file)
 
 WX_IMPLEMENT_OBJC_INTERFACE_HASHMAP(NSWindow)
 
-wxCocoaNSWindow::wxCocoaNSWindow()
+wxCocoaNSWindow::wxCocoaNSWindow(wxTopLevelWindowCocoa *tlw)
+:   m_wxTopLevelWindowCocoa(tlw)
 {
     m_cocoaDelegate = [[wxNSWindowDelegate alloc] init];
     [m_cocoaDelegate setWxCocoaInterface: this];