Removing most of level 4 warnings, particulary in 16 bits mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Patrick Albert
1999-08-30 07:11:47 +00:00
parent c15d098cdf
commit 197dd9af26
18 changed files with 60 additions and 25 deletions

View File

@@ -182,7 +182,11 @@ void wxStaticBitmap::SetBitmap(const wxBitmap& bitmap)
}
}
RECT rect = { x, y, x + w, y + h };
RECT rect ;
rect.left = x ;
rect.top = y ;
rect.right = x + w ;
rect.bottom = y + h ;
InvalidateRect((HWND)GetParent()->GetHWND(), &rect, TRUE);
}