I still think that's needed ...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2008-01-13 11:16:44 +00:00
parent 6490a288bb
commit 17a1e84615

View File

@@ -1029,6 +1029,8 @@ void wxMacDataViewDataBrowserListViewControl::DataBrowserDrawItemProc(DataBrowse
static_cast<int>(1+rectangle->right-rectangle->left),static_cast<int>(1+rectangle->bottom-rectangle->top)),
dataViewCustomRendererPtr->GetDC(),((state == kDataBrowserItemIsSelected) ? wxDATAVIEW_CELL_SELECTED : 0)));
dataViewCustomRendererPtr->GetDC()->DestroyClippingRegion(); // probably not necessary
// avoid stale information about the DC carried over
dataViewCustomRendererPtr->SetDC( NULL );
} /* wxMacDataViewDataBrowserListViewControl::DataBrowserDrawItemProc(DataBrowserItemID, DataBrowserPropertyID, DataBrowserItemState, Rect const*, SInt16, Boolean) */
Boolean wxMacDataViewDataBrowserListViewControl::DataBrowserEditItemProc(DataBrowserItemID itemID, DataBrowserPropertyID propertyID, CFStringRef theString, Rect* maxEditTextRect, Boolean* shrinkToFit)