X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93c609c7373cc29da60a05926c6ba3a19e1cabb5..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/gtk/app.cpp?ds=sidebyside 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;