Update glib version check in GetStandardCmdLineOptions()
This code still works fine with glib 2.50.
This commit is contained in:
@@ -472,11 +472,11 @@ wxGUIAppTraits::GetStandardCmdLineOptions(wxArrayString& names,
|
|||||||
{
|
{
|
||||||
wxString usage;
|
wxString usage;
|
||||||
|
|
||||||
// check whether GLib version is lower than 2.39
|
// Check whether GLib version is lower than the last tested version for
|
||||||
// because, as we use the undocumented _GOptionGroup struct, we don't want
|
// which the code below works because, as we use the undocumented
|
||||||
// to run this code with future versions which might change it (2.38 is the
|
// _GOptionGroup struct, we don't want to run this code with future
|
||||||
// latest one at the time of this writing)
|
// versions which might change it and result in run-time crashes.
|
||||||
if (glib_check_version(2,39,0))
|
if (glib_check_version(2,50,0))
|
||||||
{
|
{
|
||||||
usage << _("The following standard GTK+ options are also supported:\n");
|
usage << _("The following standard GTK+ options are also supported:\n");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user