Document wxGTK limitation for accelerators involving Shift.

Using Shift with non-alphabetic characters doesn't work due to GTK+ bug, see
https://bugzilla.gnome.org/show_bug.cgi?id=614146

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-07-23 15:02:57 +00:00
parent eef432913f
commit 09fc8e245c

View File

@@ -400,6 +400,12 @@ public:
m_pMyMenuItem4->SetItemLabel("Item with &accelerator");
@endcode
@note In wxGTK using @c "SHIFT" with non-alphabetic characters
currently doesn't work, even in combination with other modifiers, due
to GTK+ limitation. E.g. @c Shift+Ctrl+A works but @c Shift+Ctrl+1 or
@c Shift+/ do not, so avoid using accelerators of this form in portable
code.
@see GetItemLabel(), GetItemLabelText()
*/
virtual void SetItemLabel(const wxString& label);