Fix for toolbars and menus not being disabled on Ubuntu
Ubuntu overlay scrollbar changes the GtkWindowGroup for its toplevel, which is disastrous for modal windows. Put in a hack to detect and undo this. Fixes #14855 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -381,6 +381,12 @@ static inline gint wx_gdk_visual_get_depth(GdkVisual* visual)
|
||||
}
|
||||
#define gdk_visual_get_depth wx_gdk_visual_get_depth
|
||||
|
||||
static inline gboolean wx_gtk_window_has_group(GtkWindow* window)
|
||||
{
|
||||
return window->group != NULL;
|
||||
}
|
||||
#define gtk_window_has_group wx_gtk_window_has_group
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// the following were introduced in GTK+ 2.24
|
||||
|
||||
|
Reference in New Issue
Block a user