Merge branch 'master' of github.com:timw4mail/OpenSQLManager
This commit is contained in:
commit
96bf44f355
@ -149,7 +149,21 @@ class Connection_Sidebar extends \wxPanel {
|
|||||||
*/
|
*/
|
||||||
public function menu_event($event)
|
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