X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9f782ef3949f583e8ac53795d36787f044fc3..5fab0c8d86f7bd7015db8d0ece8ce02ba1b602d8:/src/os2/window.cpp diff --git a/src/os2/window.cpp b/src/os2/window.cpp index 409b6117f6..36548384d6 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -334,7 +334,7 @@ void wxWindowOS2::Init() // wxWindowOS2::~wxWindowOS2() { - m_isBeingDeleted = true; + SendDestroyEvent(); for (wxWindow* pWin = GetParent(); pWin; pWin = pWin->GetParent()) {