diff --git a/src/wx-utils.cc b/src/wx-utils.cc index c13cce6..db4c624 100644 --- a/src/wx-utils.cc +++ b/src/wx-utils.cc @@ -273,7 +273,7 @@ int wx_dlgdirselectex(void* window, LONG_PARAM path, int count, int id) return FALSE; } -int wx_sendmessage(void* window, int type, INT_PARAM param1, LONG_PARAM param2) +int wx_sendmessage(void* window, int type, LONG_PARAM param1, LONG_PARAM param2) { switch (type) { diff --git a/src/wx-utils.h b/src/wx-utils.h index fd00931..945d54f 100644 --- a/src/wx-utils.h +++ b/src/wx-utils.h @@ -35,7 +35,7 @@ extern "C" { int wx_dlgdirselectex(void* window, LONG_PARAM path, int count, int id); void wx_setwindowtitle(void* window, char* s); - int wx_sendmessage(void* window, int type, INT_PARAM param1, LONG_PARAM param2); + int wx_sendmessage(void* window, int type, LONG_PARAM param1, LONG_PARAM param2); void* wx_getdlgitem(void* window, int id); void wx_setdlgitemtext(void* window, int id, char* str); void wx_enablewindow(void* window, int enabled);