Warning fix for VC5

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2007-06-05 15:21:24 +00:00
parent 56df653964
commit 1880068bb9

View File

@@ -2223,8 +2223,7 @@ void wxGenericTreeCtrl::PaintItem(wxGenericTreeItem *item, wxDC& dc)
if ( HasFlag(wxTR_FULL_ROW_HIGHLIGHT) )
{
int x, w, h;
x=0;
int x = 0, w = 0, h = 0;
GetVirtualSize(&w, &h);
wxRect rect( x, item->GetY()+offset, w, total_h-offset);
#if !defined(__WXGTK20__) && !defined(__WXMAC__)