[wxMSW,wxGTK] A simple Beep, how?
Carsten A. Arnholm
arnholm at offline.no
Wed Sep 26 15:04:48 PDT 2007
Carsten A. Arnholm wrote:
> Vadim Zeitlin wrote:
>> On Wed, 26 Sep 2007 00:27:53 +0200 "Carsten A. Arnholm"
>> <arnholm at offline.no> wrote:
>>
>>> worked on Linux, but I just get a compiler error indicating that
>>> wxBell() doesn't exist....
>>>
>>> So I still seem to be missing something.
>>
>> #include <wx/utils.h>?
>>
>> Regards,
>> VZ
>
> Thanks, sometimes it is that simple :-) I mistakenly thought it was a
> class and found no info about it in the "Alphabetical class
> reference". Now I realise it is just a function, found it under
> "functions"/"Alphabetical functions and macros list", and it says
> precisely that. A free text search feature for the wxWidget manual
> would be nice to have one day :-)
> I will try it on wxGTK!
>
I have tried it now, on Kubuntu 7.04 using wxWidgets 2.8.4 Linux unicode
build. With the proper #include, it compiles and links fine, but there is no
bell sound like on Windows, in fact nothing at all. I have tested that other
sounds work on the system and that the volume is turned up. Still nothing
from wxBell ?
--
Carsten A. Arnholm
http://arnholm.org/
N59.776 E10.457
More information about the wx-users
mailing list