]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/radiobox.cpp
GetIcon() returns wxIconLocation, not wxIcon, now
[wxWidgets.git] / src / mac / carbon / radiobox.cpp
index fbf840fc8d5cbd537a63274ab086cd8d5594a25c..f7874dd09985593b6b517b1440cfe88df157fc76 100644 (file)
@@ -77,6 +77,8 @@ wxRadioBox::wxRadioBox()
 
 wxRadioBox::~wxRadioBox()
 {
+    m_isBeingDeleted = TRUE;
+
     wxRadioButton *next,*current;
     
     current=m_radioButtonCycle->NextInCycle();