Fix cell selection drawing in wxDVC on MSW with system theme
Keyboard focus rect when selecting a column was nearly invisible against the light background. Now the correct theme parts are used when drawing with UX theme and the old behavior (white focus rect) is used everywhere else. See #16414
This commit is contained in:
committed by
Vadim Zeitlin
parent
515fcc66e6
commit
4ac0250f90
@@ -62,6 +62,7 @@ enum
|
||||
wxCONTROL_EXPANDED = wxCONTROL_SPECIAL, // only for the tree items
|
||||
wxCONTROL_SIZEGRIP = wxCONTROL_SPECIAL, // only for the status bar panes
|
||||
wxCONTROL_FLAT = wxCONTROL_SPECIAL, // checkboxes only: flat border
|
||||
wxCONTROL_CELL = wxCONTROL_SPECIAL, // only for item selection rect
|
||||
wxCONTROL_CURRENT = 0x00000010, // mouse is currently over the control
|
||||
wxCONTROL_SELECTED = 0x00000020, // selected item in e.g. listbox
|
||||
wxCONTROL_CHECKED = 0x00000040, // (check/radio button) is checked
|
||||
|
Reference in New Issue
Block a user