Initialize the enabling state variable in the edit.
This commit is contained in:
parent
b309b37385
commit
cdb5650d1e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue