Austin Lund : riched20: Process messages which arrive before WM_NCCREATE.
Alexandre Julliard
julliard at winehq.org
Thu Jul 8 13:25:37 CDT 2010
Module: wine
Branch: master
Commit: 61e5fec020df76e42522843fb531f86b09f38acb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=61e5fec020df76e42522843fb531f86b09f38acb
Author: Austin Lund <austin.lund at gmail.com>
Date: Thu Jul 8 09:10:02 2010 +1000
riched20: Process messages which arrive before WM_NCCREATE.
---
dlls/riched20/editor.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index b4bff4f..14ae16b 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -4406,10 +4406,9 @@ static LRESULT RichEditWndProc_common(HWND hWnd, UINT msg, WPARAM wParam,
texthost = ME_CreateTextHost(hWnd, pcs, FALSE);
return texthost != NULL;
}
- else if (msg != WM_NCDESTROY)
+ else
{
- ERR("called with invalid hWnd %p - application bug?\n", hWnd);
- return 0;
+ return DefWindowProcW(hWnd, msg, wParam, lParam);
}
}
More information about the wine-cvs
mailing list