コード例 #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());
     }
 }