Commit c85ad9d9 authored by Diederik van Arkel's avatar Diederik van Arkel

prepare for disposing unused icons

parent a144cb0b
......@@ -265,7 +265,7 @@ void EvalCcRqADDWINDOWHOOK (CrossCallInfo *pcci)
void EvalCcRqSETWINDOWICON (CrossCallInfo *pcci)
{
HWND hWnd;
HICON hIcon;
HICON hIcon, hPrevIcon;
int idIcon;
hWnd = (HWND) pcci->p1;
......@@ -273,7 +273,8 @@ void EvalCcRqSETWINDOWICON (CrossCallInfo *pcci)
hIcon = LoadIcon ((HINSTANCE)GetModuleHandle(NULL), MAKEINTRESOURCE(idIcon));
SendMessage(hWnd,WM_SETICON,(WPARAM)ICON_BIG,(LPARAM)hIcon);
hPrevIcon = SendMessage(hWnd,WM_SETICON,(WPARAM)ICON_BIG,(LPARAM)hIcon);
MakeReturn0Cci (pcci);
}
......@@ -607,4 +608,4 @@ void InitialiseCrossCallMaarten()
SendMessage(ghwndRT,TTM_SETMAXTIPWIDTH,0,300);
//...DvA
*/
}
\ No newline at end of file
}
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