Implement GetStringSelection() in generic wxBitmapComboBox

Also update the test to avoid assuming that wxBitmapComboBox inherits
from wxComboBox, which now allows it to build (and pass) on all
platforms.

Closes https://github.com/wxWidgets/wxWidgets/pull/2057
This commit is contained in:
oneeyeman1
2020-09-23 03:01:02 -05:00
committed by Vadim Zeitlin
parent 1f0ade29f0
commit 61ef150044
3 changed files with 14 additions and 8 deletions

View File

@@ -135,6 +135,11 @@ wxBitmapComboBox::~wxBitmapComboBox()
DoClear();
}
wxString wxBitmapComboBox::GetStringSelection() const
{
return wxItemContainer::GetStringSelection();
}
// ----------------------------------------------------------------------------
// Item manipulation
// ----------------------------------------------------------------------------