GetCurrentSelection() was documented but not present in all ports (just MSW and GTK); moved it to the base classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-30 16:04:27 +00:00
parent 4614c8e528
commit c63312c472
8 changed files with 22 additions and 7 deletions

View File

@@ -59,6 +59,10 @@ public:
virtual bool CanUndo() const = 0;
virtual bool CanRedo() const = 0;
// may return value different from GetSelection() when the combobox
// dropdown is shown and the user selected, but not yet accepted, a value
// different from the old one in it
virtual int GetCurrentSelection() const { return GetSelection(); }
// redeclare inherited SetSelection() overload here as well to avoid
// virtual function hiding