Hi everyone,

I found a problem in win32 wrt unicode things. My test program is simple a multiline text widgets ; cut and paste a unicode text into the widgets and display the value using GetValue() by wx.wxMesasgeBox. In Linux it is working as expected. But in win2k, winXP , win98, it does not display anything pssibly the value is nil. If the text is not unicoded then it displayed correctly.

Wxwidgets in win32 compiled with unicode support and mslu support. Normal wx apps is fine.

wxLua is the snapshot  wxLua_Snapshot_2006-06-21.tar.gz

Is it a known problem and has been fixed in the current snapshot ? How to debug (if it is a bug then )

The following is the code smaple


f=wx.wxFrame(wx.wxNull, -1, "")
s0=wx.wxBoxSizer(wx.wxVERTICAL)
f:SetSizer(s0)
text=wx.wxTextCtrl(f, 10004,  "",  wx.wxDefaultPosition, wx.wxDefaultSize, wx.wxTE_MULTILINE)
b0=wx.wxButton(f, 10000, "Display")
s0:AddWindow(text)
s0:AddWindow(b0)

f:Connect(-1, wx.wxEVT_COMMAND_BUTTON_CLICKED, function (e)

wx.wxMessageBox(text:GetValue())

end)

f:Show(true)

Cheers,



S.KIEU

Send instant messages to your online friends http://au.messenger.yahoo.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wxlua-users mailing list
Wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to