summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/wx/ContextMenuWx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/wx/ContextMenuWx.cpp')
-rw-r--r--WebCore/platform/wx/ContextMenuWx.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/WebCore/platform/wx/ContextMenuWx.cpp b/WebCore/platform/wx/ContextMenuWx.cpp
index b20d29e..a1bab37 100644
--- a/WebCore/platform/wx/ContextMenuWx.cpp
+++ b/WebCore/platform/wx/ContextMenuWx.cpp
@@ -42,7 +42,7 @@ ContextMenuItem* ContextMenu::itemWithId(int id)
return new ContextMenuItem(ActionType, s_itemActions.get(id), "");
}
-ContextMenu::ContextMenu(const HitTestResult& result) : m_hitTestResult(result)
+ContextMenu::ContextMenu()
{
m_platformDescription = new wxMenu(0);
}
@@ -57,8 +57,6 @@ void ContextMenu::appendItem(ContextMenuItem& item)
{
if (!m_platformDescription)
return;
-
- checkOrEnableIfNeeded(item);
PlatformMenuItemDescription itemDescription = item.releasePlatformDescription();
wxItemKind menuKindWx = ( itemDescription.type == CheckableActionType ) ? wxITEM_CHECK : wxITEM_NORMAL;