Basically, the wx.CheckListBox control changes to a different font
after appending items to the list. This is a somewhat random effect,
since it doesn't consistently happen in my program. Once the text has
changed, it stays at the larger font. I haven't tried using SetFont
to counteract the effect.
I am using MS Windows XP, python 2.6.5, wxpython 2.8.10.1 unicode.
On Windows the wx.CheckListBox is basically just the native ListBox widget placed into an owner-drawn mode, so perhaps there is a bug in the owner-drawing portion of the code. Please create a ticket for this issue at wxTrac. See wxTrac has been migrated to GitHub Issues - wxWidgets
···
On 4/23/10 1:16 PM, Mike wrote:
Hello all,
I am experiencing the problem as described in this thread:
Basically, the wx.CheckListBox control changes to a different font
after appending items to the list. This is a somewhat random effect,
since it doesn't consistently happen in my program. Once the text has
changed, it stays at the larger font. I haven't tried using SetFont
to counteract the effect.
I am using MS Windows XP, python 2.6.5, wxpython 2.8.10.1 unicode.
Manually setting the font (ie, SetFont) appears to solve the problem.
Still, the font
should probably not change by itself. I've created a low priority
ticket on the wiki.
Thanks for your advice.
Mike
···
On Apr 26, 11:26 am, Robin Dunn <ro...@alldunn.com> wrote:
On 4/23/10 1:16 PM, Mike wrote:
> Hello all,
> I am experiencing the problem as described in this thread:
> Basically, the wx.CheckListBox control changes to a different font
> after appending items to the list. This is a somewhat random effect,
> since it doesn't consistently happen in my program. Once the text has
> changed, it stays at the larger font. I haven't tried using SetFont
> to counteract the effect.
> I am using MS Windows XP, python 2.6.5, wxpython 2.8.10.1 unicode.
On Windows the wx.CheckListBox is basically just the native ListBox
widget placed into an owner-drawn mode, so perhaps there is a bug in the
owner-drawing portion of the code. Please create a ticket for this
issue at wxTrac. Seehttp://trac.wxwidgets.org/wiki/HowToSubmitTicket
--
Robin Dunn
Software Craftsmanhttp://wxPython.org
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visithttp://groups.google.com/group/wxPython-users?hl=en