]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target...
[wxWidgets.git] / src / gtk / app.cpp
index 7e07406519552f19f992052e8f7f43e222d6563e..3754531c01719eec088d7256fea9fee7700b4315 100644 (file)
@@ -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;