void wxPanel::OnNavigationKey( wxNavigationKeyEvent& event )
{
- if (m_children.GetCount() < 2)
+ if (GetChildren().GetCount() < 2)
{
event.Skip();
return;
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();
}
*/
- node = event.GetDirection() ? m_children.First() : m_children.Last();
+ node = event.GetDirection() ? GetChildren().First() : GetChildren().Last();
}
wxWindow *child = (wxWindow*) node->Data();