示例#1
0
文件: sizers.php 项目: phpsong/wxphp
 /**
  * Receive a WX event from the choice control
  *
  * @param wxCommandEvent $event
  */
 public function controlChangeEvent(wxCommandEvent $event)
 {
     $this->activateChoice($event->GetInt());
 }
示例#2
0
文件: control.php 项目: halfer/wxphp
 /**
  * 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());
     }
 }