Add beginnings of sidebar menu

This commit is contained in:
Timothy Warren 2012-08-14 13:41:38 -04:00
parent b22b823d4b
commit 9657ed3389
1 changed files with 15 additions and 1 deletions

View File

@ -149,7 +149,21 @@ class Connection_Sidebar extends \wxPanel {
*/
public function menu_event($event)
{
//alert(print_r($event, TRUE));
$id = $event->GetId();
switch($id)
{
case self::MENU_EDIT_CONNECT:
alert("Edit");
break;
case self::MENU_DELETE_CONNECT:
alert("Delete");
break;
default:
break;
}
}
// --------------------------------------------------------------------------