win: Remove dead menu code.

This commit is contained in:
Cheng Zhao 2014-07-21 10:42:52 +08:00
parent 73df08ebbf
commit 365638f1d5
9 changed files with 1 additions and 1216 deletions

View file

@ -87,10 +87,6 @@ Menu::insert = (pos, item) ->
@items.splice pos, 0, item
@commandsMap[item.commandId] = item
Menu::attachToWindow = (window) ->
@_callMenuWillShow() if process.platform is 'win32'
@_attachToWindow window
# Force menuWillShow to be called
Menu::_callMenuWillShow = ->
@delegate?.menuWillShow()