Commit e5dd9957 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

user32: Remove unneeded RECT parameter from CBPaintText helper.

parent eb5c7bcc
...@@ -652,9 +652,9 @@ static void CBPaintButton( LPHEADCOMBO lphc, HDC hdc, RECT rectButton) ...@@ -652,9 +652,9 @@ static void CBPaintButton( LPHEADCOMBO lphc, HDC hdc, RECT rectButton)
*/ */
static void CBPaintText( static void CBPaintText(
LPHEADCOMBO lphc, LPHEADCOMBO lphc,
HDC hdc, HDC hdc)
RECT rectEdit)
{ {
RECT rectEdit = lphc->textRect;
INT id, size = 0; INT id, size = 0;
LPWSTR pText = NULL; LPWSTR pText = NULL;
...@@ -880,7 +880,7 @@ static LRESULT COMBO_Paint(LPHEADCOMBO lphc, HDC hParamDC) ...@@ -880,7 +880,7 @@ static LRESULT COMBO_Paint(LPHEADCOMBO lphc, HDC hParamDC)
} }
if( !(lphc->wState & CBF_EDIT) ) if( !(lphc->wState & CBF_EDIT) )
CBPaintText( lphc, hDC, lphc->textRect); CBPaintText( lphc, hDC );
if( hPrevBrush ) if( hPrevBrush )
SelectObject( hDC, hPrevBrush ); SelectObject( hDC, hPrevBrush );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment