removed the warnings from HP-UX build log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1660,7 +1660,7 @@ void wxTreeCtrl::PaintItem(wxGenericTreeItem *item, wxDC& dc)
|
||||
}
|
||||
|
||||
dc.SetBackgroundMode(wxTRANSPARENT);
|
||||
int extraH = (total_h > text_h) ? (total_h - text_h)/2 : 0;
|
||||
long extraH = (total_h > text_h) ? (total_h - text_h)/2 : 0;
|
||||
dc.DrawText( item->GetText(),
|
||||
(wxCoord)(image_w + item->GetX()),
|
||||
(wxCoord)(item->GetY() + extraH));
|
||||
|
Reference in New Issue
Block a user