X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20123d495814b8b8543bf43fbd63aa7ec21e5d78..4deaa8dbc5f39aa5d0e8b449697f7ac841dec9bf:/include/wx/gtk/private.h diff --git a/include/wx/gtk/private.h b/include/wx/gtk/private.h index 254dca0a37..3fe0527aaa 100644 --- a/include/wx/gtk/private.h +++ b/include/wx/gtk/private.h @@ -131,6 +131,10 @@ 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); @@ -139,7 +143,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);