Author Topic: Why wont my wxBell ring??  (Read 8399 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2813
Why wont my wxBell ring??
« on: October 26, 2005, 01:45:15 am »
Its me again ! No dont run !

The following code displays its message, but does not ring
the bell on my PC. (WinXP sp2 Dell 9300).
Using C::B RC2 with wx2.6.1
A Ctl-G to a dos box works fine. So what gives...

Code
int uPlgN2::Execute()
{
//do your magic ;)
//NotImplemented(_T("uPlgN2::Execute()"));
//return -1;
::wxBell();
wxString msg = _("Execute called from uPlgN2 bell!");
wxMessageBox(msg, _("Error"), wxICON_ERROR | wxOK);
    return 0;
}

thanks
Pecan

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2813
Re: Why wont my wxBell ring??
« Reply #1 on: October 26, 2005, 03:35:41 am »
Nerver Mind..... :mrgreen:

Seems there was no sound system choice in Start->Settings->"Sounds and
Audio devices".

Its was a silent silent world.

thanks
Pecan