X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc5960727c6161aaf98e512e396ae1a021326de8..68a9527d5185cdd9d3fef3d9421415c50de8794d:/include/wx/vlbox.h diff --git a/include/wx/vlbox.h b/include/wx/vlbox.h index 307d807e21..b14bfd98f9 100644 --- a/include/wx/vlbox.h +++ b/include/wx/vlbox.h @@ -13,6 +13,7 @@ #define _WX_VLBOX_H_ #include "wx/vscroll.h" // base class +#include "wx/bitmap.h" class WXDLLEXPORT wxSelectionStore; @@ -188,11 +189,10 @@ public: // change the background colour of the selected cells void SetSelectionBackground(const wxColour& col); + // refreshes only the selected items + void RefreshSelected(); - virtual void ApplyParentThemeBackground(const wxColour& WXUNUSED(bg)) - { /* do nothing */ } - virtual wxVisualAttributes GetDefaultAttributes() const { return GetClassDefaultAttributes(GetWindowVariant()); @@ -200,7 +200,7 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); - + protected: // the derived class must implement this function to actually draw the item // with the given index on the provided DC @@ -238,7 +238,7 @@ protected: void OnKeyDown(wxKeyEvent& event); void OnLeftDown(wxMouseEvent& event); void OnLeftDClick(wxMouseEvent& event); - + void OnSetOrKillFocus(wxFocusEvent& event); // common part of all ctors void Init(); @@ -290,7 +290,6 @@ private: // the selection bg colour wxColour m_colBgSel; - DECLARE_EVENT_TABLE() DECLARE_NO_COPY_CLASS(wxVListBox) DECLARE_ABSTRACT_CLASS(wxVListBox)