X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..76a6e80383f1485b4d0e11ff2c5de632e46bc36e:/src/gtk/utilsgtk.cpp?ds=sidebyside diff --git a/src/gtk/utilsgtk.cpp b/src/gtk/utilsgtk.cpp index 69f73141b6..cef8dbe54e 100644 --- a/src/gtk/utilsgtk.cpp +++ b/src/gtk/utilsgtk.cpp @@ -56,11 +56,14 @@ extern GtkWidget *wxGetRootWindow(); //---------------------------------------------------------------------------- // 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. */ @@ -138,8 +141,8 @@ wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo() 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; }