]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/radiobox.cpp
Remove the long obsolete and unused since 2.7.0 __WIN95__ define.
[wxWidgets.git] / src / os2 / radiobox.cpp
index 6b09f2264606d62d78942b13f6f6ab3bd797f631..9dbf887c624c8764e7dc8784dcbf5d71d092512e 100644 (file)
@@ -76,7 +76,7 @@ wxRadioBox::wxRadioBox()
 
 wxRadioBox::~wxRadioBox()
 {
-    m_isBeingDeleted = true;
+    SendDestroyEvent();
 
     if (m_hWnd)
         wxRemoveHandleAssociation(this);
@@ -719,7 +719,7 @@ bool wxRadioBox::OS2Command( WXUINT uCmd,
 void wxRadioBox::SendNotificationEvent()
 {
     wxCommandEvent vEvent(
-                       wxEVT_COMMAND_RADIOBOX_SELECTED,
+                       wxEVT_RADIOBOX,
                        m_windowId
                    );