wxwidgets/src
Vadim Zeitlin d6a658ff0c Allow user code to override key events in generic wxListCtrl.
The changes of r58323 ("Restore keyboard navi") fixed the handling of cursor
keys in the generic wxListCtrl implementation but at the price of not sending
keyboard events for the cursor keys to wxListCtrl itself any more. This made
it impossible to override their handling in user code, something that used to
work in previous wx versions and still works in wxMSW.

Revert the changes of this revision now and fix the original code by simply
disabling the handling of the cursor keys in wxScrollHelperBase using a newly
added DisableKeyboardScrolling() method. This ensures that the keyboard events
for cursor keys are not used to scroll the window when they are forwarded to
wxListCtrl from wxListMainWindow.

The fix is conceptually ugly as it would be better to avoid the need for such
ad hoc functions as DisableKeyboardScrolling() but it is very simple and there
just doesn't seem to be any sane way to do it otherwise with wxScrollHelperBase.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-11 10:43:35 +00:00
..
aui Update AUI floating windows position and not just size on resize. 2010-05-31 14:59:18 +00:00
cocoa Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
common Swap client data pointers in wxRearrangeList too. 2010-07-11 10:43:23 +00:00
dfb Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
expat avoiding double define warnings on osx 2009-09-24 09:54:57 +00:00
generic Allow user code to override key events in generic wxListCtrl. 2010-07-11 10:43:35 +00:00
gtk Fix setting wxStaticText alignment under wxGTK. 2010-07-11 10:43:28 +00:00
gtk1 Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
html Update OpenVMS compile support 2010-06-22 08:08:11 +00:00
jpeg avoid double define warnings 2009-12-09 07:24:50 +00:00
mgl Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
motif Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
msdos Remove identic implementations of wxDir::Exists from platform-specific files and put it in dircmn.cpp (they all used wxDirExists). 2010-06-19 11:07:16 +00:00
msw fix error (more arguments for wxString::Format than specifiers) occurring because of a misplaced bracket 2010-06-26 11:44:05 +00:00
os2 Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
osx Fix undefined symbols 2010-07-09 17:26:27 +00:00
palmos Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
png Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
propgrid Do not run focus detection when handling events from editor control (mostly because they may be showing a dialog) 2010-07-10 15:40:33 +00:00
regex Suppress dummy gcc warnings in regex library code. 2010-04-07 12:52:31 +00:00
ribbon support compiling for iphone 2010-05-20 17:58:38 +00:00
richtext Added PaintAboveContent function for drawing on top of text (#12176) 2010-06-25 14:05:07 +00:00
stc Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
tiff Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
univ Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
unix Update Makefile for OpenVMS 2010-06-28 08:41:57 +00:00
wxWindows.xcodeproj updated the version to 2.9.1 2009-07-05 11:51:53 +00:00
x11 Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
xml Fixed XML parser error text formatting. 2010-07-03 14:24:31 +00:00
xrc use wxToggleButtonXmlHandler::DoCreateBitmapToggleButton on supoorted platforms only 2010-05-27 13:45:06 +00:00
zlib
cwcopysetup.bat
cwdcopysetup.bat
wxJpeg.icc
wxPng.icc
wxTiff.icc
wxWin.icc
Wxwindll.icc
wxXpm.icc
wxZlib.icc