Remove use of deprecated KeyCode accessor.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-01-12 13:52:12 +00:00
parent a43d5db22b
commit 4995ca8037

View File

@@ -956,7 +956,7 @@ void wxScrollHelper::HandleOnChar(wxKeyEvent& event)
yScrollOld = m_yScrollPosition;
int dsty;
switch ( event.KeyCode() )
switch ( event.GetKeyCode() )
{
case WXK_PAGEUP:
case WXK_PRIOR: