mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
comctl32/tests: Specify type of function argument and remove unused arguments.
This commit is contained in:
parent
a8e5179d8e
commit
962e97dbf3
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ static void MakeButton(TBBUTTON *p, int idCommand, int fsStyle, int nString) {
|
|||
p->iString = nString;
|
||||
}
|
||||
|
||||
LRESULT MyWnd_Notify(hWnd, wParam, lParam)
|
||||
static LRESULT MyWnd_Notify(LPARAM lParam)
|
||||
{
|
||||
NMHDR *hdr = (NMHDR *)lParam;
|
||||
NMTBHOTITEM *nmhi;
|
||||
|
@ -74,7 +74,7 @@ static LRESULT CALLBACK MyWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPa
|
|||
switch (msg)
|
||||
{
|
||||
case WM_NOTIFY:
|
||||
return MyWnd_Notify(hWnd, wParam, lParam);
|
||||
return MyWnd_Notify(lParam);
|
||||
}
|
||||
return DefWindowProcA(hWnd, msg, wParam, lParam);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue