Fixed keyboard navigation in generic tree control.
Under MSW any cursor key presses would not be handled by the generic tree control (and it would lose focus). Added the style wxWANTS_CHARS to the creation of wxGenericTreeCtrl to fix keyboard navigation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -997,7 +997,7 @@ bool wxGenericTreeCtrl::Create(wxWindow *parent,
|
||||
#endif
|
||||
|
||||
if ( !wxControl::Create( parent, id, pos, size,
|
||||
style|wxHSCROLL|wxVSCROLL,
|
||||
style|wxHSCROLL|wxVSCROLL|wxWANTS_CHARS,
|
||||
validator,
|
||||
name ) )
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user