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