From 642163b5a0b9e6147b21f759abb47284ec637765 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 19 Dec 2001 21:26:25 +0000 Subject: [PATCH] changed return type of RGBColor to const Reference (avoiding compiler warnings) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/colour.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/mac/colour.h b/include/wx/mac/colour.h index a811708f72..3369e9006b 100644 --- a/include/wx/mac/colour.h +++ b/include/wx/mac/colour.h @@ -76,7 +76,7 @@ public: void InitFromName(const wxString& col); - const WXCOLORREF GetPixel() const { return m_pixel; }; + const WXCOLORREF& GetPixel() const { return m_pixel; }; private: bool m_isInit;