]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/pen.cpp
delay setting the window shape until it is realized (slightly modified patch 1935497)
[wxWidgets.git] / src / gtk1 / pen.cpp
index e7202df6e7030b1defa8f7eeb44375d76177d02e..2ca4c94bd79838e785fc60c309c7ef0184ceb26e 100644 (file)
@@ -230,7 +230,7 @@ int wxPen::GetWidth() const
     return M_PENDATA->m_width;
 }
 
-wxColour &wxPen::GetColour() const
+wxColour wxPen::GetColour() const
 {
     wxCHECK_MSG( Ok(), wxNullColour, wxT("invalid pen") );