Commit 16f4eded authored by Eric Frias's avatar Eric Frias Committed by Alexandre Julliard

Fixed combobox flags handling to allow CBS_DROPDOWN style.

parent 93cd5bde
......@@ -1978,7 +1978,8 @@ static control_t *ins_ctrl(int type, int special_style, control_t *ctrl, control
defaultstyle |= LBS_NOTIFY | WS_BORDER;
break;
case CT_COMBOBOX:
defaultstyle |= CBS_SIMPLE;
if (!(ctrl->style->or_mask & (CBS_SIMPLE | CBS_DROPDOWN | CBS_DROPDOWNLIST)))
defaultstyle |= CBS_SIMPLE;
break;
case CT_STATIC:
if(special_style == SS_CENTER || special_style == SS_LEFT || special_style == SS_RIGHT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment