Avoid gtk_show_uri() with GTK+3.9x

This commit is contained in:
Paul Cornett
2017-12-07 10:51:57 -08:00
parent 23caf6fe00
commit db00ab9c02
2 changed files with 17 additions and 1 deletions

View File

@@ -345,6 +345,13 @@ static bool wxGetTopLevel(GtkWidget** widget, GdkWindow** window)
return false;
}
GtkWidget* wxGetTopLevelGTK()
{
GtkWidget* widget = NULL;
wxGetTopLevel(&widget, NULL);
return widget;
}
GdkWindow* wxGetTopLevelGDK()
{
GdkWindow* window;