diff --git a/interface/wx/menuitem.h b/interface/wx/menuitem.h index b03ff5ae65..f1e49ae77d 100644 --- a/interface/wx/menuitem.h +++ b/interface/wx/menuitem.h @@ -501,6 +501,23 @@ public: @c Shift+/ do not, so avoid using accelerators of this form in portable code. + @note In wxGTk, the left/right/up/down arrow keys do not work as + accelerator keys for a menu item unless a modifier key is used. + Additionally, the following keycodes are not supported as menu + accelerator keys: + - WXK_COMMAND + - WXK_SCROLL + - WXK_CAPITAL + - WXK_TAB + - WXK_SHIFT + - WXK_ALT + - WXK_ADD + - WXK_SEPARATOR + - WXK_SUBTRACT + - WXK_DECIMAL + - WXK_DIVIDE + - WXK_SNAPSHOT + @see GetItemLabel(), GetItemLabelText() */ virtual void SetItemLabel(const wxString& label);