Make sure edit and listbox controls are of same ASCII/Unicode style as
the combo box. Fixed a few MBCS issues with WM_GETTEXTLENGTH handling.
diff --git a/controls/edit.c b/controls/edit.c
index 2209a15..68f66ab 100644
--- a/controls/edit.c
+++ b/controls/edit.c
@@ -969,7 +969,9 @@
case WM_GETTEXTLENGTH:
DPRINTF_EDIT_MSG32("WM_GETTEXTLENGTH");
- result = strlenW(es->text);
+ if (unicode) result = strlenW(es->text);
+ else result = WideCharToMultiByte( CP_ACP, 0, es->text, strlenW(es->text),
+ NULL, 0, NULL, NULL );
break;
case WM_HSCROLL: