git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-05-05 10:13:53 +00:00
parent c8b26ef59e
commit 02e817a239

View File

@ -2148,7 +2148,7 @@ void wxGenericTreeCtrl::PaintItem(wxGenericTreeItem *item, wxDC& dc)
else if (item->IsBold())
dc.SetFont(m_boldFont);
long text_w = 0, text_h = 0;
wxCoord text_w = 0, text_h = 0;
dc.GetTextExtent( item->GetText(), &text_w, &text_h );
int image_h = 0, image_w = 0;