]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/pen.cpp
GetPixel isn't returning RGBColor anymore, so change call
[wxWidgets.git] / src / dfb / pen.cpp
index c71488b5875281abaa42ad9ffe2e68b9383ddcb4..4db8f6df5514e030702cb2d52741ca58e447d59f 100644 (file)
@@ -183,7 +183,7 @@ int wxPen::GetWidth() const
     return 1;
 }
 
-wxColour &wxPen::GetColour() const
+wxColour wxPen::GetColour() const
 {
     wxCHECK_MSG( Ok(), wxNullColour, wxT("invalid pen") );