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:
Simon Richter
2015-06-30 15:58:29 +02:00
committed by Vadim Zeitlin
parent de38b5da25
commit 711827a6ee

View File

@@ -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 );