Exemplo n.º 1
0
 /**
  * Receive a WX event from the choice control
  *
  * @param wxCommandEvent $event
  */
 public function controlChangeEvent(wxCommandEvent $event)
 {
     $this->activateChoice($event->GetInt());
 }
Exemplo n.º 2
0
 /**
  * Receive a WX event from the choice control
  *
  * @param wxCommandEvent $event
  */
 public function controlChangeEvent(wxCommandEvent $event)
 {
     if ($event->GetId() === self::ID_DEMO) {
         $this->changeDemoEvent($event->GetInt());
     } elseif ($event->GetId() === self::ID_HORIZ || $event->GetId() === self::ID_VERT) {
         $this->changeAlignmentEvent($event->GetInt());
     }
 }