make pen/brush parameters const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -126,17 +126,17 @@ protected:
|
||||
virtual void DrawRombShades( wxPoint& p1, wxPoint& p2, wxPoint& p3, wxPoint& p4, wxDC& dc );
|
||||
|
||||
// Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
virtual void DrawOrtoRomb( wxRect& inRect, wxDC& dc, wxBrush& bkBrush );
|
||||
virtual void DrawOrtoRomb( wxRect& inRect, wxDC& dc, const wxBrush& bkBrush );
|
||||
|
||||
// Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
virtual void DrawRomb( wxRect& inRect, wxDC& dc, wxBrush& bkBrush );
|
||||
virtual void DrawRomb( wxRect& inRect, wxDC& dc, const wxBrush& bkBrush );
|
||||
|
||||
// Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
virtual void Draw3DRect( wxRect& inRect, wxDC& dc, wxBrush& bkBrush );
|
||||
virtual void Draw3DRect( wxRect& inRect, wxDC& dc, const wxBrush& bkBrush );
|
||||
|
||||
// Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
virtual void DrawRectShade( wxRect& inRect, wxDC& dc,
|
||||
int level, wxPen& upperPen, wxPen& lowerPen );
|
||||
int level, const wxPen& upperPen, const wxPen& lowerPen );
|
||||
|
||||
// Helper for drag and drop.
|
||||
virtual void GetRowHintRect( cbRowInfo* pRow, wxRect& rect );
|
||||
|
@@ -96,7 +96,7 @@ public:
|
||||
bool SetColumnWidth(int column, int colSize = 5, bool expandable = false);
|
||||
bool SetRowHeight(int row, int rowSize = 5, bool expandable = false);
|
||||
bool EnableGridLines(wxWindow *win);
|
||||
bool SetGridPen(wxPen *pen);
|
||||
bool SetGridPen(const wxPen *pen);
|
||||
void OnPaint(wxDC& dc);
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user