Added wxWindow::IsDescendant() helper.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Mar 2012 11:58:02 +0000 (11:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Mar 2012 11:58:02 +0000 (11:58 +0000)
commit8b2f64c6c12f3f110480040b3d8b5328f156c295
tree405284b0a8629eff91c3ffc8580168ba70e55cae
parented98f424de0ec9b80dc5de2f92c2bd3dde11bbb0
Added wxWindow::IsDescendant() helper.

This function checks if another window is a direct or indirect child of this
one, which can be needed in a number of situations.

See #3063.

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