attributes |= kDataBrowserAttributeListViewDrawColumnDividers;
else
attributes &= ~kDataBrowserAttributeListViewDrawColumnDividers;
+
+ if ((style & wxDV_ROW_LINES) != 0)
+ attributes |= kDataBrowserAttributeListViewAlternatingRowColors;
+
(void) this->SetAttributes(attributes);
} /* if */
columnIndex,sortOrder != kDataBrowserOrderDecreasing) < 0);
} /* wxMacDataViewDataBrowserListViewControl::DataBrowserCompareProc(DataBrowserItemID, DataBrowserItemID, DataBrowserPropertyID) */
-void wxMacDataViewDataBrowserListViewControl::DataBrowserDrawItemProc(DataBrowserItemID itemID, DataBrowserPropertyID propertyID, DataBrowserItemState state, Rect const* rectangle, SInt16 bitDepth, Boolean colorDevice)
+void wxMacDataViewDataBrowserListViewControl::DataBrowserDrawItemProc(DataBrowserItemID itemID, DataBrowserPropertyID propertyID, DataBrowserItemState state, Rect const* rectangle, SInt16 WXUNUSED(bitDepth), Boolean WXUNUSED(colorDevice))
{
DataBrowserTableViewColumnIndex columnIndex;
if (errorStatus == noErr)
{
// variable definitions and initializations:
- wxMacCFStringHolder modifiedString(stringReference);
+ wxCFStringRef modifiedString(stringReference);
wxVariant modifiedData(modifiedString.AsString());
if (dataViewCtrlPtr->GetModel()->SetValue(modifiedData,wxDataViewItem(reinterpret_cast<void*>(itemID)),static_cast<unsigned int>(columnIndex)))