Updated documentation to reflect invalid GTK keycodes

This commit is contained in:
Ian McInerney
2019-08-04 21:25:49 +02:00
parent f3edad2761
commit 4d582eda57

View File

@@ -501,6 +501,23 @@ public:
@c Shift+/ do not, so avoid using accelerators of this form in portable @c Shift+/ do not, so avoid using accelerators of this form in portable
code. 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() @see GetItemLabel(), GetItemLabelText()
*/ */
virtual void SetItemLabel(const wxString& label); virtual void SetItemLabel(const wxString& label);