Permalink
Browse files

don't DrawMenuBar() for every menu item

  • Loading branch information...
1 parent b8b277b commit 45881e80b6fcf67cc75dd43e1e13a95d8941c650 @redmunds redmunds committed Nov 9, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 appshell/appshell_extensions_win.cpp
@@ -1474,7 +1474,6 @@ int32 AddMenuItem(CefRefPtr<CefBrowser> browser, ExtensionString parentCommand,
}
NativeMenuModel::getInstance(getMenuParent(browser)).setOsItem(tag, (void*)submenu);
- DrawMenuBar((HWND)getMenuParent(browser));
if (!isSeparator && !UpdateAcceleratorTable(tag, keyStr)) {
title = title.substr(0, title.find('\t'));

0 comments on commit 45881e8

Please sign in to comment.