X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad63992e0f69a9d0c41e173644b8c0e612477022..1831914337402d1b3645e955c44829ee3251a39e:/src/msw/radiobox.cpp diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index 26519adcbb..cdf5141085 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -254,7 +254,7 @@ bool wxRadioBox::Create(wxWindow *parent, wxRadioBox::~wxRadioBox() { - m_isBeingDeleted = true; + SendDestroyEvent(); delete m_radioButtons; if ( m_dummyHwnd )