]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/radiobox.cpp
Fix harmless MSVC warning about int to bool conversion in Scintilla.
[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);