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

@@ -84,6 +84,8 @@ public:
virtual ~wxBitmapComboBox();
virtual wxString GetStringSelection() const wxOVERRIDE;
// Adds item with image to the end of the combo box.
int Append(const wxString& item, const wxBitmap& bitmap = wxNullBitmap);
int Append(const wxString& item, const wxBitmap& bitmap, void *clientData);