Remove duplicate code from wxGTK wxDataViewCtrl.
Code checking got wxDATAVIEW_CELL_INSENSITIVE was repeated twice, leave just
one copy of it.
Closes #17047.
(cherry picked from commit 711827a6ee
)
This commit is contained in:
committed by
Paul Cornett
parent
a5cf08fcbd
commit
0ebeb6fa73
@@ -1482,8 +1482,6 @@ gtk_wx_cell_renderer_render (GtkCellRenderer *renderer,
|
||||
state |= wxDATAVIEW_CELL_PRELIT;
|
||||
if (flags & GTK_CELL_RENDERER_INSENSITIVE)
|
||||
state |= wxDATAVIEW_CELL_INSENSITIVE;
|
||||
if (flags & GTK_CELL_RENDERER_INSENSITIVE)
|
||||
state |= wxDATAVIEW_CELL_INSENSITIVE;
|
||||
if (flags & GTK_CELL_RENDERER_FOCUSED)
|
||||
state |= wxDATAVIEW_CELL_FOCUSED;
|
||||
cell->WXCallRender( rect, dc, state );
|
||||
|
Reference in New Issue
Block a user