mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r22440) -Change: [Windows] Remove Cancel button from information messages.
This commit is contained in:
parent
b7c6424104
commit
df8806bdb4
|
@ -376,9 +376,7 @@ void ShowInfo(const char *str)
|
|||
* buffer in MB_TO_WIDE might not be large enough (512 chars) */
|
||||
wchar_t help_msgW[8192];
|
||||
#endif
|
||||
if (MessageBox(GetActiveWindow(), MB_TO_WIDE_BUFFER(str, help_msgW, lengthof(help_msgW)), _T("OpenTTD"), MB_ICONINFORMATION | MB_OKCANCEL) == IDCANCEL) {
|
||||
CreateConsole();
|
||||
}
|
||||
MessageBox(GetActiveWindow(), MB_TO_WIDE_BUFFER(str, help_msgW, lengthof(help_msgW)), _T("OpenTTD"), MB_ICONINFORMATION | MB_OK);
|
||||
}
|
||||
MyShowCursor(old);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue