Use "Base" version of wxBell on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -56,11 +56,14 @@ extern GtkWidget *wxGetRootWindow();
|
|||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
// misc.
|
// misc.
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
#ifndef __EMX__
|
||||||
|
// on OS/2, we use the wxBell from wxBase library
|
||||||
|
|
||||||
void wxBell()
|
void wxBell()
|
||||||
{
|
{
|
||||||
gdk_beep();
|
gdk_beep();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Don't synthesize KeyUp events holding down a key and producing
|
/* Don't synthesize KeyUp events holding down a key and producing
|
||||||
KeyDown events with autorepeat. */
|
KeyDown events with autorepeat. */
|
||||||
|
@@ -56,11 +56,14 @@ extern GtkWidget *wxGetRootWindow();
|
|||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
// misc.
|
// misc.
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
#ifndef __EMX__
|
||||||
|
// on OS/2, we use the wxBell from wxBase library
|
||||||
|
|
||||||
void wxBell()
|
void wxBell()
|
||||||
{
|
{
|
||||||
gdk_beep();
|
gdk_beep();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Don't synthesize KeyUp events holding down a key and producing
|
/* Don't synthesize KeyUp events holding down a key and producing
|
||||||
KeyDown events with autorepeat. */
|
KeyDown events with autorepeat. */
|
||||||
|
@@ -127,11 +127,14 @@ int wxAddProcessCallback(wxEndProcessData *proc_data, int fd)
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// Emit a beeeeeep
|
// Emit a beeeeeep
|
||||||
|
#ifndef __EMX__
|
||||||
|
// on OS/2, we use the wxBell from wxBase library (src/os2/utils.cpp)
|
||||||
void wxBell()
|
void wxBell()
|
||||||
{
|
{
|
||||||
// Use current setting for the bell
|
// Use current setting for the bell
|
||||||
XBell (wxGlobalDisplay(), 0);
|
XBell (wxGlobalDisplay(), 0);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()
|
wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()
|
||||||
{
|
{
|
||||||
|
@@ -92,11 +92,14 @@ int wxAddProcessCallback(wxEndProcessData *proc_data, int fd)
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// Emit a beeeeeep
|
// Emit a beeeeeep
|
||||||
|
#ifndef __EMX__
|
||||||
|
// on OS/2, we use the wxBell from wxBase library (src/os2/utils.cpp)
|
||||||
void wxBell()
|
void wxBell()
|
||||||
{
|
{
|
||||||
// Use current setting for the bell
|
// Use current setting for the bell
|
||||||
XBell ((Display*) wxGetDisplay(), 0);
|
XBell ((Display*) wxGetDisplay(), 0);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()
|
wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user