|
@@ -1343,7 +1343,7 @@ void OS_Windows::vprint(const char* p_format, va_list p_list, bool p_stderr) {
|
|
void OS_Windows::alert(const String& p_alert,const String& p_title) {
|
|
void OS_Windows::alert(const String& p_alert,const String& p_title) {
|
|
|
|
|
|
if (!is_no_window_mode_enabled())
|
|
if (!is_no_window_mode_enabled())
|
|
- MessageBoxW(NULL,p_alert.c_str(),p_title.c_str(),MB_OK|MB_ICONEXCLAMATION);
|
|
|
|
|
|
+ MessageBoxW(NULL, p_alert.c_str(), p_title.c_str(), MB_OK | MB_ICONEXCLAMATION | MB_TASKMODAL);
|
|
else
|
|
else
|
|
print_line("ALERT: "+p_alert);
|
|
print_line("ALERT: "+p_alert);
|
|
}
|
|
}
|