This commit is contained in:
K.Takata 2015-04-22 09:27:56 +00:00
commit a49a538041
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ DWORD initCommonControls(char **errmsg)
LOAD("DefSubclassProc");
fv_DefSubclassProc = (LRESULT (*WINAPI)(HWND, UINT, WPARAM, LPARAM)) f;
LOAD("_TrackMouseEvent");
fv__TrackMouseEvent = (HIMAGELIST (*WINAPI)(int, int, UINT, int, int)) f;
fv__TrackMouseEvent = (BOOL (*WINAPI)(LPTRACKMOUSEEVENT)) f;
if ((*ficc)(&icc) == FALSE) {
*errmsg = "error initializing Common Controls (comctl32.dll)";

View File

@ -10,7 +10,7 @@ LPWSTR xtableWindowClass = tableWindowClass;
void doInitTable(void)
{
initTable(xpanic, fv__TrackMouseEvent);
initTable((void (*)(const char *, DWORD)) xpanic, fv__TrackMouseEvent);
}
static LRESULT CALLBACK tableSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR id, DWORD_PTR data)