From 399aa5e3f277e65ae6d2cac5c12761e79f637f26 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 17 Dec 1998 10:10:53 +0000 Subject: [PATCH] Changed m_children to GetChildren() -- not all ports are the same! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/panelg.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp index 8f3f3daab9..2adf0c5360 100644 --- a/src/generic/panelg.cpp +++ b/src/generic/panelg.cpp @@ -78,7 +78,7 @@ void wxPanel::OnSysColourChanged(wxSysColourChangedEvent& event) void wxPanel::OnNavigationKey( wxNavigationKeyEvent& event ) { - if (m_children.GetCount() < 2) + if (GetChildren().GetCount() < 2) { event.Skip(); return; @@ -100,8 +100,8 @@ void wxPanel::OnNavigationKey( wxNavigationKeyEvent& event ) return; } - wxNode *start_node = m_children.Find( winFocus ); - if (!start_node) start_node = m_children.First(); + wxNode *start_node = GetChildren().Find( winFocus ); + if (!start_node) start_node = GetChildren().First(); wxNode *node = event.GetDirection() ? start_node->Next() : start_node->Previous(); @@ -124,7 +124,7 @@ void wxPanel::OnNavigationKey( wxNavigationKeyEvent& event ) } */ - node = event.GetDirection() ? m_children.First() : m_children.Last(); + node = event.GetDirection() ? GetChildren().First() : GetChildren().Last(); } wxWindow *child = (wxWindow*) node->Data(); -- 2.45.2