]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/variant.cpp
Put some life into GTK 2.0 drawing.
[wxWidgets.git] / src / common / variant.cpp
index 859f722a799739a856055f178520eb7d45a68877..894c1cf9aa3f5171806753a6ba133bb690b2177f 100644 (file)
@@ -1436,8 +1436,10 @@ void wxVariant::operator= (const wxVariant& variant)
             delete m_data;
         m_data = (wxVariantData*) variant.GetData()->GetClassInfo()->CreateObject();
     }
-//    GetData()->Copy(* variant.GetData());
+
     variant.GetData()->Copy(* GetData());
+
+    m_name = variant.m_name;
 }
 
 // Assignment using data, e.g.