[Project64] Clean up some warnings in List Control
This commit is contained in:
parent
bf5ec6dfc5
commit
0730582085
|
@ -2579,7 +2579,7 @@ public:
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnTimer( UINT nIDEvent )
|
void OnTimer(UINT_PTR nIDEvent )
|
||||||
{
|
{
|
||||||
switch ( nIDEvent )
|
switch ( nIDEvent )
|
||||||
{
|
{
|
||||||
|
@ -3158,16 +3158,16 @@ public:
|
||||||
TRIVERTEX triVertext[ 2 ] = {
|
TRIVERTEX triVertext[ 2 ] = {
|
||||||
rcRect.left,
|
rcRect.left,
|
||||||
rcRect.top,
|
rcRect.top,
|
||||||
GetRValue( rgbTop ) << 8,
|
(COLOR16)(GetRValue( rgbTop ) << 8),
|
||||||
GetGValue( rgbTop ) << 8,
|
(COLOR16)(GetGValue( rgbTop ) << 8),
|
||||||
GetBValue( rgbTop ) << 8,
|
(COLOR16)(GetBValue( rgbTop ) << 8),
|
||||||
0x0000,
|
(COLOR16)(0x0000),
|
||||||
rcRect.right,
|
rcRect.right,
|
||||||
rcRect.bottom,
|
rcRect.bottom,
|
||||||
GetRValue( rgbBottom ) << 8,
|
(COLOR16)(GetRValue( rgbBottom ) << 8),
|
||||||
GetGValue( rgbBottom ) << 8,
|
(COLOR16)(GetGValue( rgbBottom ) << 8),
|
||||||
GetBValue( rgbBottom ) << 8,
|
(COLOR16)(GetBValue( rgbBottom ) << 8),
|
||||||
0x0000
|
(COLOR16)(0x0000)
|
||||||
};
|
};
|
||||||
|
|
||||||
dcPaint.GradientFill( triVertext, 2, &grdRect, 1, GRADIENT_FILL_RECT_V );
|
dcPaint.GradientFill( triVertext, 2, &grdRect, 1, GRADIENT_FILL_RECT_V );
|
||||||
|
|
|
@ -171,13 +171,13 @@ public:
|
||||||
break;
|
break;
|
||||||
case _T( '.' ): if ( !( m_nFlags & ITEM_FLAGS_EDIT_FLOAT ) )
|
case _T( '.' ): if ( !( m_nFlags & ITEM_FLAGS_EDIT_FLOAT ) )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
nDecimalIndex = nCharIndex;
|
nDecimalIndex = (int)nCharIndex;
|
||||||
nDecimalPoint++;
|
nDecimalPoint++;
|
||||||
break;
|
break;
|
||||||
default: if ( !_istdigit( nCharValue ) )
|
default: if ( !_istdigit( nCharValue ) )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if ( nDigitIndex < 0 )
|
if ( nDigitIndex < 0 )
|
||||||
nDigitIndex = nCharIndex;
|
nDigitIndex = (int)nCharIndex;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue