fix GetTLWParentIfNotBeingDeleted() to work correctly even if an intermediate non...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 6 Feb 2008 13:56:23 +0000 (13:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 6 Feb 2008 13:56:23 +0000 (13:56 +0000)
commit9617f65bccba124625546fd798e03e59d97b35c9
tree22ede1cfc623c6504adfd1ab26c14e5f9da76acd
parent1fcca711af0784b266f5387ab0b74a9b9ba97f7f
fix GetTLWParentIfNotBeingDeleted() to work correctly even if an intermediate non-TLW parent is being deleted, it should still return the TLW parent and not NULL in this case, otherwise we'd crash when a button child of a panel being deleted is current temporary default button

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