use wxRendererNative::DrawItemSelectionRect() to draw wxVListBox items background unless selection background colour is explicitly set (patch 1650804)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -189,6 +189,9 @@ public:
|
||||
// change the background colour of the selected cells
|
||||
void SetSelectionBackground(const wxColour& col);
|
||||
|
||||
// refreshes only the selected items
|
||||
void RefreshSelected();
|
||||
|
||||
|
||||
virtual wxVisualAttributes GetDefaultAttributes() const
|
||||
{
|
||||
@@ -235,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();
|
||||
|
Reference in New Issue
Block a user