]> git.saurik.com Git - wxWidgets.git/commitdiff
Better make it a const reference then.
authorOve Kaaven <ovek@arcticnet.no>
Mon, 3 Jan 2000 20:00:44 +0000 (20:00 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Mon, 3 Jan 2000 20:00:44 +0000 (20:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/html/htmlcell.h

index d073212e79a40dc1d30b5e51fff6654a66b6c41d..f839504b53506fa7f77892c89f190a67466f0ad5 100644 (file)
@@ -247,7 +247,7 @@ class WXDLLEXPORT wxHtmlColourCell : public wxHtmlCell
         wxColour m_Colour;
         unsigned m_Flags;
 
-        wxHtmlColourCell(wxColour& clr, int flags = wxHTML_CLR_FOREGROUND) : wxHtmlCell() {m_Colour = clr; m_Flags = flags;}
+        wxHtmlColourCell(const wxColour& clr, int flags = wxHTML_CLR_FOREGROUND) : wxHtmlCell() {m_Colour = clr; m_Flags = flags;}
         virtual void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2);
         virtual void DrawInvisible(wxDC& dc, int x, int y);
 };