]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilo.
authorRobert Roebling <robert@roebling.de>
Sat, 5 May 2007 10:13:53 +0000 (10:13 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 5 May 2007 10:13:53 +0000 (10:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/treectlg.cpp

index cd500b62a375864b940d1b336ba49e071093646c..cebbbae8727500dea69c7db93ad85bed91b4fe3b 100644 (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;