(wxGTK-2.7.0) small error in src/gtk/listbox.cpp

Yuri Borsky borsky at sbor.ru
Fri Nov 10 13:06:31 PST 2006


Hi everybody!

Looks like I've hit a small problem in wxGTK-2.7.0 (BTW, is it a right place
to report it?)

file is src/gtk/listbox.cpp  line: 643
function is wxListBox::GtkInsertItems()

Problem: convertion of wxString to GTK string is done via wxConvUTF8 instead
of usual macro wxGTK_CONV()

Result is when I add items in koi8-r encoding I get garbage and gtk error
messages, other controls show koi8 content just fine.

I changed the line to use wxGTK_CONV() and this solved problem











More information about the wx-users mailing list