Changed wx_sendmessage() param1 to LONG_PARAM. Fixes crashed on 64-bit builds.

This commit is contained in:
SarahW 2018-03-04 13:58:02 +00:00
commit 319a929a20
2 changed files with 2 additions and 2 deletions

View file

@ -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)
{

View file

@ -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);