Move wxBell() from base to core library.

This allows to get rid of ugly preprocessor checks due to the fact that this
function could be defined in one or the other library depending on the port
used and also fix a problem with it being defined differently in the base
library depending on which GUI port (Carbon or Cocoa) was used under OS X.
It also fixes the problem with wxBell() in wxGTK under Windows.

Closes #14406.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-06-17 21:35:06 +00:00
parent 54f59b007e
commit 598fe99d56
13 changed files with 23 additions and 46 deletions

View File

@@ -66,14 +66,11 @@ extern GtkWidget *wxGetRootWindow();
//----------------------------------------------------------------------------
// misc.
//----------------------------------------------------------------------------
#ifndef __EMX__
// on OS/2, we use the wxBell from wxBase library
void wxBell()
{
gdk_beep();
}
#endif
// ----------------------------------------------------------------------------
// display characterstics