# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1300913978 0 # Node ID 5b4a831af8fac3bd72286ddfc603083b81d03fe0 # Parent 8555ac1bcbcd79535a2b0e217db313bc452e7df7 Fix for dw_combobox_new() not setting the default text in the entryfield. diff -r 8555ac1bcbcd -r 5b4a831af8fa mac/dw.m --- a/mac/dw.m Wed Mar 23 20:45:34 2011 +0000 +++ b/mac/dw.m Wed Mar 23 20:59:38 2011 +0000 @@ -3600,6 +3600,7 @@ HWND API dw_combobox_new(char *text, ULONG cid) { DWComboBox *combo = [[DWComboBox alloc] init]; + [combo setStringValue:[NSString stringWithUTF8String:text]]; [combo setDelegate:combo]; [combo setTag:cid]; return combo;