Reinsert missing ctor removed in date/time tidy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1173,6 +1173,14 @@ wxVariant::wxVariant( void* val, const wxString& name)
|
||||
m_name = name;
|
||||
}
|
||||
|
||||
#if wxUSE_DATETIME
|
||||
wxVariant::wxVariant(const wxDateTime& val, const wxString& name) // Date
|
||||
{
|
||||
m_data = new wxVariantDataDateTime(val);
|
||||
m_name = name;
|
||||
}
|
||||
#endif // wxUSE_DATETIME
|
||||
|
||||
#if wxUSE_ODBC
|
||||
wxVariant::wxVariant(const TIME_STRUCT* valptr, const wxString& name) // Date
|
||||
{
|
||||
|
Reference in New Issue
Block a user