From: Stefan Csomor Date: Fri, 11 May 2001 09:13:28 +0000 (+0000) Subject: corrected eventual endless loop X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aa6c945b0ac03ac048f1323292d7d2c11006b759 corrected eventual endless loop git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/radiobut.cpp b/src/mac/carbon/radiobut.cpp index c8530a88cd..84f2a739cb 100644 --- a/src/mac/carbon/radiobut.cpp +++ b/src/mac/carbon/radiobut.cpp @@ -37,7 +37,7 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id, MacPostControlCreate() ; - m_cycle = NULL ; + m_cycle = this ; if (HasFlag(wxRB_GROUP)) { diff --git a/src/mac/radiobut.cpp b/src/mac/radiobut.cpp index c8530a88cd..84f2a739cb 100644 --- a/src/mac/radiobut.cpp +++ b/src/mac/radiobut.cpp @@ -37,7 +37,7 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id, MacPostControlCreate() ; - m_cycle = NULL ; + m_cycle = this ; if (HasFlag(wxRB_GROUP)) {