]> git.saurik.com Git - wxWidgets.git/commitdiff
adaption custom types to new macros
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 24 Aug 2003 23:39:37 +0000 (23:39 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 24 Aug 2003 23:39:37 +0000 (23:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/datetime.cpp
src/common/gdicmn.cpp

index 7e0815799cf2860a2778d1c5ff7b5ea5d1d09e22..45e40a662478bc0679f02fb23b448d44c4baa143 100644 (file)
@@ -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
 
index 78493ef396dff17b404e66c821d0b7b9c8433c28..2df1e3980b7ee1767040df3ce572291272862252 100644 (file)
@@ -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