From 5bb05bc139aea86e55a8c1bf807cf3ad649826d2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 23 Jul 1999 21:08:22 +0000 Subject: [PATCH] disabled accelerators in wxMotif - they don't work anyhow, but break everything git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/utils.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index e4cdc74fea..279ad20b33 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -727,6 +727,10 @@ char wxFindMnemonic (const char *s) char * wxFindAccelerator (const char *s) { + // VZ: this function returns incorrect keysym which completely breaks kbd + // handling + return NULL; + // The accelerator text is after the \t char. while (*s && *s != '\t') s++; @@ -778,6 +782,10 @@ char * wxFindAccelerator (const char *s) XmString wxFindAcceleratorText (const char *s) { + // VZ: this function returns incorrect keysym which completely breaks kbd + // handling + return NULL; + // The accelerator text is after the \t char. while (*s && *s != '\t') s++; -- 2.45.2