[wxruby-users] how can I set window not resize?

Alex Fenton alex at pressure.to
Sat Apr 19 05:10:06 EDT 2008


Pat Kiatchaipipat wrote:
> I try
>
>     super(nil, :title => title, :size => [700, 525])
>     @window = Window.new(self, -1)
>     @window.set_background_colour(WHITE)
>     @window.set_size(700,525)
>     @window.resizable(false)
>
> resizable is not fuction declare. can I make it in other way?
>   
try

super(nil, :title => title, :size => [700, 525],
     :style => Wx::DEFAULT_FRAME_STYLE ^ Wx::RESIZE_BORDER)

alex


More information about the wxruby-users mailing list