I have tried to resolve this crash but I am getting nowhere.
-----------------------------------------
f = wx.wxFrame(wx.NULL, -1, "Hello")

gridtable = wx.wxLuaGridTableBase();
function gridtable:GetNumberCols ()  return  1 end
function gridtable:GetNumberRows () return  1 end
function gridtable:GetValue (row, col) return  99 end
grid = wx.wxGrid(f, wx.wxID_ANY)
grid:SetTable(gridtable)
gridtable:SetView( grid )

f:Show(true)
---------------------------------------

The problem is in thje function gridtable:GetValue the return type is wrong it 
should be string instead of a number.

It seems that the GetwxStringType is checking for the argument of a function 
instead of a return value. I really do not understand the code enough to find 
a fix. I work on it for a number of hours and finally gave up. 

I hope you can figure this out.

Andre

PS: Thank you for fixing the enum


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to