X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c1ad00573fc825322af8e5174c52a10a17385c9..45b81639ef31938fbcf512519dbd74a54fbcd1d5:/include/wx/containr.h diff --git a/include/wx/containr.h b/include/wx/containr.h index 41a8bbe336..87ab324a28 100644 --- a/include/wx/containr.h +++ b/include/wx/containr.h @@ -70,10 +70,9 @@ public: // wxListCtrl) and so should get focus for ourselves bool AcceptsFocusRecursively() const { return true; } - // call this when the number of children of the window changes - // - // note that we have any children, this panel (used just as container for - // them) shouldn't get focus for itself + // Call this when the number of children of the window changes. + // If we have any children, this panel (used just as container for + // them) shouldn't get focus for itself. void UpdateCanFocus() { SetCanFocus(!HasAnyFocusableChildren()); } protected: @@ -177,7 +176,7 @@ protected: \ void classname::SetFocusIgnoringChildren() \ { \ - SetFocus(); \ + basename::SetFocus(); \ } #else // !wxHAS_NATIVE_TAB_TRAVERSAL