- 論壇徽章:
- 0
|
use Wx;
package MyApp;
use base qw(Wx::App); # Inherit from Wx::App
sub OnInit { my $this = shift;
[800, 600] # size X, Y );
$this->SetTopWindow($frame); # Define the toplevel window
$frame->Show(1); # Show the frame
}
########################################################### # # The main program #
package main;
my $wxobj = MyApp->new(); # New ButtonApp application
$wxobj->MainLoop;
問題出現(xiàn):
1.png (2.05 KB, 下載次數(shù): 28)
下載附件
2017-12-30 10:38 上傳
我裝了:
下面的模塊及程序
Alien-wxWidgets-0.64-PPM514.tar.gz
wxMSW-3.1.0-Setup.exe
是不是哪沒裝對?
|
|