Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25394/src/gui
Modified Files:
wxFolderView.cpp
Log Message:
pressing a non alnum key shouldn't start an incremental search (which never finds
anything) in list control
Index: wxFolderView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFolderView.cpp,v
retrieving revision 1.654
retrieving revision 1.655
diff -b -u -2 -r1.654 -r1.655
--- wxFolderView.cpp 17 Mar 2004 22:10:41 -0000 1.654
+++ wxFolderView.cpp 7 Apr 2004 23:23:37 -0000 1.655
@@ -4547,6 +4547,11 @@
case WXK_UP:
case WXK_DOWN:
- default:
event.Skip();
+ // fall through
+
+ default:
+ // for the same reasons as above, eat the character and don't allow
+ // it to be processed by the control itself lest it starts an
+ // incremental search, so don't call event.Skip()
return false;
}
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates