From: Francesco Montorsi Date: Mon, 22 Sep 2008 18:21:32 +0000 (+0000) Subject: ifacecheck fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/62a7da7532e246849c6f308f1ca90ffe42617e99?ds=inline ifacecheck fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/checkbox.h b/interface/wx/checkbox.h index fbd6f33f90..94bad36548 100644 --- a/interface/wx/checkbox.h +++ b/interface/wx/checkbox.h @@ -162,6 +162,6 @@ public: Asserts when the checkbox is a 2-state checkbox and setting the state to wxCHK_UNDETERMINED. */ - virtual void Set3StateValue(const wxCheckBoxState state); + void Set3StateValue(wxCheckBoxState state); }; diff --git a/interface/wx/checklst.h b/interface/wx/checklst.h index bb1421167f..8287d5acdf 100644 --- a/interface/wx/checklst.h +++ b/interface/wx/checklst.h @@ -105,7 +105,7 @@ public: /** Destructor, destroying the list box. */ - ~wxCheckListBox(); + virtual ~wxCheckListBox(); /** Checks the given item. Note that calling this method does not result in @@ -116,7 +116,7 @@ public: @param check @true if the item is to be checked, @false otherwise. */ - void Check(int item, bool check = true); + void Check(unsigned int item, bool check = true); /** Returns @true if the given item is checked, @false otherwise. diff --git a/interface/wx/object.h b/interface/wx/object.h index c33355f97f..3caa4b6982 100644 --- a/interface/wx/object.h +++ b/interface/wx/object.h @@ -251,7 +251,7 @@ public: @return @true if the class represented by info is the same class as this one or is derived from it. */ - bool IsKindOf(wxClassInfo* info); + bool IsKindOf(const wxClassInfo* info); /** Returns @true if this object has the same data pointer as @a obj.