xti additions / changes, trying to reduce dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -82,6 +82,23 @@
|
||||
|
||||
const long wxDateTime::TIME_T_FACTOR = 1000l;
|
||||
|
||||
#if wxUSE_EXTENDED_RTTI
|
||||
|
||||
template<> void wxStringReadValue(const wxString &s , wxDateTime &data )
|
||||
{
|
||||
data.ParseFormat(s,wxT("%Y-%m-%d %H:%M:%S")) ;
|
||||
}
|
||||
|
||||
template<> void wxStringWriteValue(wxString &s , const wxDateTime &data )
|
||||
{
|
||||
s = data.Format(wxT("%Y-%m-%d %H:%M:%S")) ;
|
||||
}
|
||||
|
||||
WX_CUSTOM_TYPE_INFO(wxDateTime)
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
// ----------------------------------------------------------------------------
|
||||
// conditional compilation
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user