Navigate corrections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-06-15 21:55:18 +00:00
parent 03d51a2d40
commit eedc82f4e9
8 changed files with 27 additions and 15 deletions

View File

@@ -2405,11 +2405,10 @@ bool wxWindowBase::TryParent(wxEvent& event)
// ----------------------------------------------------------------------------
// Navigates in the specified direction.
bool wxWindowBase::Navigate(bool direction, bool windowChange)
bool wxWindowBase::Navigate(int flags)
{
wxNavigationKeyEvent eventNav;
eventNav.SetDirection(direction);
eventNav.SetWindowChange(windowChange);
eventNav.SetFlags(flags);
eventNav.SetEventObject(this);
if ( GetParent()->GetEventHandler()->ProcessEvent(eventNav) )
{