when message is not unicode then SendMessageA should be used. Fixes #1152 and combobox in "Run..." dialog
Modified: trunk/reactos/lib/user32/controls/combo.c

Modified: trunk/reactos/lib/user32/controls/combo.c
--- trunk/reactos/lib/user32/controls/combo.c	2005-12-20 09:45:53 UTC (rev 20274)
+++ trunk/reactos/lib/user32/controls/combo.c	2005-12-20 13:24:47 UTC (rev 20275)
@@ -2075,7 +2075,10 @@
                     msg = LB_ADDSTRING_LOWER;
                 else if( lphc->dwStyle & CBS_UPPERCASE )
                     msg = LB_ADDSTRING_UPPER;
-                return SendMessageW(lphc->hWndLBox, msg, 0, lParam);
+                if( unicode )
+                    return SendMessageW(lphc->hWndLBox, msg, 0, lParam);
+                else
+                    return SendMessageA(lphc->hWndLBox, msg, 0, lParam);
         }
 #ifndef __REACTOS__
 	case CB_INSERTSTRING16:
@@ -2090,7 +2093,10 @@
                     msg = LB_INSERTSTRING_LOWER;
                 else if( lphc->dwStyle & CBS_UPPERCASE )
                     msg = LB_INSERTSTRING_UPPER;
-                return SendMessageW(lphc->hWndLBox, msg, 0, lParam);
+                if( unicode )
+                    return SendMessageW(lphc->hWndLBox, msg, 0, lParam);
+                else
+                    return SendMessageA(lphc->hWndLBox, msg, 0, lParam);
         }
 #ifndef __REACTOS__
 	case CB_DELETESTRING16: