From e8581021477cb78bd77a2cb546f2b8a77208a9f2 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 8 Jan 2005 14:32:42 +0000 Subject: [PATCH] use themed dialog titles --- stepmania/src/arch/Dialog/DialogDriver_Win32.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/Dialog/DialogDriver_Win32.cpp b/stepmania/src/arch/Dialog/DialogDriver_Win32.cpp index 5142df15ac..1a6746dd25 100644 --- a/stepmania/src/arch/Dialog/DialogDriver_Win32.cpp +++ b/stepmania/src/arch/Dialog/DialogDriver_Win32.cpp @@ -3,6 +3,8 @@ #include "RageUtil.h" #include "ProductInfo.h" #include "DialogDriver.h" +#include "CommonMetrics.h" // for WINDOW_TITLE +#include "ThemeManager.h" #include "archutils/win32/AppInstance.h" #include "archutils/win32/GotoURL.h" @@ -155,7 +157,7 @@ Dialog::Result DialogDriver_Win32::AbortRetryIgnore( CString sMessage, CString I SDL_PumpEvents(); #endif - switch( MessageBox(g_hWndMain, sMessage, PRODUCT_NAME, MB_ABORTRETRYIGNORE|MB_DEFBUTTON3 ) ) + switch( MessageBox(g_hWndMain, sMessage, WINDOW_TITLE, MB_ABORTRETRYIGNORE|MB_DEFBUTTON3 ) ) { case IDABORT: return Dialog::abort; case IDRETRY: return Dialog::retry; @@ -170,7 +172,7 @@ Dialog::Result DialogDriver_Win32::RetryCancel( CString sMessage, CString ID ) SDL_PumpEvents(); #endif - switch( MessageBox(g_hWndMain, sMessage, PRODUCT_NAME, MB_RETRYCANCEL ) ) + switch( MessageBox(g_hWndMain, sMessage, WINDOW_TITLE, MB_RETRYCANCEL ) ) { case IDRETRY: return Dialog::retry; default: ASSERT(0);