X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78a87a5d73f90996161912b8a2ee257834f6f8fb..4e5c6c33c530dc4b00cfcd58b6a0dbcae7e6e9d1:/src/msw/combobox.cpp 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;