Problem with unicode characters in buttons on Win7

label=u’\u2190’

      Whether

you can actually display those unicode values at runtime in
the UI is a totally separate matter.

    This is my point. Maybe his interpreter is having hard time

encoding those raw unicode codes into actual arrows. He should
have put the arrow characters in the string literal for the
characters to be correctly displayed on the button widget. Like
this: label=u’←’
label=u’⇄’ and label=u’→’

However, it does work with the same executable on my XP and Vista

systems - at least I have never seen it fail there. It did not work
on my Win 7x64 when I started this thread. After a reboot it worked,
then later it stopped working - another reboot and it worked again.
It seems like something changes on my system; perhaps by some other
application. Ideas anybody?

I also tried to change the font of the buttons to Arial, but it did

not help.

For now I have fallen back on the old solution with '->', '<-'

and ‘<->’. The reason I don’t use bitmap buttons is that I am
also using the arrows in the menu. Surprisingly the left and right
arrows worked in the menu but not the ‘left over right arrow’. I was
also using the angle sign (u’u\2220) in a context menu and that also
fails to display whenever the buttons fail.

Max
···

wxPython-users+unsubscribe@googlegroups.com
http://groups.google.com/group/wxPython-users?hl=en