// 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.shortName << _T("univ");
info.name << _T("/wxUniversal");
#endif
- info.versionMajor = GTK_MAJOR_VERSION;
- info.versionMinor = GTK_MINOR_VERSION;
+ info.versionMajor = gtk_major_version;
+ info.versionMinor = gtk_minor_version;
info.os = wxGTK;
- return &info;
+ return info;
}
wxWindow* wxFindWindowAtPoint(const wxPoint& pt)