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:
@@ -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
|
||||
|
Reference in New Issue
Block a user