From: Roger B. <ro...@ro...> - 2003-12-07 11:40:25
|
[2nd try - SourceForge is getting confused about my email address] Roger Binns wrote: >> You were initializing the combobox, but apparently it still didn't >> have a default selected item, which... causes a coredump on wxMac. ;-) > > Ok, the root cause would appear to be that the combobox is > readonly, and the default value supplied is not in the list > of choices. Try this as the line instead (uses LG-VX4400 as > the value). > > self.phonebox=wxComboBox(self, -1, "LG-VX4400", style=wxCB_DROPDOWN|wxCB_READONLY|wxCB_SORT, choices=self.phonemodels.keys()) > > I have committed it as that. > > Roger |