diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index e24ce063b3..180e451364 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -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;