]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/pen.cpp
fixing 64-32 bit conversion warnings, no brush must be set for color bitmaps, only...
[wxWidgets.git] / src / mac / carbon / pen.cpp
index 8d6461dd9746fcf3b0bb3f81aff42af7e6068164..260f1abc8280e34c462f84aea026b9ee11519f68 100644 (file)
@@ -162,7 +162,7 @@ bool wxPen::operator==(const wxPen& pen) const
     return m_refData ? penData && *M_PENDATA == *penData : !penData;
 }
 
-wxColour& wxPen::GetColour() const
+wxColour wxPen::GetColour() const
 {
     wxCHECK_MSG( Ok(), wxNullColour, wxT("invalid pen") );