]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/radiobox.cpp
Disable CallAfter() for MSVC 7 too, it can't compile this code.
[wxWidgets.git] / src / os2 / radiobox.cpp
index 6b09f2264606d62d78942b13f6f6ab3bd797f631..19ff8a2bacf8024d6f0e3b33abfba5c7bef913ed 100644 (file)
@@ -76,7 +76,7 @@ wxRadioBox::wxRadioBox()
 
 wxRadioBox::~wxRadioBox()
 {
-    m_isBeingDeleted = true;
+    SendDestroyEvent();
 
     if (m_hWnd)
         wxRemoveHandleAssociation(this);