mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 17:02:51 +08:00
Use base class IsCurrent() in wxUniv wxVListBox
Just make the base class function accessible in this class scope, this is better than redefining it and doesn't result in a -Wsuggest-override.
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ public:
|
||||
// is this item the current one?
|
||||
bool IsCurrent(size_t item) const { return item == (size_t)m_current; }
|
||||
#ifdef __WXUNIVERSAL__
|
||||
bool IsCurrent() const { return wxVScrolledCanvas::IsCurrent(); }
|
||||
using wxVScrolledCanvas::IsCurrent;
|
||||
#endif
|
||||
|
||||
// get current item
|
||||
|
||||
Reference in New Issue
Block a user