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:
@@ -399,7 +399,13 @@ public:
|
||||
m_pMyMenuItem3->SetItemLabel("Simple item");
|
||||
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);
|
||||
|
Reference in New Issue
Block a user