added another ParseFormat() overload for better backwards compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3395,7 +3395,7 @@ wxDateTime::ParseFormat(const wxString& date,
|
||||
case _T('r'): // time as %I:%M:%S %p
|
||||
{
|
||||
wxDateTime dt;
|
||||
input = dt.ParseFormat(input, _T("%I:%M:%S %p"));
|
||||
input = dt.ParseFormat(input, wxS("%I:%M:%S %p"));
|
||||
if ( !input )
|
||||
{
|
||||
// no match
|
||||
@@ -3414,7 +3414,7 @@ wxDateTime::ParseFormat(const wxString& date,
|
||||
case _T('R'): // time as %H:%M
|
||||
{
|
||||
wxDateTime dt;
|
||||
input = dt.ParseFormat(input, _T("%H:%M"));
|
||||
input = dt.ParseFormat(input, wxS("%H:%M"));
|
||||
if ( !input )
|
||||
{
|
||||
// no match
|
||||
|
Reference in New Issue
Block a user