From 1dfd425a8cda56960488f1ba5b39ad6e223a1e05 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 19 Feb 2005 21:09:49 +0000 Subject: [PATCH] reenable WS_TABSTOP (patch 1045547) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/combobox.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index 0436320d2a..38ec288a72 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -458,6 +458,11 @@ WXDWORD wxComboBox::MSWGetStyle(long style, WXDWORD *exstyle) const (style & ~wxBORDER_MASK) | wxBORDER_NONE, exstyle ); + // usually WS_TABSTOP is added by wxControl::MSWGetStyle() but as we're + // created hidden (see Create() above), it is not done for us but we still + // want to have this style + msStyle |= WS_TABSTOP; + // remove the style always added by wxChoice msStyle &= ~CBS_DROPDOWNLIST; -- 2.45.2