]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/pen.cpp
Fixed and refactored wxPropertyGridManager decsription text box painting
[wxWidgets.git] / src / gtk1 / pen.cpp
index e7202df6e7030b1defa8f7eeb44375d76177d02e..8fa09cd73f178d2204351bacbeb75b949f5cf1ec 100644 (file)
@@ -31,7 +31,7 @@ public:
         m_style = wxPENSTYLE_SOLID;
         m_joinStyle = wxJOIN_ROUND;
         m_capStyle = wxCAP_ROUND;
-        m_dash = (wxGTKDash*) NULL;
+        m_dash = NULL;
         m_countDashes = 0;
     }
 
@@ -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") );