diff --git a/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp b/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp index 1fbe0b94e9..0ee61d3b0b 100644 --- a/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp +++ b/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp @@ -1860,7 +1860,7 @@ bool wxTreeListMainWindow::Create (wxTreeListCtrl *parent, if (major < 10) style |= wxTR_ROW_LINES; #endif - wxScrolledWindow::Create (parent, id, pos, size, style|wxHSCROLL|wxVSCROLL, name); + wxScrolledWindow::Create (parent, id, pos, size, style|wxHSCROLL|wxVSCROLL|wxWANTS_CHARS, name); #if wxUSE_VALIDATORS SetValidator(validator);