From: Stefan Csomor Date: Wed, 19 Dec 2001 21:26:25 +0000 (+0000) Subject: changed return type of RGBColor to const Reference (avoiding compiler warnings) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/642163b5a0b9e6147b21f759abb47284ec637765 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 --- 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;