wxWidgets for php 一个弹出框, 下载了两个文件: 1、wxphp-3.0.2.0-php5.4-x86.exe 2、wxFormBuilder_v3.5.1-rc1.exe 主要根据图像生成php代码 ?php/** PHP code generated with wxFormBuilder (version Jun 17 2015)* http://www.
          1、wxphp-3.0.2.0-php5.4-x86.exe
2、wxFormBuilder_v3.5.1-rc1.exe 主要根据图像生成php代码
 
<?php
/*
* PHP code generated with wxFormBuilder (version Jun 17 2015)
* http://www.wxformbuilder.org/
*
* PLEASE DO "NOT" EDIT THIS FILE!
*/
/*
 * Class MyFrame1
 */
class MyFrame1 extends wxFrame {
      
    function __construct( $parent=null ){
        parent::__construct ( $parent, wxID_ANY, wxEmptyString, wxDefaultPosition, new wxSize( 500,300 ), wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
  
        $this->SetSizeHints( wxDefaultSize, wxDefaultSize );
        $this->Centre( wxBOTH );
    }
    function __destruct( ){
    }
}
//Application initialization start point
class myApp extends wxApp 
{
    function OnInit()
    {
        $zs = new MyFrame1();
        $zs->Show();
        //$zs->Maximize();
          
        $this->frm = $zs;
          
        return true;
    }
      
    function OnExit()
    {
        return 0;
    }
}
  
wxInitAllImageHandlers();
  
$gridApp = new myApp();
  
wxApp::SetInstance($gridApp);
wxEntry();
?>
        
        