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
This commit is contained in:
@@ -727,6 +727,10 @@ char wxFindMnemonic (const char *s)
|
|||||||
|
|
||||||
char * wxFindAccelerator (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.
|
// The accelerator text is after the \t char.
|
||||||
while (*s && *s != '\t')
|
while (*s && *s != '\t')
|
||||||
s++;
|
s++;
|
||||||
@@ -778,6 +782,10 @@ char * wxFindAccelerator (const char *s)
|
|||||||
|
|
||||||
XmString wxFindAcceleratorText (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.
|
// The accelerator text is after the \t char.
|
||||||
while (*s && *s != '\t')
|
while (*s && *s != '\t')
|
||||||
s++;
|
s++;
|
||||||
|
Reference in New Issue
Block a user