Re: [Plib-devel] Re: [BUG] puComboBox broken since recent puInput Base commit?
Brought to you by:
sjbaker
From: Bram S. <br...@sa...> - 2006-04-08 13:43:49
|
Melchior FRANZ wrote: > * Fay John F Dr CTR USAF AFSEO/SK -- Thursday 30 March 2006 23:35: > >>To fix the "puaComboBox" widget, please add the following methods to >>the "puInput" widget definition: > > [...] > >>This fixes Melchior's and Bram's test case on my Windows box. If somebody >>would please put it into CVS I would appreciate it. > > > Indeed! Works for me. Thanks. That's weird. It is applied to pu.h, right? Because it does not work for me: although the entry is changed, the visible contents is not refreshed, and needs a mouseclick in the entrybox before the new entry contents is shown. stolk@suske:~/src/plib/src/pui$ cvs diff br...@cv...'s password: ? .deps ? Makefile ? Makefile.in cvs diff: Diffing . Index: pu.h =================================================================== RCS file: /cvsroot/plib/plib/src/pui/pu.h,v retrieving revision 1.155 diff -r1.155 pu.h 1661a1662,1691 > > virtual void setValue ( puValue *pv ) > { > puValue::setValue ( pv ) ; > delete displayed_text ; displayed_text = NULL ; > } > > virtual void setValue ( int i ) > { > puValue::setValue ( i ) ; > delete displayed_text ; displayed_text = NULL ; > } > > virtual void setValue ( float f ) > { > puValue::setValue ( f ) ; > delete displayed_text ; displayed_text = NULL ; > } > > virtual void setValue ( const char *s ) > { > puValue::setValue ( s ) ; > delete displayed_text ; displayed_text = NULL ; > } > > virtual void setValue ( bool b ) > { > puValue::setValue ( b ) ; > delete displayed_text ; displayed_text = NULL ; > } > > m. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > plib-devel mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-devel |