git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67843
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxGraphicsContext* gc = wxGraphicsContext::CreateFromNative(context);
dc.SetGraphicsContext(gc);
wxGraphicsContext* gc = wxGraphicsContext::CreateFromNative(context);
dc.SetGraphicsContext(gc);
- renderer->WXCallRender(wxFromNSRect(controlView, cellFrame), &dc, 0);
+ int state = 0;
+ if ( [self isHighlighted] )
+ state |= wxDATAVIEW_CELL_SELECTED;
+
+ renderer->WXCallRender(wxFromNSRect(controlView, cellFrame), &dc, state);
CGContextRestoreGState( context );
}
CGContextRestoreGState( context );
}