reenable WS_TABSTOP (patch 1045547)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-02-19 21:09:49 +00:00
parent 78a87a5d73
commit 1dfd425a8c

View File

@@ -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;