]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/textctrl.mm
removed mark #pragmas
[wxWidgets.git] / src / cocoa / textctrl.mm
index 02114484bab6156a5fe49d0c1dc246bf0dccbae2..1036882df4b71129e2d3bda6c1cd53097864c8a4 100644 (file)
@@ -57,7 +57,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID winid,
 
 wxTextCtrl::~wxTextCtrl()
 {
-    DisassociateNSTextField(m_cocoaNSView);
+    DisassociateNSTextField(GetNSTextField());
 }
 
 void wxTextCtrl::Cocoa_didChangeText(void)