]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrlwing.cpp
added wxArray::SetCount()
[wxWidgets.git] / src / generic / scrlwing.cpp
index 16b2368cdc959b2052ad1599165cfabfb201ac98..f516a8552dcb6536b470c19d139aef5987bb8554 100644 (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: