Always remove WS_BORDER style from ComboBoxEx control.

oldstable
Robert Shearman 2004-10-21 20:59:38 +00:00 committed by Alexandre Julliard
parent 9b399da426
commit a4b013c9f2
1 changed files with 1 additions and 1 deletions

View File

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