]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobox.cpp
OnExit() is called for modules which were initialized even if the init of
[wxWidgets.git] / src / motif / radiobox.cpp
index fd6c929cd3af5b55bc72474a29b530b7d26eb1e2..4efaf974f3b883df5a3027b7cd8d46017d80f316 100644 (file)
@@ -181,6 +181,7 @@ wxRadioBox::~wxRadioBox()
 {
     delete[] m_radioButtonLabels;
     delete[] m_radioButtons;
+    DetachWidget(m_formWidget);
 }
 
 wxString wxRadioBox::GetLabel(int item) const