compilation fix for last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2074,7 +2074,8 @@ bool wxVariant::Convert(wxDateTime* value) const
|
||||
}
|
||||
// Fallback to string conversion
|
||||
wxString val;
|
||||
return Convert(&val) && (value->ParseDateTime(val) || value->ParseDate());
|
||||
return Convert(&val) &&
|
||||
(value->ParseDateTime(val) || value->ParseDate(val));
|
||||
}
|
||||
#endif // wxUSE_DATETIME
|
||||
|
||||
|
Reference in New Issue
Block a user