X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93c609c7373cc29da60a05926c6ba3a19e1cabb5..6586750c6a4fa9084eaf5075006ca1fcfe50e818:/src/gtk/app.cpp diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index 7e07406519..3754531c01 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -542,7 +542,7 @@ bool wxApp::GTKIsUsingGlobalMenu() // XDG_CURRENT_DESKTOP env var being set to "Unity". wxString proxy; s_isUsingGlobalMenu = wxGetEnv("UBUNTU_MENUPROXY", &proxy) && - !proxy.empty(); + !proxy.empty() && proxy != "0"; } return s_isUsingGlobalMenu == 1;