Project

General

Profile

Bug #1739 » TreeViewDragDrop.patch

for /examples/TreeViewDragDrob.C - Стойчо Стефанов Stoycho Stefanov, 03/04/2013 01:24 PM

View differences:

TreeViewDragDrop.C 2013-03-04 14:17:22.495140400 +0100
WPopupMenu *subMenu = new WPopupMenu();
subMenu->addItem("Sub Item 1");
subMenu->addItem("Sub Item 2");
WPopupMenu *subMenuL2 = new WPopupMenu();
subMenuL2->addItem("Item 1 Sub level 2");
subMenuL2->addItem("Item 2 Sub level 2");
WPopupMenu *subMenuL3 = new WPopupMenu();
subMenuL3->addItem("Item 1 Sub level 3");
subMenuL3->addItem("Item 2 Sub level 3");
subMenuL2->addMenu("Sub Menu",subMenuL3);
subMenu->addMenu("Sub Menu",subMenuL2);
popup_->addMenu("File Deployments", subMenu);
/*
(1-1/5)