]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/listbox.mm
Compilation fix.
[wxWidgets.git] / src / cocoa / listbox.mm
index fe928079ffeae034ed70427e72b2627e6051f0e5..5e9239d031377aa48a61f6ac6d56a1f447dd45d6 100644 (file)
@@ -81,7 +81,7 @@ wxListBox::~wxListBox()
     [GetNSTableView() setDataSource: nil];
     [m_cocoaDataSource release];
     [m_cocoaItems release];
-    DisassociateNSTableView(m_cocoaNSView);
+    DisassociateNSTableView(GetNSTableView());
 }
 
 int wxListBox::CocoaDataSource_numberOfRows()