]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/variant.h
undid last 2 commits, there are many more cases like this so it's better to fix this...
[wxWidgets.git] / include / wx / variant.h
index 707b009d43bcef299d9524e51fdfc6f61d1e558c..a618b1da5729177d3a3bb075b77cda55d910abfc 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        variant.h
+// Name:        wx/variant.h
 // Purpose:     wxVariant class, container for any type
 // Author:      Julian Smart
 // Modified by:
@@ -109,7 +109,7 @@ public:
 #endif
 
     wxVariant(const wxVariant& variant);
-    ~wxVariant();
+    virtual ~wxVariant();
 
 // Generic operators
     // Assignment
@@ -207,7 +207,7 @@ public:
     bool IsValueKindOf(const wxClassInfo* type) const;
 
     // Return the number of elements in a list
-    int GetCount() const;
+    size_t GetCount() const;
 
 // Value accessors
     double GetReal() const ;
@@ -245,7 +245,7 @@ public:
     bool Member(const wxVariant& value) const;
 
     // Deletes the nth element of the list
-    bool Delete(int item);
+    bool Delete(size_t item);
 
     // Clear list
     void ClearList();