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:
parent
5922d112bf
commit
3488bd916b
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue