X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..9804c4d95c3c8abb492e24f5f7e989016fee53f1:/include/wx/variant.h diff --git a/include/wx/variant.h b/include/wx/variant.h index 707b009d43..a618b1da57 100644 --- a/include/wx/variant.h +++ b/include/wx/variant.h @@ -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();