GTK4: show_uri() is gone
Use show_uri_on_window() instead of show_uri() for GTK+4, show_uri() is not available.
This commit is contained in:
@@ -2680,7 +2680,7 @@ bool
|
|||||||
wxDoLaunchDefaultBrowser(const wxLaunchBrowserParams& params)
|
wxDoLaunchDefaultBrowser(const wxLaunchBrowserParams& params)
|
||||||
{
|
{
|
||||||
#ifdef __WXGTK__
|
#ifdef __WXGTK__
|
||||||
#if GTK_CHECK_VERSION(3,90,0)
|
#ifdef __WXGTK4__
|
||||||
if (gtk_show_uri_on_window((GtkWindow*)wxGetTopLevelGTK(),
|
if (gtk_show_uri_on_window((GtkWindow*)wxGetTopLevelGTK(),
|
||||||
params.url.utf8_str(), GDK_CURRENT_TIME, NULL))
|
params.url.utf8_str(), GDK_CURRENT_TIME, NULL))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user