From 02e817a239578c4878150d0b70542e57eb9614ef Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 5 May 2007 10:13:53 +0000 Subject: [PATCH] Compilo. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/treectlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index cd500b62a3..cebbbae872 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -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;