From a6571e8e22ffd72a9bf390a85e596a4ca3dc3211 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 27 Apr 2014 17:19:45 +0100 Subject: Use our own dir picker on Ubuntu 14.04's GTK version. --- src/wx/wx_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index 0afd82b90..585541150 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -89,10 +89,10 @@ extern int wx_get (wxChoice* widget); extern int wx_get (wxSpinCtrl* widget); /* GTK 2.24.17 has a buggy GtkFileChooserButton and it was put in Ubuntu 13.04. - This also seems to apply to 2.24.20 in Ubuntu 13.10 + This also seems to apply to 2.24.20 in Ubuntu 13.10 and 2.24.23 in Ubuntu 14.04. Use our own dir picker as this is the least bad option I can think of. */ -#if defined(__WXMSW__) || (GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION == 24 && (GTK_MICRO_VERSION == 17 || GTK_MICRO_VERSION == 20)) +#if defined(__WXMSW__) || (GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION == 24 && (GTK_MICRO_VERSION == 17 || GTK_MICRO_VERSION == 20 || GTK_MICRO_VERSION == 23)) #define DCPOMATIC_USE_OWN_DIR_PICKER #endif -- cgit v1.2.3