wxTreeCtrl::~wxTreeCtrl()
{
+ if (m_hilightBrush) delete m_hilightBrush;
+ if (m_anchor) delete m_anchor;
}
bool wxTreeCtrl::Create(wxWindow *parent, wxWindowID id,
}
}
-void wxTreeCtrl::PaintLevel( wxGenericTreeItem *item, wxPaintDC &dc, int level, int &y )
+void wxTreeCtrl::PaintLevel( wxGenericTreeItem *item, wxDC &dc, int level, int &y )
{
int horizX = level*m_indent;
}
}
-void wxTreeCtrl::CalculateLevel( wxGenericTreeItem *item, wxPaintDC &dc, int level, int &y )
+void wxTreeCtrl::CalculateLevel( wxGenericTreeItem *item, wxDC &dc, int level, int &y )
{
int horizX = level*m_indent;