fix OK dialog in smpackage

This commit is contained in:
Chris Danford
2006-02-03 06:24:07 +00:00
parent 3413107396
commit 23d4e4366a
@@ -99,7 +99,7 @@ void DialogDriver_Win32::OK( RString sMessage, RString sID )
#if !defined(SMPACKAGE)
DialogBox( handle.Get(), MAKEINTRESOURCE(IDD_OK), ::GetHwnd(), OKWndProc );
#else
::MessageBox( NULL, sMessage, GetWindowTitle(), MB_OK );
::MessageBox( ::GetHwnd(), ConvertUTF8ToACP(sMessage).c_str(), ConvertUTF8ToACP(::GetWindowTitle()).c_str(), MB_OK );
#endif
if( g_bAllowHush && g_bHush )
Dialog::IgnoreMessage( sID );