From: Vadim Zeitlin Date: Thu, 4 Aug 2005 00:25:20 +0000 (+0000) Subject: NEED_GTK_ICON_SIZE_LOOKUP was incorrectly tested using #if instead of #ifdef X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/187202106f074d2a43bd9036a8b99a9b09316cb0 NEED_GTK_ICON_SIZE_LOOKUP was incorrectly tested using #if instead of #ifdef git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/private.h b/include/wx/gtk/private.h index 254dca0a37..d283191754 100644 --- a/include/wx/gtk/private.h +++ b/include/wx/gtk/private.h @@ -139,7 +139,7 @@ WXDLLIMPEXP_CORE wxString wxEscapeStringForPangoMarkup(const wxString& str); // The declaration for gtk_icon_size_lookup was accidentally ifdefed out in // GTK+ 2.1.0 which Sun seem to have shipped with some versions of JDS // for Solaris 9 x86. -#if NEED_GTK_ICON_SIZE_LOOKUP +#ifdef NEED_GTK_ICON_SIZE_LOOKUP extern "C" gboolean gtk_icon_size_lookup (GtkIconSize size, gint *width, gint *height); diff --git a/include/wx/gtk1/private.h b/include/wx/gtk1/private.h index 254dca0a37..d283191754 100644 --- a/include/wx/gtk1/private.h +++ b/include/wx/gtk1/private.h @@ -139,7 +139,7 @@ WXDLLIMPEXP_CORE wxString wxEscapeStringForPangoMarkup(const wxString& str); // The declaration for gtk_icon_size_lookup was accidentally ifdefed out in // GTK+ 2.1.0 which Sun seem to have shipped with some versions of JDS // for Solaris 9 x86. -#if NEED_GTK_ICON_SIZE_LOOKUP +#ifdef NEED_GTK_ICON_SIZE_LOOKUP extern "C" gboolean gtk_icon_size_lookup (GtkIconSize size, gint *width, gint *height);