From: John L. <jla...@gm...> - 2012-05-17 20:37:16
|
> 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 strings. I guess that's better than nothing. I'll look into it tonight. Regards, John ps. Yes the console is a work in progress. I will eventually add it to the bindings so that from within a wxLua program you can show it. |