Changed wxBell to only use MessageBeep()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1998-12-01 07:19:59 +00:00
parent e44fc4d683
commit b07135ba7a

View File

@@ -317,11 +317,13 @@ void wxFatalError(const wxString& msg, const wxString& title)
// Emit a beeeeeep
void wxBell(void)
{
#ifdef __WIN32__
Beep(1000,1000) ; // 1kHz during 1 sec.
#else
// Removed by RD because IHMO syncronous sound is a Bad Thing. MessageBeep
// will do a similar thing anyway if there is no sound card...
//#ifdef __WIN32__
// Beep(1000,1000) ; // 1kHz during 1 sec.
//#else
MessageBeep(-1) ;
#endif
//#endif
}
// Chris Breeze 27/5/98: revised WIN32 code to