]> git.saurik.com Git - wxWidgets.git/commitdiff
Committing in .
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 24 Apr 2003 13:51:53 +0000 (13:51 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 24 Apr 2003 13:51:53 +0000 (13:51 +0000)
 reinstalled one wxvariant instance which is used in dbgrid.cpp

 Modified Files:
  wxWindows/src/common/variant.cpp
 ----------------------------------------------------------------------

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/variant.cpp

index 7994a92651673a8e1a81b69a108d01c10d4393c6..2a0982c6feb910ef84b9e9fa9b62998de4f29e76 100644 (file)
@@ -1167,6 +1167,12 @@ wxVariant::wxVariant(const wxList& val, const wxString& name) // List of variant
     m_name = name;
 }
 
     m_name = name;
 }
 
+wxVariant::wxVariant( void* val, const wxString& name)
+{
+   m_data = new wxVariantDataVoidPtr(val);
+   m_name = name;
+}
+
 #if wxUSE_ODBC
 wxVariant::wxVariant(const TIME_STRUCT* valptr, const wxString& name) // Date
 {
 #if wxUSE_ODBC
 wxVariant::wxVariant(const TIME_STRUCT* valptr, const wxString& name) // Date
 {