]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix building on Windows.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 28 Jul 2014 12:32:10 +0000 (20:32 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 28 Jul 2014 12:32:10 +0000 (20:32 +0800)
atom/browser/ui/win/notify_icon.cc

index 348ee931036419375ba75069219291a52e7c985c..55d8a2a6b573520568e0b25998c7b5f6515c2652 100644 (file)
@@ -66,7 +66,7 @@ void NotifyIcon::HandleClickEvent(const gfx::Point& cursor_pos,
       NULL,
       NULL,
       gfx::Rect(gfx::win::ScreenToDIPPoint(cursor_pos), gfx::Size()),
-      views::MenuItemView::TOPLEFT,
+      views::MENU_ANCHOR_TOPLEFT,
       ui::MENU_SOURCE_MOUSE,
       views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU);
   if (result == views::MenuRunner::MENU_DELETED)