]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/htmlcell.h
fixed refresh problem with holidays in wxCalendarCtrl
[wxWidgets.git] / include / wx / html / htmlcell.h
index 4ef6cf4a6df7fe0f9b6493261c71bdba3c052fec..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);
 };