Catch attempts to create a window with itself as parent.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Dec 2012 00:37:10 +0000 (00:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Dec 2012 00:37:10 +0000 (00:37 +0000)
commite0fddcefb6ce6841dbf473c060a19353790df334
tree159390571da00f9472e7510ccf30ac81e0f57915
parent97e5a1969fa68c6284951497d03a0e9484485c4a
Catch attempts to create a window with itself as parent.

This doesn't happen often but when it does, the results are catastrophic and
not always easy to debug, so try catch this as soon as possible.

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