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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user