Use USING_WIN_UI for desktop Windows console.

This commit is contained in:
Unknown W. Brackets committed 2016-01-03 15:10:50 -08:00
1 parent d165680ee7
commit da78ec0b4d
7 files changed
+26 -26

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ bool MsgAlert(bool yes_no, int Style, const char* format, ...)
// Default non library dependent panic alert
bool MsgHandler(const char* caption, const char* text, bool yes_no, int Style)
{
#if defined(_WIN32) && !defined(_XBOX)
#if defined(USING_WIN_UI)
int STYLE = MB_ICONINFORMATION;
if (Style == QUESTION) STYLE = MB_ICONQUESTION;
if (Style == WARNING) STYLE = MB_ICONWARNING;