X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84e455807ee62925c98e18d2848954125b128018..8cbc59fe84f046685b873cf58f6c56debe59de1c:/src/dfb/nonownedwnd.cpp diff --git a/src/dfb/nonownedwnd.cpp b/src/dfb/nonownedwnd.cpp index d77669378c..c455d5e4ff 100644 --- a/src/dfb/nonownedwnd.cpp +++ b/src/dfb/nonownedwnd.cpp @@ -153,7 +153,7 @@ bool wxNonOwnedWindow::Create(wxWindow *parent, wxNonOwnedWindow::~wxNonOwnedWindow() { - m_isBeingDeleted = true; + SendDestroyEvent(); // destroy all children before we destroy the underlying DirectFB window, // so that if any of them does something with the TLW, it will still work: