Initialize the enabling state variable in the edit.

This commit is contained in:
Stephane Lussier 1999-09-04 14:27:50 +00:00 committed by Alexandre Julliard
parent b309b37385
commit cdb5650d1e
1 changed files with 2 additions and 0 deletions

View File

@ -3578,6 +3578,8 @@ static LRESULT EDIT_WM_NCCreate(WND *wnd, LPCREATESTRUCTA cs)
return FALSE;
es->style = cs->style;
es->bEnableState = !(cs->style & WS_DISABLED);
/*
* 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