X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82b978d70d9a0e58502c7d24ffebd462c5924c3c..4deaa8dbc5f39aa5d0e8b449697f7ac841dec9bf:/include/wx/gtk/private.h diff --git a/include/wx/gtk/private.h b/include/wx/gtk/private.h index d63519da52..3fe0527aaa 100644 --- a/include/wx/gtk/private.h +++ b/include/wx/gtk/private.h @@ -5,7 +5,7 @@ // Modified by: // Created: 12.03.02 // RCS-ID: $Id$ -// Copyright: (c) 2002 Vadim Zeitlin +// Copyright: (c) 2002 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -131,5 +131,23 @@ inline wxEventType GtkScrollWinTypeToWx(guint scrollType) wxEVT_SCROLLWIN_TOP - wxEVT_SCROLL_TOP; } +// Needed for implementing e.g. combobox on wxGTK within a modal dialog. +void wxAddGrab(wxWindow* window); +void wxRemoveGrab(wxWindow* window); + +#ifdef __WXGTK20__ +// Escapes string so that it is valid Pango markup XML string: +WXDLLIMPEXP_CORE 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. +#ifdef NEED_GTK_ICON_SIZE_LOOKUP +extern "C" gboolean gtk_icon_size_lookup (GtkIconSize size, + gint *width, + gint *height); +#endif + #endif // _WX_GTK_PRIVATE_H_