From a185067a4706d90439ff3379f92a0794c3b06b9d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 13 Jan 2014 13:38:34 +0000 Subject: [PATCH] Document wxWindow::FindWindow() TLW skipping behaviour. Explicitly mention that TLW "children" are not searched by this function (which is the case since r74721). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/window.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/interface/wx/window.h b/interface/wx/window.h index ec0e9b048e..92faf630ba 100644 --- a/interface/wx/window.h +++ b/interface/wx/window.h @@ -455,13 +455,21 @@ public: /** Find a child of this window, by @a id. + May return @a this if it matches itself. + + Notice that only real children, not top level windows using this window + as parent, are searched by this function. */ wxWindow* FindWindow(long id) const; /** Find a child of this window, by name. + May return @a this if it matches itself. + + Notice that only real children, not top level windows using this window + as parent, are searched by this function. */ wxWindow* FindWindow(const wxString& name) const;