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:
Stefan Csomor
2003-08-24 23:39:37 +00:00
parent 492f9a9e9b
commit b6ac8ca0ff
2 changed files with 3 additions and 3 deletions

View File

@@ -94,7 +94,7 @@ template<> void wxStringWriteValue(wxString &s , const wxDateTime &data )
s = data.Format(wxT("%Y-%m-%d %H:%M:%S")) ; 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 #endif

View File

@@ -89,7 +89,7 @@ template<> void wxStringWriteValue(wxString & , wxPoint* const & )
assert(0) ; assert(0) ;
} }
WX_CUSTOM_TYPE_INFO(wxPoint) WX_CUSTOM_TYPE_INFO(wxPoint, wxToStringConverter<wxPoint> , wxFromStringConverter<wxPoint>)
template<> void wxStringReadValue(const wxString &s , wxSize &data ) template<> void wxStringReadValue(const wxString &s , wxSize &data )
{ {
@@ -111,7 +111,7 @@ template<> void wxStringWriteValue(wxString & , wxSize * const & )
assert(0) ; assert(0) ;
} }
WX_CUSTOM_TYPE_INFO(wxSize) WX_CUSTOM_TYPE_INFO(wxSize, wxToStringConverter<wxSize> , wxFromStringConverter<wxSize>)
#endif #endif