Don't send wxWindowDestroyEvent if we hadn't sent wxWindowCreateEvent.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Apr 2011 23:36:46 +0000 (23:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Apr 2011 23:36:46 +0000 (23:36 +0000)
commit935594c16ea92527a31cfff50e8daa0d7eed5a1e
tree67e19ad72299fbe5d49cf9249f7f181b275a2bf4
parent4af2a59fbfce5b4ae0d51e96334121121fe8afaa
Don't send wxWindowDestroyEvent if we hadn't sent wxWindowCreateEvent.

Don't generate wxWindowDestroyEvent when destroying the windows that had been
never created for symmetry with wxWindowCreateEvent which wasn't sent for this
window neither.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/wincmn.cpp