On 19/04/2012 05:27, John Labenski wrote:
> What version of wxWidgets are you using?  2.8 or 2.9

This was with 2.8.12; I just built wxLua against 2.9.3 and tried again, 
and it's now returning an empty string instead of nil.  I'm building 
with TDM-GCC, if it makes any difference.

> What is the text that you are trying to use?

require"wx"
a = wx.wxTextEntryDialog(wx.wxFrame(), "test тест テスト")
a:ShowModal()
print(a:GetValue())

The caption appears as "test" and then garbage characters, and if I 
paste "test тест テスト" into the dialog, GetValue returns nil under 2.8 
and an empty string under 2.9.  "test" on its own works as expected.


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to