Commit a4b013c9 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

Always remove WS_BORDER style from ComboBoxEx control.

parent 9b399da4
...@@ -1570,7 +1570,7 @@ static LRESULT COMBOEX_NCCreate (HWND hwnd) ...@@ -1570,7 +1570,7 @@ static LRESULT COMBOEX_NCCreate (HWND hwnd)
DWORD oldstyle, newstyle; DWORD oldstyle, newstyle;
oldstyle = (DWORD)GetWindowLongW (hwnd, GWL_STYLE); oldstyle = (DWORD)GetWindowLongW (hwnd, GWL_STYLE);
newstyle = oldstyle & ~(WS_VSCROLL | WS_HSCROLL); newstyle = oldstyle & ~(WS_VSCROLL | WS_HSCROLL | WS_BORDER);
if (newstyle != oldstyle) { if (newstyle != oldstyle) {
TRACE("req style %08lx, reseting style %08lx\n", TRACE("req style %08lx, reseting style %08lx\n",
oldstyle, newstyle); oldstyle, newstyle);
......
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