some const

This commit is contained in:
Paul Licameli 2017-06-04 11:52:56 -04:00
parent 9816cc8c7b
commit 71b63843a7
3 changed files with 6 additions and 6 deletions

View File

@ -321,9 +321,9 @@ void TrackArtist::SetInset(int left, int top, int right, int bottom)
void TrackArtist::DrawTracks(TrackList * tracks,
Track * start,
wxDC & dc,
wxRegion & reg,
wxRect & rect,
wxRect & clip,
const wxRegion & reg,
const wxRect & rect,
const wxRect & clip,
const SelectedRegion &selectedRegion,
const ZoomInfo &zoomInfo,
bool drawEnvelope,

View File

@ -53,8 +53,8 @@ class AUDACITY_DLL_API TrackArtist {
void SetColours();
void DrawTracks(TrackList *tracks, Track *start,
wxDC & dc, wxRegion & reg,
wxRect & rect, wxRect & clip,
wxDC & dc, const wxRegion & reg,
const wxRect & rect, const wxRect & clip,
const SelectedRegion &selectedRegion, const ZoomInfo &zoomInfo,
bool drawEnvelope, bool bigPoints, bool drawSliders);

View File

@ -7091,7 +7091,7 @@ void TrackPanel::DrawTracks(wxDC * dc)
{
wxRegion region = GetUpdateRegion();
wxRect clip = GetRect();
const wxRect clip = GetRect();
wxRect panelRect = clip;
panelRect.y = -mViewInfo->vpos;