Re: [Plib-devel] Re: [BUG] puComboBox broken since recent puInputBase commit?
Brought to you by:
sjbaker
From: Bram S. <br...@sa...> - 2006-03-30 16:49:22
|
Melchior FRANZ wrote: > * Bram Stolk -- Thursday 30 March 2006 18:19: > >>But it did strike me that the puComboBox is labelled as 'obsolete', >>and puaXXXX stuff should be used. > > > Whoops, indeed. Sorry. But anyway: just replace puComboBox with > puaComboBox. Doesn't work any better. Same bug. I don't understand the code, but: void puComboBox::setCurrentItem ( const char *item_ptr ) needs an extra line: input -> setValue ( item_ptr ) ; This seems to work, although it does not refresh the graphics. And a puPostRefresh does not help. bram |