X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66bd83b4ec25c06bbd72cf2aa7cedd94892660b4..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/gtk1/private.h diff --git a/include/wx/gtk1/private.h b/include/wx/gtk1/private.h index 9f4cd54c02..c943f3ad2d 100644 --- a/include/wx/gtk1/private.h +++ b/include/wx/gtk1/private.h @@ -136,5 +136,14 @@ inline wxEventType GtkScrollWinTypeToWx(guint scrollType) wxString wxEscapeStringForPangoMarkup(const wxString& str); #endif +// 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 +extern "C" gboolean gtk_icon_size_lookup (GtkIconSize size, + gint *width, + gint *height); +#endif + #endif // _WX_GTK_PRIVATE_H_