]> git.saurik.com Git - wxWidgets.git/commit
Don't return a dangling pointer from wxDateTime::ParseXXX(wxCStrData).
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 May 2012 21:37:25 +0000 (21:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 May 2012 21:37:25 +0000 (21:37 +0000)
commitae8079a2109cc4cfe27fe5de16679726dd7660ca
tree63e6476ee31bb0dd411bc2ecc7dfd114ce9d6038
parent2ed48ef81e612403f8af51374e1e705989a60e0f
Don't return a dangling pointer from wxDateTime::ParseXXX(wxCStrData).

We don't have any sufficiently long-lived pointer to return from this
overload, so don't return anything from it -- it's better to break the
compilation of the existing code rather than make it crash during run-time.

Closes #14214.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/datetime.h