Changed wx_sendmessage() param1 to LONG_PARAM. Fixes crashed on 64-bit builds.
This commit is contained in:
parent
919f2dd45d
commit
319a929a20
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue