]> git.saurik.com Git - wxWidgets.git/commitdiff
changed return type of RGBColor to const Reference (avoiding compiler warnings)
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 19 Dec 2001 21:26:25 +0000 (21:26 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 19 Dec 2001 21:26:25 +0000 (21:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/colour.h

index a811708f72925205bb57787d9716b52350dd4a0a..3369e9006b172238032d01916696009fceabf955 100644 (file)
@@ -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;