]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/checkbox.mm
Implement wxApp::Yield
[wxWidgets.git] / src / cocoa / checkbox.mm
index 710a63b1f4bd918375a587fd806877006beddbb7..b43f179077d8d1340c5863c4959c4291d54e537e 100644 (file)
@@ -53,7 +53,7 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID winid,
 
 wxCheckBox::~wxCheckBox()
 {
-    DisassociateNSButton(m_cocoaNSView);
+    DisassociateNSButton(GetNSButton());
 }
 
 void wxCheckBox::SetValue(bool value)