Add beginnings of sidebar menu
This commit is contained in:
parent
b22b823d4b
commit
9657ed3389
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user