Error using ParseDate

wx.wxDateTime():ParseDate("25 May 2012")

Lua: Error while running chunk
E:\lua\tdate.lua:2: wxLua: Expected a 'wxString_const_iterator' for parameter 
3, 
but got a 'no value'.
Function called: 'ParseDate(wxDateTime, string)'
01. wxDateTime::ParseDate(wxDateTime(self), string, wxString_const_iterator)
stack traceback:
        [C]: in function 'ParseDate'
        E:\lua\tdate.lua:2: in main chunk

Lua: Error while running chunk

I think this should work

Andre

PS: Note on console copy button:
Copy contents to clipboard ... copies the selection to clipboard.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to