Robert Reif : comctl32: Create ipaddress in enabled state.
Alexandre Julliard
julliard at wine.codeweavers.com
Sat Dec 31 08:20:33 CST 2005
Module: wine
Branch: refs/heads/master
Commit: ac9b08702654707fa730a30a846289915ce67419
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ac9b08702654707fa730a30a846289915ce67419
Author: Robert Reif <reif at earthlink.net>
Date: Sat Dec 31 13:13:52 2005 +0100
comctl32: Create ipaddress in enabled state.
---
dlls/comctl32/ipaddress.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/ipaddress.c b/dlls/comctl32/ipaddress.c
index f4da2ff..aa59cb2 100644
--- a/dlls/comctl32/ipaddress.c
+++ b/dlls/comctl32/ipaddress.c
@@ -189,7 +189,7 @@ static LRESULT IPADDRESS_Create (HWND hw
edit.bottom = rcClient.bottom - 2;
infoPtr->Self = hwnd;
- infoPtr->Enabled = FALSE;
+ infoPtr->Enabled = TRUE;
infoPtr->Notify = lpCreate->hwndParent;
for (i = 0; i < 4; i++) {
@@ -208,6 +208,7 @@ static LRESULT IPADDRESS_Create (HWND hw
part->OrigProc = (WNDPROC)
SetWindowLongPtrW (part->EditHwnd, GWLP_WNDPROC,
(DWORD_PTR)IPADDRESS_SubclassProc);
+ EnableWindow(part->EditHwnd, infoPtr->Enabled);
}
return 0;
More information about the wine-cvs
mailing list