From: Václav Slavík Date: Tue, 2 Mar 2004 23:36:07 +0000 (+0000) Subject: return version of GTK+ library the app links against, not the one it was compiled... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a5441ce3a5583735e9d52f029b2314cf5a46294c?ds=inline return version of GTK+ library the app links against, not the one it was compiled with git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/utilsgtk.cpp b/src/gtk/utilsgtk.cpp index 39bd7eaa57..cef8dbe54e 100644 --- a/src/gtk/utilsgtk.cpp +++ b/src/gtk/utilsgtk.cpp @@ -141,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; } diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index 39bd7eaa57..cef8dbe54e 100644 --- a/src/gtk1/utilsgtk.cpp +++ b/src/gtk1/utilsgtk.cpp @@ -141,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; }