#super nil, :title => "Sample", :position => [50, 50], :size => [300, 300]
super nil, :title => "Sample", :size => [300, 300]
debugger
txt = "Choose 'Open Dialog' from the menu to see a dialog made with XRC"
#Wx::StaticText.new self, :label => txt, :position => [20, 20]
Wx::StaticText.new self, :label => txt
!!!好像不支持postition 这个符号
改为pos就好了
@textctrl = Wx::TextCtrl.new( @splitter,
#:text => '', 注意参数名错误了
:value => '',
:style => Wx::TE_MULTILINE|Wx::SUNKEN_BORDER)
如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛