[wx 2.6.3.3, gentoo linux GTK, GCC 3.4.6 ] wxImageHandler GetName() unicode bug

Gábor Szuromi kukkerman at gmail.com
Thu Feb 15 02:49:32 PST 2007


Hi!

    I run into a bug in the wxGTK 2.6.3.3 unicode build concerning
wxImageHandler. When I acquire the list of image handlers the length
of the string returned by GetName() or GetExtension() methods of a
handler class is usually 1 and only contains only the first character
of the string returned in the ansi build.
   It's not a unicode -> ansi conversion error because it worked
perfectly in the 2.6.3.2 version. I've attached a small source. Try to
compile it with unicode and ansi build and see the difference.

Gabe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagehandler_unicode_bug.cpp
Type: application/octet-stream
Size: 387 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070215/7f=
e728a0/imagehandler_unicode_bug.obj


More information about the wx-users mailing list