#!/usr/bin/perl -w -- 
#
# generated by wxGlade
#
# To get wxPerl visit http://www.wxperl.it
#

use Wx;
use strict;

# begin wxGlade: dependencies
# end wxGlade

# begin wxGlade: extracode
# end wxGlade

package MyFrame;

use Wx qw[:everything];
use base qw(Wx::Frame);
use strict;

sub new {
    my( $self, $parent, $id, $title, $pos, $size, $style, $name ) = @_;
    $parent = undef              unless defined $parent;
    $id     = -1                 unless defined $id;
    $title  = ""                 unless defined $title;
    $pos    = wxDefaultPosition  unless defined $pos;
    $size   = wxDefaultSize      unless defined $size;
    $name   = ""                 unless defined $name;

    # begin wxGlade: MyFrame::new
    $style = wxDEFAULT_FRAME_STYLE
        unless defined $style;

    $self = $self->SUPER::new( $parent, $id, $title, $pos, $size, $style, $name );
    $self->SetSize(Wx::Size->new(1450, 341));
    $self->SetMinSize(Wx::Size->new(100, 100));
    $self->SetTitle("frame");
    
    $self->{panel_1} = Wx::Panel->new($self, wxID_ANY);
    
    $self->{sizer_1} = Wx::BoxSizer->new(wxHORIZONTAL);
    
    $self->{sizer_2} = Wx::BoxSizer->new(wxVERTICAL);
    $self->{sizer_1}->Add($self->{sizer_2}, 1, wxEXPAND, 0);
    
    $self->{button_1} = Wx::Button->new($self->{panel_1}, wxID_ANY, "-/-");
    $self->{sizer_2}->Add($self->{button_1}, 0, 0, 0);
    
    $self->{button_2} = Wx::Button->new($self->{panel_1}, wxID_ANY, "button_2 prop 1");
    $self->{sizer_2}->Add($self->{button_2}, 1, wxFIXED_MINSIZE, 0);
    
    $self->{button_3} = Wx::Button->new($self->{panel_1}, wxID_ANY, "button_3 expand");
    $self->{sizer_2}->Add($self->{button_3}, 0, wxEXPAND, 0);
    
    $self->{sizer_3} = Wx::BoxSizer->new(wxVERTICAL);
    $self->{sizer_1}->Add($self->{sizer_3}, 1, wxEXPAND, 0);
    
    $self->{button_22} = Wx::Button->new($self->{panel_1}, wxID_ANY, "size/-");
    $self->{button_22}->SetMinSize(Wx::Size->new(200, 30));
    $self->{sizer_3}->Add($self->{button_22}, 0, 0, 0);
    
    $self->{button_23} = Wx::Button->new($self->{panel_1}, wxID_ANY, "button_23");
    $self->{button_23}->SetMinSize(Wx::Size->new(200, 30));
    $self->{sizer_3}->Add($self->{button_23}, 1, 0, 0);
    
    $self->{button_24} = Wx::Button->new($self->{panel_1}, wxID_ANY, "button_24");
    $self->{button_24}->SetMinSize(Wx::Size->new(200, 30));
    $self->{sizer_3}->Add($self->{button_24}, 0, wxEXPAND, 0);
    
    $self->{sizer_4} = Wx::BoxSizer->new(wxVERTICAL);
    $self->{sizer_1}->Add($self->{sizer_4}, 1, wxEXPAND, 0);
    
    $self->{button_31} = Wx::Button->new($self->{panel_1}, wxID_ANY, "size/max");
    $self->{button_31}->SetMinSize(Wx::Size->new(200, 30));
    $self->{button_31}->SetMaxSize(Wx::Size->new(300, 40));
    $self->{sizer_4}->Add($self->{button_31}, 0, 0, 0);
    
    $self->{button_32} = Wx::Button->new($self->{panel_1}, wxID_ANY, "button_32");
    $self->{button_32}->SetMinSize(Wx::Size->new(200, 30));
    $self->{button_32}->SetMaxSize(Wx::Size->new(300, 40));
    $self->{sizer_4}->Add($self->{button_32}, 1, 0, 0);
    
    $self->{button_33} = Wx::Button->new($self->{panel_1}, wxID_ANY, "button_33");
    $self->{button_33}->SetMinSize(Wx::Size->new(200, 30));
    $self->{button_33}->SetMaxSize(Wx::Size->new(300, 40));
    $self->{sizer_4}->Add($self->{button_33}, 0, wxEXPAND, 0);
    
    $self->{sizer_6} = Wx::BoxSizer->new(wxVERTICAL);
    $self->{sizer_1}->Add($self->{sizer_6}, 1, wxEXPAND, 0);
    
    $self->{button_220} = Wx::Button->new($self->{panel_1}, wxID_ANY, "-/max");
    $self->{button_220}->SetMaxSize(Wx::Size->new(300, 40));
    $self->{sizer_6}->Add($self->{button_220}, 0, 0, 0);
    
    $self->{button_221} = Wx::Button->new($self->{panel_1}, wxID_ANY, "button_221");
    $self->{button_221}->SetMaxSize(Wx::Size->new(300, 40));
    $self->{sizer_6}->Add($self->{button_221}, 1, 0, 0);
    
    $self->{button_222} = Wx::Button->new($self->{panel_1}, wxID_ANY, "button_222");
    $self->{button_222}->SetMaxSize(Wx::Size->new(300, 40));
    $self->{sizer_6}->Add($self->{button_222}, 0, wxEXPAND, 0);
    
    $self->{panel_1}->SetSizer($self->{sizer_1});
    
    $self->Layout();
    # end wxGlade
    return $self;

}


# end of class MyFrame

1;

package MyApp;

use base qw(Wx::App);
use strict;

sub OnInit {
    my( $self ) = shift;

    Wx::InitAllImageHandlers();

    my $frame = MyFrame->new();

    $self->SetTopWindow($frame);
    $frame->Show(1);

    return 1;
}
# end of class MyApp

package main;

my $app = MyApp->new();
$app->MainLoop();
