diff --git a/include/wx/vlbox.h b/include/wx/vlbox.h index 387ea11984..ab6d8f3c32 100644 --- a/include/wx/vlbox.h +++ b/include/wx/vlbox.h @@ -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