]> git.saurik.com Git - wxWidgets.git/commit
Don't assert when destroying a never created window in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Apr 2011 23:36:42 +0000 (23:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Apr 2011 23:36:42 +0000 (23:36 +0000)
commit4af2a59fbfce5b4ae0d51e96334121121fe8afaa
tree9fc5500dee2820d01d489e24478d7f0d3734bd23
parent8d43e8c68fd5d508a1628909c696fff938c9eb1e
Don't assert when destroying a never created window in wxGTK.

The other ports don't assert if a default-constructed wxWindow object for
which Create() had never been called is Destroy()d and wxGTK shouldn't do this
neither.

The new behaviour is more logical but also fixes a problem with an assert in
wxOwnerDrawnComboBox that can currently be seen in wxGTK unit tests.

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