adaption custom types to new macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
492f9a9e9b
commit
b6ac8ca0ff
@ -94,7 +94,7 @@ template<> void wxStringWriteValue(wxString &s , const wxDateTime &data )
|
||||
s = data.Format(wxT("%Y-%m-%d %H:%M:%S")) ;
|
||||
}
|
||||
|
||||
WX_CUSTOM_TYPE_INFO(wxDateTime)
|
||||
WX_CUSTOM_TYPE_INFO(wxDateTime, wxToStringConverter<wxDateTime> , wxFromStringConverter<wxDateTime>)
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -89,7 +89,7 @@ template<> void wxStringWriteValue(wxString & , wxPoint* const & )
|
||||
assert(0) ;
|
||||
}
|
||||
|
||||
WX_CUSTOM_TYPE_INFO(wxPoint)
|
||||
WX_CUSTOM_TYPE_INFO(wxPoint, wxToStringConverter<wxPoint> , wxFromStringConverter<wxPoint>)
|
||||
|
||||
template<> void wxStringReadValue(const wxString &s , wxSize &data )
|
||||
{
|
||||
@ -111,7 +111,7 @@ template<> void wxStringWriteValue(wxString & , wxSize * const & )
|
||||
assert(0) ;
|
||||
}
|
||||
|
||||
WX_CUSTOM_TYPE_INFO(wxSize)
|
||||
WX_CUSTOM_TYPE_INFO(wxSize, wxToStringConverter<wxSize> , wxFromStringConverter<wxSize>)
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user