Re: [wxlua-users] wxlua syntax of static function

2007-06-13 Thread Andre
John Labenski <[EMAIL PROTECTED]> writes: > be more confusing than anything to also add 'Cwd' to the table. Try > the code below. > > for k, v in pairs(wx.wxFileName) do print(k, v) end the following code can be used see all the static name for index, value in pairs(wx) do if type(value) =

Re: [wxlua-users] wxlua syntax of static function

2007-06-12 Thread John Labenski
On 6/12/07, Andre <[EMAIL PROTECTED]> wrote: > Hello > > the following behaviour might be intended: > > wx.wxFileName.GetCwd() -- works >-- wx.wxFileName:GetCwd()does not work This is right, there is no way to know if the lua code uses '.' or ':' (which pushes the self onto