您现在的位置: 365建站网 > 365文章 > wxRuby中examples的两个个BUG

wxRuby中examples的两个个BUG

文章来源:365jz.com 点击数:253 更新时间:2009-09-21 11:04

#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)

生产内容,同时打通搜索引擎(SEO)与AI搜索引擎(GEO)流量入口的软件! 点击进入365建站器 »

您可能感兴趣的文章