Re: bug in wx.choice and possibly other controls

Alexander Olk <[email protected]> Fri, 03 Sep 2004 11:15:52 +0200
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <1094202952.3479.4.camel@Dellkiste>
Am Fr, den 03.09.2004 schrieb Pedro Cardoso um 0:43:
> Hi there is a bug in wx.choice and possibly other controls under linux
> (under Windows the sample code works fine) the bug is that when the control
> is invisible the label property becomes null when it should maintain the
> value that the control has when it is visible.

> BUG: This code under linux never changes the title property when we resize
> the window.

Use StringSelection (comboBox1.StringSelection) instead of Label.
That will work on every platform. wxComboBox.GetLabel isn't implemented
in wxGTK...

-- 
Alexander Olk



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click