From: Robin Dunn <robin@alldunn.com>
Date: Sat, 15 Jun 2002 06:41:27 +0000 (+0000)
Subject: Fix for the TAB in the autocomplete list not being used correctly
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b89f0cb06a187c6fe7e75ab5aa359b019b8ff766

Fix for the TAB in the autocomplete list not being used correctly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp
index 35d5fc0877..9f948cfb78 100644
--- a/contrib/src/stc/PlatWX.cpp
+++ b/contrib/src/stc/PlatWX.cpp
@@ -681,7 +681,7 @@ class wxSTCListBox : public wxListBox {
 public:
     wxSTCListBox(wxWindow* parent, wxWindowID id)
         : wxListBox(parent, id, wxDefaultPosition, wxDefaultSize,
-                    0, NULL, wxLB_SINGLE | wxSIMPLE_BORDER)
+                    0, NULL, wxLB_SINGLE | wxSIMPLE_BORDER | wxWANTS_CHARS)
         {}
 
     void OnKeyDown(wxKeyEvent& event) {
diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp
index 35d5fc0877..9f948cfb78 100644
--- a/src/stc/PlatWX.cpp
+++ b/src/stc/PlatWX.cpp
@@ -681,7 +681,7 @@ class wxSTCListBox : public wxListBox {
 public:
     wxSTCListBox(wxWindow* parent, wxWindowID id)
         : wxListBox(parent, id, wxDefaultPosition, wxDefaultSize,
-                    0, NULL, wxLB_SINGLE | wxSIMPLE_BORDER)
+                    0, NULL, wxLB_SINGLE | wxSIMPLE_BORDER | wxWANTS_CHARS)
         {}
 
     void OnKeyDown(wxKeyEvent& event) {