Re: ignore spacebar to select/unselect messages?

Nerijus Baliunas <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
On Mon, 6 Mar 2006 00:53:04 +0200 Nerijus Baliunas <[email protected]> wrote:

NB> (sorry, sf.net cvs ssh is down now, so I cannot give a diff):

It's up, so here's the diff:

--- wxFolderView.cpp	13 Feb 2006 16:45:43 -0000	1.675
+++ wxFolderView.cpp	6 Mar 2006 00:25:44 -0000
@@ -4321,9 +4321,10 @@
       switch ( event.GetKeyCode() )
       {
          case WXK_SPACE:
+#if !defined DEBUG_nerijus
             m_MessagePreview->PageDown();
             return true;
-
+#endif
          case WXK_RETURN:
             m_MessagePreview->LineDown();
             return true;
@@ -4610,7 +4611,9 @@
       case WXK_HOME:
       case WXK_END:
       case WXK_RETURN:
-      case ' ':
+#if !defined DEBUG_nerijus
+      case WXK_SPACE:
+#endif
          // let the control process these keys as they're used for navigation
          event.Skip();
          return false;


Regards,
Nerijus


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.