]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrlwing.cpp
really fix warning about implicitly converting 0 and 1 to size_t -- use explicit...
[wxWidgets.git] / src / generic / scrlwing.cpp
index 7a684f0ac26064ad8828df19e526688de2b68048..d6ace0914c5979991c281d9943bae9724f91dd78 100644 (file)
@@ -1084,13 +1084,11 @@ void wxScrollHelper::HandleOnChar(wxKeyEvent& event)
     switch ( event.GetKeyCode() )
     {
         case WXK_PAGEUP:
-        case WXK_PRIOR:
             dsty = sty - (5 * cliy / 6);
             Scroll(-1, (dsty == -1) ? 0 : dsty);
             break;
 
         case WXK_PAGEDOWN:
-        case WXK_NEXT:
             Scroll(-1, sty + (5 * cliy / 6));
             break;