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:
@@ -956,7 +956,7 @@ void wxScrollHelper::HandleOnChar(wxKeyEvent& event)
|
|||||||
yScrollOld = m_yScrollPosition;
|
yScrollOld = m_yScrollPosition;
|
||||||
|
|
||||||
int dsty;
|
int dsty;
|
||||||
switch ( event.KeyCode() )
|
switch ( event.GetKeyCode() )
|
||||||
{
|
{
|
||||||
case WXK_PAGEUP:
|
case WXK_PAGEUP:
|
||||||
case WXK_PRIOR:
|
case WXK_PRIOR:
|
||||||
|
Reference in New Issue
Block a user