taskmgr: Remove all TCHAR macro usage in graph drawing code.
This commit is contained in:
parent
e5072fa660
commit
c05ea50ae5
|
@ -439,7 +439,7 @@ Graph_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
hdc = BeginPaint(hWnd, &ps);
|
hdc = BeginPaint(hWnd, &ps);
|
||||||
|
|
||||||
WindowId = GetWindowLongPtr(hWnd, GWLP_ID);
|
WindowId = GetWindowLongPtrW(hWnd, GWLP_ID);
|
||||||
|
|
||||||
switch (WindowId)
|
switch (WindowId)
|
||||||
{
|
{
|
||||||
|
@ -459,9 +459,9 @@ Graph_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We pass on all non-handled messages
|
* We pass on all non-handled messages
|
||||||
*/
|
*/
|
||||||
return CallWindowProc((WNDPROC)OldGraphWndProc, hWnd, message, wParam, lParam);
|
return CallWindowProcW(OldGraphWndProc, hWnd, message, wParam, lParam);
|
||||||
}
|
}
|
||||||
|
|
|
@ -622,5 +622,5 @@ GraphCtrl_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
/*
|
/*
|
||||||
* We pass on all non-handled messages
|
* We pass on all non-handled messages
|
||||||
*/
|
*/
|
||||||
return CallWindowProc((WNDPROC)OldGraphCtrlWndProc, hWnd, message, wParam, lParam);
|
return CallWindowProcW(OldGraphCtrlWndProc, hWnd, message, wParam, lParam);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue