// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
#include "wx/utils.h"
#include "wx/string.h"
//----------------------------------------------------------------------------
// misc.
//----------------------------------------------------------------------------
+#ifndef __EMX__
+// on OS/2, we use the wxBell from wxBase library
void wxBell()
{
gdk_beep();
}
+#endif
/* Don't synthesize KeyUp events holding down a key and producing
KeyDown events with autorepeat. */
return gdk_window_get_visual( wxGetRootWindow()->window )->depth;
}
-wxToolkitInfo *wxGUIAppTraits::GetToolkitInfo()
+wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()
{
static wxToolkitInfo info;
#ifdef __WXGTK20__
info.versionMajor = GTK_MAJOR_VERSION;
info.versionMinor = GTK_MINOR_VERSION;
info.os = wxGTK;
- return &info;
+ return info;
}
wxWindow* wxFindWindowAtPoint(const wxPoint& pt)