From 571f8dae5e4827e3f2a5dbd6ec6c9b33afa594e2 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Mon, 3 Jan 2000 19:57:59 +0000 Subject: [PATCH] Make wxColour parameter be passed by reference to inline method, so it can be inlined by BC++. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/html/htmlcell.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index 4ef6cf4a6d..d073212e79 100644 --- a/include/wx/html/htmlcell.h +++ b/include/wx/html/htmlcell.h @@ -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(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); };