Build fix after PRIOR/NEXT removal.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-03-25 07:59:53 +00:00
parent e633eb2f36
commit fbb526cced

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: univ/scrolbar.cpp // Name: src/univ/scrolbar.cpp
// Purpose: wxScrollBar implementation // Purpose: wxScrollBar implementation
// Author: Vadim Zeitlin // Author: Vadim Zeitlin
// Modified by: // Modified by:
@@ -717,10 +717,8 @@ bool wxStdScrollBarInputHandler::HandleKey(wxInputConsumer *consumer,
case WXK_LEFT: action = wxACTION_SCROLL_LINE_UP; break; case WXK_LEFT: action = wxACTION_SCROLL_LINE_UP; break;
case WXK_HOME: action = wxACTION_SCROLL_START; break; case WXK_HOME: action = wxACTION_SCROLL_START; break;
case WXK_END: action = wxACTION_SCROLL_END; break; case WXK_END: action = wxACTION_SCROLL_END; break;
case WXK_PAGEUP: case WXK_PAGEUP: action = wxACTION_SCROLL_PAGE_UP; break;
case WXK_PRIOR: action = wxACTION_SCROLL_PAGE_UP; break; case WXK_PAGEDOWN: action = wxACTION_SCROLL_PAGE_DOWN; break;
case WXK_PAGEDOWN:
case WXK_NEXT: action = wxACTION_SCROLL_PAGE_DOWN; break;
} }
if ( !action.IsEmpty() ) if ( !action.IsEmpty() )
@@ -951,4 +949,3 @@ void wxScrollTimer::Notify()
(void)DoNotify(); (void)DoNotify();
} }
} }