From: strawman <str...@la...> - 2012-04-20 05:49:57
|
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. |