[wxMSW,wxGTK] A simple Beep, how?

Carsten A. Arnholm arnholm at offline.no
Tue Sep 25 15:27:53 PDT 2007


Paul Koning wrote:
> Carsten> Does a wxWidgets Beep exist?
>
> wxBell() is what you need.  It works on Windows at least; my Linux
> system stubbornly refuses to do anything with it.  That's undoubtedly
> a setup issue rather than a wx issue.
>
>  paul

Thanks Paul,

I tried wxBell() and got it to work on Windows by including <wx/wxprec.h> . 
It doesn't quite issue the sound I want (the ugly "beep" is what I need, the 
progam will be used outside), but I could perhaps live with that if it 
worked on Linux, but I just get a compiler error indicating that wxBell() 
doesn't exist....

So I still seem to be missing something.

-- 
Carsten A. Arnholm
http://arnholm.org/
N59.776 E10.457 








More information about the wx-users mailing list