Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c8b26ef59e
commit
02e817a239
@ -2148,7 +2148,7 @@ void wxGenericTreeCtrl::PaintItem(wxGenericTreeItem *item, wxDC& dc)
|
|||||||
else if (item->IsBold())
|
else if (item->IsBold())
|
||||||
dc.SetFont(m_boldFont);
|
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 );
|
dc.GetTextExtent( item->GetText(), &text_w, &text_h );
|
||||||
|
|
||||||
int image_h = 0, image_w = 0;
|
int image_h = 0, image_w = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user