> wx.wxDateTime():ParseDate("25 may 2012", wx.wxString_const_iterator())
>
> works and returns the same value as IsValid but is a bit overwhelming.
Yes, I can simply override it and return two values, [bool success,
integer position of error], but the position will only be valid for
non-unicode s
Andre Arpin writes:
>
> Error using ParseDate
>
> wx.wxDateTime():ParseDate("25 May 2012")
>
wx.wxDateTime():ParseDate("25 may 2012", wx.wxString_const_iterator())
works and returns the same value as IsValid but is a bit overwhelming.
Andre
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), strin