eVC4 warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-11-06 20:44:43 +00:00
parent 792f83f038
commit 41e155b43e
4 changed files with 45 additions and 38 deletions

View File

@@ -1757,7 +1757,7 @@ bool wxDC::DoGetPartialTextExtents(const wxString& text, wxArrayInt& widths) con
static int maxWidth = -1;
int fit = 0;
SIZE sz = {0,0};
int stlen = text.Length();
int stlen = text.length();
if (maxLenText == -1)
{
@@ -2539,6 +2539,8 @@ static bool AlphaBlt(HDC hdcDst,
wxLogLastError(_T("AlphaBlend"));
}
#else
wxUnusedVar(hdcSrc);
#endif // defined(AC_SRC_OVER)
// AlphaBlend() unavailable of failed: use our own (probably much slower)