Remove duplicate code from wxGTK wxDataViewCtrl.
Code checking got wxDATAVIEW_CELL_INSENSITIVE was repeated twice, leave just one copy of it. Closes #17047.
This commit is contained in:
committed by
Vadim Zeitlin
parent
de38b5da25
commit
711827a6ee
@@ -1494,8 +1494,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