]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
Renamed DrawCheckButton due to conflict with existing and public api of wxUniversal...
[wxWidgets.git] / src / generic / treectlg.cpp
index e190fde07597916942262128004c40774763d715..a53683327480208a01bba972be59382afe753e0b 100644 (file)
@@ -2323,7 +2323,7 @@ void wxGenericTreeCtrl::PaintLevel( wxGenericTreeItem *item, wxDC &dc, int level
 
     if (IsExposed(exposed_x, exposed_y, 10000, h))  // 10000 = very much
     {
-        wxPen *pen =
+        const wxPen *pen =
 #ifndef __WXMAC__
             // don't draw rect outline if we already have the
             // background color under Mac