]> git.saurik.com Git - wxWidgets.git/commitdiff
the GOption hack is valid for Glib 2.20 too (it looks like it will be valid forever...)
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 17 Mar 2009 21:09:37 +0000 (21:09 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 17 Mar 2009 21:09:37 +0000 (21:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/utilsgtk.cpp

index 036cb582115fe1b88fd5b85bc6879bcfcb135774..deb31eaa8ccc45e68e2f91ebc19918a8a80a7468 100644 (file)
@@ -512,7 +512,7 @@ wxGUIAppTraits::GetStandardCmdLineOptions(wxArrayString& names,
         // because, as we use the undocumented _GOptionGroup struct, we don't want
         // to run this code with future versions which might change it (2.19 is the
         // latest one at the time of this writing)
-        if (!glib_check_version(2,6,0) && glib_check_version(2,19,0))
+        if (!glib_check_version(2,6,0) && glib_check_version(2,20,0))
         {
             usage << _("The following standard GTK+ options are also supported:\n");