首页 > php教程 > PHP源码 > wxWidgets for php 一个弹出框

wxWidgets for php 一个弹出框

PHP中文网
发布: 2016-05-23 16:39:53
原创
1554 人浏览过

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();
?>
登录后复制
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
作者最新文章
热门推荐
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板