Commit cdb5650d authored by Stephane Lussier's avatar Stephane Lussier Committed by Alexandre Julliard

Initialize the enabling state variable in the edit.

parent b309b373
...@@ -3578,6 +3578,8 @@ static LRESULT EDIT_WM_NCCreate(WND *wnd, LPCREATESTRUCTA cs) ...@@ -3578,6 +3578,8 @@ static LRESULT EDIT_WM_NCCreate(WND *wnd, LPCREATESTRUCTA cs)
return FALSE; return FALSE;
es->style = cs->style; es->style = cs->style;
es->bEnableState = !(cs->style & WS_DISABLED);
/* /*
* In Win95 look and feel, the WS_BORDER style is replaced by the * In Win95 look and feel, the WS_BORDER style is replaced by the
* WS_EX_CLIENTEDGE style for the edit control. This gives the edit * WS_EX_CLIENTEDGE style for the edit control. This gives the edit
......
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