X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..c3f941621e05420c0d81d7759321857e732eb8f7:/include/wx/os2/pen.h

diff --git a/include/wx/os2/pen.h b/include/wx/os2/pen.h
index dfcdb9f12f..f05f6382f6 100644
--- a/include/wx/os2/pen.h
+++ b/include/wx/os2/pen.h
@@ -58,7 +58,7 @@ public:
     void SetCap(wxPenCap nCap);
     void SetPS(HPS hPS);
 
-    wxColour& GetColour(void) const;
+    wxColour GetColour(void) const;
     int       GetWidth(void) const;
     wxPenStyle GetStyle(void) const;
     wxPenJoin  GetJoin(void) const;