1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-05 08:50:25 +00:00

Fix to MessageBox call.

This commit is contained in:
FellippeHeitor 2017-09-24 08:20:18 -03:00
parent 5922d112bf
commit 3488bd916b

View file

@ -3778,7 +3778,11 @@ int MessageBox2(int ignore,char* message,char* title,int type){
showErrorOnScreen(message, 0, 0);//display error message on screen and enter infinite loop
#endif
return MessageBox(window_handle,message,title,type);
#ifdef QB64_WINDOWS
return MessageBox(window_handle,message,title,type);
#else
return MessageBox(NULL,message,title,type);
#endif
}