Handle UBUNTU_MENUPROXY=0 as "not using global menu".
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Nov 2012 11:51:21 +0000 (11:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Nov 2012 11:51:21 +0000 (11:51 +0000)
commitf8115cdc623db7567df3f6338c40dc4942ca7321
tree48e4d72eb5a9ec122ff556863ea42939eec79a91
parent1897abe1d8ac5e9575f4c9a589ea7ce08189506a
Handle UBUNTU_MENUPROXY=0 as "not using global menu".

Although the correct way to disable the global menu bar under Ubuntu is to
set UBUNTU_MENUPROXY to an empty string, many guides on the web advise setting
it to "0", so handle this special case in wxApp::GTKIsUsingGlobalMenu() too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/app.cpp