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:
@@ -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__)
|
||||
|
Reference in New Issue
Block a user