Hi, list, I have a very strange error. On previous versions this works.
The value seted and returned from wxListBox are diferent. The value seted is 'Amanhã'. print(list:GetStringSelection()=='Amanhã') -> false But the interface show the same strings. Then I tested to encode the string, and the result is: print( encode( list:GetStringSelection())==encode('Amanhã') ) -> 416d616e68c3a3, 416d616e68e3 The locale is: lua locale: setlocale() -> Portuguese_Brazil.1252 wx locale: wx.wxGetLocale -> pt_BR What's happening? -- Marcos E. Wurzius _______________________________________________________ Yahoo! Mail - Sempre a melhor opção para você! Experimente já e veja as novidades. http://br.yahoo.com/mailbeta/tudonovo/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users