X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c8392cac2d36d0d211432e71d3b24d3d93c22db..7a5a5718592cb0873374e6ebc66d12a153d5acea:/include/wx/vlbox.h diff --git a/include/wx/vlbox.h b/include/wx/vlbox.h index dde8cbf7ca..9e5bf64c5b 100644 --- a/include/wx/vlbox.h +++ b/include/wx/vlbox.h @@ -92,6 +92,9 @@ 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 wxVScrolledWindow::IsCurrent(); } + #endif // is this item selected? bool IsSelected(size_t item) const; @@ -186,6 +189,10 @@ public: void SetSelectionBackground(const wxColour& col); + virtual void ApplyParentThemeBackground(const wxColour& WXUNUSED(bg)) + { /* do nothing */ } + + protected: // the derived class must implement this function to actually draw the item // with the given index on the provided DC