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) =
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
Hello
the following behaviour might be intended:
wx.wxFileName.GetCwd() -- works
-- wx.wxFileName:GetCwd()does not work
cwd = wx.wxFileName.Cwd -- works (but unexpectedly sets cwd to nil)
-- given
fn = wx.wxFileName("xx.lua")
-- then
fn.GetCwd() --works -- would expect