Make Clear() virtual in wxItemContainer base class.
This ensures that overridden wxComboBox::Clear() is called even when it's invoked via a pointer or a reference to wxItemContainer (and not just one to wxComboBox itself or its other base wxTextEntry). Closes #16654. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
38016a11ad
commit
b1989ee7fe
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ public:
|
|||
// deleting items
|
||||
// --------------
|
||||
|
||||
void Clear();
|
||||
virtual void Clear();
|
||||
void Delete(unsigned int pos);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue