#!/usr/bin/perl -w -- 
#
# generated by wxGlade 3d351422d9fc+ on Sun Jan 24 12:51:14 2016
#
# To get wxPerl visit http://www.wxperl.it
#

use Wx 0.15 qw[:allclasses];
use strict;
use Wx::ArtProvider qw/:artid :clientid/;
use Wx::PropertyGridManager;

# begin wxGlade: dependencies
# end wxGlade

# begin wxGlade: extracode
# end wxGlade

package All_Widgets_Frame;

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

use Wx::Locale gettext => '_T';
# begin wxGlade: dependencies
use Wx::ArtProvider qw/:artid :clientid/;
use Wx::PropertyGridManager;
# end wxGlade

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: All_Widgets_Frame::new
    $style = wxDEFAULT_FRAME_STYLE 
        unless defined $style;

    $self = $self->SUPER::new( $parent, $id, $title, $pos, $size, $style, $name );
    

    # Menu Bar

    $self->{All_Widgets_menubar} = Wx::MenuBar->new();
    my $wxglade_tmp_menu;
    $wxglade_tmp_menu = Wx::Menu->new();
    $wxglade_tmp_menu->Append(wxID_OPEN, _T("&Open"), _T("Open an existing document"));
    $wxglade_tmp_menu->Append(wxID_CLOSE, _T("&Close file"), _T("Close current document"));
    $wxglade_tmp_menu->AppendSeparator();
    $wxglade_tmp_menu->Append(wxID_EXIT, _T("E&xit"), _T("Finish program"));
    $self->{All_Widgets_menubar}->Append($wxglade_tmp_menu, _T("&File"));
    $wxglade_tmp_menu = Wx::Menu->new();
    $self->{mn_Unix} = $wxglade_tmp_menu->Append(wxID_ANY, _T("Unix"), _T("Use Unix line endings"), 2);
    $self->{mn_Windows} = $wxglade_tmp_menu->Append(wxID_ANY, _T("Windows"), _T("Use Windows line endings"), 2);
    $wxglade_tmp_menu->AppendSeparator();
    $self->{mn_RemoveTabs} = $wxglade_tmp_menu->Append(wxID_ANY, _T("Remove Tabs"), _T("Remove all leading tabs"), 1);
    $self->{All_Widgets_menubar}->Append($wxglade_tmp_menu, _T("&Edit"));
    $wxglade_tmp_menu = Wx::Menu->new();
    $wxglade_tmp_menu->Append(wxID_HELP, _T("Manual"), _T("Show the application manual"));
    $wxglade_tmp_menu->AppendSeparator();
    $wxglade_tmp_menu->Append(wxID_ABOUT, _T("About"), _T("Show the About dialog"));
    $self->{All_Widgets_menubar}->Append($wxglade_tmp_menu, _T("&Help"));
    $self->SetMenuBar($self->{All_Widgets_menubar});
    
    # Menu Bar end

    $self->{All_Widgets_statusbar} = $self->CreateStatusBar(1, wxSTB_ELLIPSIZE_MIDDLE|wxSTB_SHOW_TIPS|wxSTB_SIZEGRIP);
    
    # Tool Bar
    $self->{All_Widgets_toolbar} = Wx::ToolBar->new($self, -1);
    $self->SetToolBar($self->{All_Widgets_toolbar});
    $self->{All_Widgets_toolbar}->AddTool(wxID_UP, _T("UpDown"), Wx::ArtProvider::GetBitmap(wxART_GO_UP, wxART_OTHER, Wx::Size->new(32, 32)), Wx::ArtProvider::GetBitmap(wxART_GO_DOWN, wxART_OTHER, Wx::Size->new(32, 32)), wxITEM_CHECK, _T("Up or Down"), _T("Up or Down"));
    $self->{All_Widgets_toolbar}->AddTool(wxID_OPEN, _T("Open"), Wx::Bitmap->new(32, 32), wxNullBitmap, wxITEM_NORMAL, _T("Open a new file"), _T("Open a new file"));
    # Tool Bar end
    $self->{notebook_1} = Wx::Notebook->new($self, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxNB_BOTTOM);
    $self->{notebook_1_wxBitmapButton} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{bitmap_button_icon1} = Wx::BitmapButton->new($self->{notebook_1_wxBitmapButton}, wxID_ANY, Wx::Bitmap->new("icon.xpm", wxBITMAP_TYPE_ANY));
    $self->{bitmap_button_empty1} = Wx::BitmapButton->new($self->{notebook_1_wxBitmapButton}, wxID_ANY, Wx::Bitmap->new(10, 10));
    $self->{bitmap_button_icon2} = Wx::BitmapButton->new($self->{notebook_1_wxBitmapButton}, wxID_ANY, Wx::Bitmap->new("icon.xpm", wxBITMAP_TYPE_ANY), wxDefaultPosition, wxDefaultSize, wxBORDER_NONE|wxBU_BOTTOM);
    $self->{bitmap_button_art} = Wx::BitmapButton->new($self->{notebook_1_wxBitmapButton}, wxID_ANY, Wx::ArtProvider::GetBitmap(wxART_GO_UP, wxART_OTHER, Wx::Size->new(32, 32)), wxDefaultPosition, wxDefaultSize, wxBORDER_NONE|wxBU_BOTTOM);
    $self->{notebook_1_wxButton} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{button_3} = Wx::Button->new($self->{notebook_1_wxButton}, wxID_BOLD, "");
    $self->{notebook_1_wxCalendarCtrl} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{calendar_ctrl_1} = Wx::CalendarCtrl->new($self->{notebook_1_wxCalendarCtrl}, wxID_ANY, Wx::DateTime->new, wxDefaultPosition, wxDefaultSize, wxCAL_MONDAY_FIRST|wxCAL_SEQUENTIAL_MONTH_SELECTION|wxCAL_SHOW_SURROUNDING_WEEKS|wxCAL_SHOW_WEEK_NUMBERS);
    $self->{notebook_1_wxGenericCalendarCtrl} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{generic_calendar_ctrl_1} = Wx::GenericCalendarCtrl->new($self->{notebook_1_wxGenericCalendarCtrl}, wxID_ANY, Wx::DateTime->new, wxDefaultPosition, wxDefaultSize, wxCAL_MONDAY_FIRST);
    $self->{notebook_1_wxCheckBox} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{checkbox_1} = Wx::CheckBox->new($self->{notebook_1_wxCheckBox}, wxID_ANY, _T("one (unchecked)"));
    $self->{checkbox_2} = Wx::CheckBox->new($self->{notebook_1_wxCheckBox}, wxID_ANY, _T("two (checked)"));
    $self->{checkbox_3} = Wx::CheckBox->new($self->{notebook_1_wxCheckBox}, wxID_ANY, _T("three"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE);
    $self->{checkbox_4} = Wx::CheckBox->new($self->{notebook_1_wxCheckBox}, wxID_ANY, _T("four (unchecked)"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE);
    $self->{checkbox_5} = Wx::CheckBox->new($self->{notebook_1_wxCheckBox}, wxID_ANY, _T("five (checked)"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER);
    $self->{checkbox_6} = Wx::CheckBox->new($self->{notebook_1_wxCheckBox}, wxID_ANY, _T("six (undetermined)"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER);
    $self->{notebook_1_wxCheckListBox} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{check_list_box_1} = Wx::CheckListBox->new($self->{notebook_1_wxCheckListBox}, wxID_ANY, wxDefaultPosition, wxDefaultSize, [_T("one"), _T("two"), _T("three"), _T("four")], );
    $self->{notebook_1_wxChoice} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{choice_empty} = Wx::Choice->new($self->{notebook_1_wxChoice}, wxID_ANY, wxDefaultPosition, wxDefaultSize, [], );
    $self->{choice_filled} = Wx::Choice->new($self->{notebook_1_wxChoice}, wxID_ANY, wxDefaultPosition, wxDefaultSize, [_T("Item 1"), _T("Item 2 (pre-selected)")], );
    $self->{notebook_1_wxComboBox} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{combo_box_empty} = Wx::ComboBox->new($self->{notebook_1_wxComboBox}, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, [], wxCB_DROPDOWN);
    $self->{combo_box_filled} = Wx::ComboBox->new($self->{notebook_1_wxComboBox}, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, [_T("Item 1 (pre-selected)"), _T("Item 2")], wxCB_DROPDOWN);
    $self->{notebook_1_wxDatePickerCtrl} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{datepicker_ctrl_1} = Wx::DatePickerCtrl->new($self->{notebook_1_wxDatePickerCtrl}, wxID_ANY, Wx::DateTime->new(), wxDefaultPosition, wxDefaultSize, wxDP_SHOWCENTURY);
    $self->{notebook_1_wxGauge} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{gauge_1} = Wx::Gauge->new($self->{notebook_1_wxGauge}, wxID_ANY, 20);
    $self->{notebook_1_wxGrid} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{grid_1} = Wx::Grid->new($self->{notebook_1_wxGrid}, wxID_ANY);
    $self->{notebook_1_wxHyperlinkCtrl} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{hyperlink_1} = Wx::HyperlinkCtrl->new($self->{notebook_1_wxHyperlinkCtrl}, wxID_ANY, _T("Homepage wxGlade"), _T("http://wxglade.sf.net"));
    $self->{notebook_1_wxListBox} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{list_box_empty} = Wx::ListBox->new($self->{notebook_1_wxListBox}, wxID_ANY, wxDefaultPosition, wxDefaultSize, [], wxLB_SINGLE);
    $self->{list_box_filled} = Wx::ListBox->new($self->{notebook_1_wxListBox}, wxID_ANY, wxDefaultPosition, wxDefaultSize, [_T("Item 1"), _T("Item 2 (pre-selected)")], wxLB_MULTIPLE|wxLB_SORT);
    $self->{notebook_1_wxListCtrl} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{list_ctrl_1} = Wx::ListCtrl->new($self->{notebook_1_wxListCtrl}, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_SUNKEN|wxLC_REPORT);
    $self->{notebook_1_wxPropertyGridManager} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{property_grid_2} = Wx::PropertyGridManager->new($self->{notebook_1_wxPropertyGridManager}, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxPG_ALPHABETIC_MODE);
    $self->{notebook_1_wxRadioBox} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{radio_box_empty1} = Wx::RadioBox->new($self->{notebook_1_wxRadioBox}, wxID_ANY, _T("radio_box_empty1"), wxDefaultPosition, wxDefaultSize, [], 1, wxRA_SPECIFY_ROWS);
    $self->{radio_box_filled1} = Wx::RadioBox->new($self->{notebook_1_wxRadioBox}, wxID_ANY, _T("radio_box_filled1"), wxDefaultPosition, wxDefaultSize, [_T("choice 1"), _T("choice 2 (pre-selected)"), _T("choice 3")], 0, wxRA_SPECIFY_ROWS);
    $self->{radio_box_empty2} = Wx::RadioBox->new($self->{notebook_1_wxRadioBox}, wxID_ANY, _T("radio_box_empty2"), wxDefaultPosition, wxDefaultSize, [], 1, wxRA_SPECIFY_COLS);
    $self->{radio_box_filled2} = Wx::RadioBox->new($self->{notebook_1_wxRadioBox}, wxID_ANY, _T("radio_box_filled2"), wxDefaultPosition, wxDefaultSize, [_T("choice 1"), _T("choice 2 (pre-selected)")], 0, wxRA_SPECIFY_COLS);
    $self->{notebook_1_wxRadioButton} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{radio_btn_1} = Wx::RadioButton->new($self->{notebook_1_wxRadioButton}, wxID_ANY, _T("Alice"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP);
    $self->{text_ctrl_1} = Wx::TextCtrl->new($self->{notebook_1_wxRadioButton}, wxID_ANY, "");
    $self->{radio_btn_2} = Wx::RadioButton->new($self->{notebook_1_wxRadioButton}, wxID_ANY, _T("Bob"));
    $self->{text_ctrl_2} = Wx::TextCtrl->new($self->{notebook_1_wxRadioButton}, wxID_ANY, "");
    $self->{radio_btn_3} = Wx::RadioButton->new($self->{notebook_1_wxRadioButton}, wxID_ANY, _T("Malroy"));
    $self->{text_ctrl_3} = Wx::TextCtrl->new($self->{notebook_1_wxRadioButton}, wxID_ANY, "");
    $self->{notebook_1_wxSlider} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{slider_1} = Wx::Slider->new($self->{notebook_1_wxSlider}, wxID_ANY, 5, 0, 10);
    $self->{notebook_1_wxSpinButton} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{tc_spin_button} = Wx::TextCtrl->new($self->{notebook_1_wxSpinButton}, wxID_ANY, _T("1"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT);
    $self->{spin_button} = Wx::SpinButton->new($self->{notebook_1_wxSpinButton}, wxID_ANY,, wxDefaultPosition, wxDefaultSize, wxSP_VERTICAL);
    $self->{notebook_1_wxSpinCtrl} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{spin_ctrl_1} = Wx::SpinCtrl->new($self->{notebook_1_wxSpinCtrl}, wxID_ANY, "4", wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS|wxTE_RIGHT, 0, 100, 4);
    $self->{notebook_1_wxSplitterWindow_horizontal} = Wx::ScrolledWindow->new($self->{notebook_1}, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL);
    $self->{splitter_1} = Wx::SplitterWindow->new($self->{notebook_1_wxSplitterWindow_horizontal}, wxID_ANY);
    $self->{splitter_1_pane_1} = Wx::Panel->new($self->{splitter_1}, wxID_ANY);
    $self->{label_top_pane} = Wx::StaticText->new($self->{splitter_1_pane_1}, wxID_ANY, _T("top pane"));
    $self->{splitter_1_pane_2} = Wx::Panel->new($self->{splitter_1}, wxID_ANY);
    $self->{label_buttom_pane} = Wx::StaticText->new($self->{splitter_1_pane_2}, wxID_ANY, _T("bottom pane"));
    $self->{notebook_1_wxSplitterWindow_vertical} = Wx::ScrolledWindow->new($self->{notebook_1}, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL);
    $self->{splitter_2} = Wx::SplitterWindow->new($self->{notebook_1_wxSplitterWindow_vertical}, wxID_ANY);
    $self->{splitter_2_pane_1} = Wx::Panel->new($self->{splitter_2}, wxID_ANY);
    $self->{label_left_pane} = Wx::StaticText->new($self->{splitter_2_pane_1}, wxID_ANY, _T("left pane"));
    $self->{splitter_2_pane_2} = Wx::Panel->new($self->{splitter_2}, wxID_ANY);
    $self->{label_right_pane} = Wx::StaticText->new($self->{splitter_2_pane_2}, wxID_ANY, _T("right pane"));
    $self->{notebook_1_wxStaticBitmap} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{bitmap_empty} = Wx::StaticBitmap->new($self->{notebook_1_wxStaticBitmap}, wxID_ANY, Wx::Bitmap->new(32, 32));
    $self->{bitmap_file} = Wx::StaticBitmap->new($self->{notebook_1_wxStaticBitmap}, wxID_ANY, Wx::Bitmap->new("icon.xpm", wxBITMAP_TYPE_ANY));
    $self->{bitmap_nofile} = Wx::StaticBitmap->new($self->{notebook_1_wxStaticBitmap}, wxID_ANY, Wx::Bitmap->new("non-existing.bmp", wxBITMAP_TYPE_ANY));
    $self->{bitmap_art} = Wx::StaticBitmap->new($self->{notebook_1_wxStaticBitmap}, wxID_ANY, Wx::ArtProvider::GetBitmap(wxART_PRINT, wxART_OTHER, Wx::Size->new(32, 32)));
    $self->{notebook_1_wxStaticLine} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{static_line_2} = Wx::StaticLine->new($self->{notebook_1_wxStaticLine}, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_VERTICAL);
    $self->{static_line_3} = Wx::StaticLine->new($self->{notebook_1_wxStaticLine}, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_VERTICAL);
    $self->{static_line_4} = Wx::StaticLine->new($self->{notebook_1_wxStaticLine}, wxID_ANY);
    $self->{static_line_5} = Wx::StaticLine->new($self->{notebook_1_wxStaticLine}, wxID_ANY);
    $self->{notebook_1_wxStaticText} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{label_1} = Wx::StaticText->new($self->{notebook_1_wxStaticText}, wxID_ANY, _T("red text (RGB)"), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER);
    $self->{label_4} = Wx::StaticText->new($self->{notebook_1_wxStaticText}, wxID_ANY, _T("black on red (RGB)"), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER);
    $self->{label_5} = Wx::StaticText->new($self->{notebook_1_wxStaticText}, wxID_ANY, _T("green on pink (RGB)"), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER);
    $self->{notebook_1_Spacer} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{label_3} = Wx::StaticText->new($self->{notebook_1_Spacer}, wxID_ANY, _T("Two labels with a"));
    $self->{label_2} = Wx::StaticText->new($self->{notebook_1_Spacer}, wxID_ANY, _T("spacer between"));
    $self->{notebook_1_wxTextCtrl} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{text_ctrl} = Wx::TextCtrl->new($self->{notebook_1_wxTextCtrl}, wxID_ANY, _T("This\nis\na\nmultiline\nwxTextCtrl"), wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_WORDWRAP);
    $self->{notebook_1_wxToggleButton} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{button_2} = Wx::ToggleButton->new($self->{notebook_1_wxToggleButton}, wxID_ANY, _T("Toggle Button 1"));
    $self->{button_4} = Wx::ToggleButton->new($self->{notebook_1_wxToggleButton}, wxID_ANY, _T("Toggle Button 2"), wxDefaultPosition, wxDefaultSize, wxBU_BOTTOM|wxBU_EXACTFIT);
    $self->{notebook_1_wxTreeCtrl} = Wx::Panel->new($self->{notebook_1}, wxID_ANY);
    $self->{tree_ctrl_1} = Wx::TreeCtrl->new($self->{notebook_1_wxTreeCtrl}, wxID_ANY);
    $self->{static_line_1} = Wx::StaticLine->new($self, wxID_ANY);
    $self->{button_5} = Wx::Button->new($self, wxID_CLOSE, "");
    $self->{button_1} = Wx::Button->new($self, wxID_OK, "", wxDefaultPosition, wxDefaultSize, wxBU_TOP);

    $self->__set_properties();
    $self->__do_layout();

    Wx::Event::EVT_MENU($self, $self->{mn_Unix}->GetId, \&onSelectUnix);
    Wx::Event::EVT_MENU($self, $self->{mn_Windows}->GetId, \&onSelectWindows);
    Wx::Event::EVT_MENU($self, $self->{mn_RemoveTabs}->GetId, \&onRemoveTabs);
    Wx::Event::EVT_MENU($self, wxID_HELP, \&onShowManual);
    Wx::Event::EVT_NAVIGATION_KEY($self, \&OnBitmapButtonPanelNavigationKey);
    Wx::Event::EVT_NOTEBOOK_PAGE_CHANGED($self, $self->{notebook_1}->GetId, \&OnNotebookPageChanged);
    Wx::Event::EVT_NOTEBOOK_PAGE_CHANGING($self, $self->{notebook_1}->GetId, \&OnNotebookPageChanging);
    Wx::Event::EVT_BUTTON($self, $self->{button_1}->GetId, \&onStartConverting);

    # end wxGlade
    return $self;

}


sub __set_properties {
    my $self = shift;
    # begin wxGlade: All_Widgets_Frame::__set_properties
    $self->SetTitle(_T("All Widgets"));
    my $icon = &Wx::wxNullIcon;
    $icon->CopyFromBitmap(Wx::ArtProvider::GetBitmap(wxART_TIP, wxART_OTHER, Wx::Size->new(32, 32)));
    $self->SetIcon($icon);
    $self->SetSize(Wx::Size->new(800, 417));
    $self->{All_Widgets_statusbar}->SetStatusWidths(-1);

    # statusbar fields
    my( @All_Widgets_statusbar_fields ) = (
        _T("All Widgets statusbar"),
    );

    if( @All_Widgets_statusbar_fields ) {
        $self->{All_Widgets_statusbar}->SetStatusText($All_Widgets_statusbar_fields[$_], $_)
        for 0 .. $#All_Widgets_statusbar_fields ;
    }
    $self->{All_Widgets_toolbar}->Realize();
    $self->{bitmap_button_icon1}->SetSize($self->{bitmap_button_icon1}->GetBestSize());
    $self->{bitmap_button_icon1}->SetDefault();
    $self->{bitmap_button_empty1}->SetSize($self->{bitmap_button_empty1}->GetBestSize());
    $self->{bitmap_button_empty1}->SetDefault();
    $self->{bitmap_button_icon2}->SetBitmapDisabled(Wx::Bitmap->new(20, 20));
    $self->{bitmap_button_icon2}->SetSize($self->{bitmap_button_icon2}->GetBestSize());
    $self->{bitmap_button_icon2}->SetDefault();
    $self->{bitmap_button_art}->SetSize($self->{bitmap_button_art}->GetBestSize());
    $self->{bitmap_button_art}->SetDefault();
    $self->{checkbox_2}->SetValue(1);
    $self->{checkbox_4}->Set3StateValue(wxCHK_UNCHECKED);
    $self->{checkbox_5}->Set3StateValue(wxCHK_CHECKED);
    $self->{checkbox_6}->Set3StateValue(wxCHK_UNDETERMINED);
    $self->{check_list_box_1}->SetSelection(2);
    $self->{choice_filled}->SetSelection(1);
    $self->{combo_box_filled}->SetSelection(0);
    $self->{grid_1}->CreateGrid(10, 3);
    $self->{grid_1}->SetSelectionMode(wxGridSelectCells);
    $self->{list_box_filled}->SetSelection(1);
    $self->{radio_box_filled1}->SetSelection(1);
    $self->{radio_box_filled2}->SetSelection(1);
    $self->{splitter_1}->SetMinimumPaneSize(20);
    $self->{notebook_1_wxSplitterWindow_horizontal}->SetScrollRate(10, 10);
    $self->{splitter_2}->SetMinimumPaneSize(20);
    $self->{notebook_1_wxSplitterWindow_vertical}->SetScrollRate(10, 10);
    $self->{label_1}->SetForegroundColour(Wx::Colour->new(255, 0, 0));
    $self->{label_4}->SetBackgroundColour(Wx::Colour->new(255, 0, 0));
    $self->{label_4}->SetToolTip(_T("Background colour won't show, check documentation for more details"));
    $self->{label_5}->SetBackgroundColour(Wx::Colour->new(255, 0, 255));
    $self->{label_5}->SetForegroundColour(Wx::Colour->new(0, 255, 0));
    $self->{label_5}->SetToolTip(_T("Background colour won't show, check documentation for more details"));
    # end wxGlade
}

sub __do_layout {
    my $self = shift;
    # begin wxGlade: All_Widgets_Frame::__do_layout
    $self->{sizer_1} = Wx::FlexGridSizer->new(3, 1, 0, 0);
    $self->{sizer_2} = Wx::FlexGridSizer->new(1, 2, 0, 0);
    $self->{sizer_24} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_23} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_18} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{grid_sizer_4} = Wx::FlexGridSizer->new(1, 3, 0, 0);
    $self->{grid_sizer_3} = Wx::FlexGridSizer->new(1, 3, 0, 0);
    $self->{sizer_9} = Wx::BoxSizer->new(wxVERTICAL);
    $self->{sizer_10} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_11} = Wx::BoxSizer->new(wxVERTICAL);
    $self->{sizer_25} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_33} = Wx::BoxSizer->new(wxVERTICAL);
    $self->{sizer_32} = Wx::BoxSizer->new(wxVERTICAL);
    $self->{sizer_29} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_31} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_30} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_14} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_16} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_22} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_8} = Wx::StaticBoxSizer->new(Wx::StaticBox->new($self->{notebook_1_wxRadioButton}, wxID_ANY, _T("My RadioButton Group")), wxHORIZONTAL);
    $self->{grid_sizer_2} = Wx::FlexGridSizer->new(3, 2, 0, 0);
    $self->{grid_sizer_1} = Wx::GridSizer->new(2, 2, 0, 0);
    $self->{sizer_34} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_3} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_4} = Wx::BoxSizer->new(wxVERTICAL);
    $self->{sizer_20} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_19} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_15} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_17} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_6} = Wx::BoxSizer->new(wxVERTICAL);
    $self->{sizer_7} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_5} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_26} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_21} = Wx::GridSizer->new(2, 3, 0, 0);
    $self->{sizer_27} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_12} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_28} = Wx::BoxSizer->new(wxHORIZONTAL);
    $self->{sizer_13} = Wx::FlexGridSizer->new(2, 2, 0, 0);
    $self->{sizer_13}->Add($self->{bitmap_button_icon1}, 1, wxALL|wxEXPAND, 5);
    $self->{sizer_13}->Add($self->{bitmap_button_empty1}, 1, wxALL|wxEXPAND, 5);
    $self->{sizer_13}->Add($self->{bitmap_button_icon2}, 1, wxALL|wxEXPAND, 5);
    $self->{sizer_13}->Add($self->{bitmap_button_art}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxBitmapButton}->SetSizer($self->{sizer_13});
    $self->{sizer_13}->AddGrowableRow(0);
    $self->{sizer_13}->AddGrowableRow(1);
    $self->{sizer_13}->AddGrowableCol(0);
    $self->{sizer_13}->AddGrowableCol(1);
    $self->{sizer_28}->Add($self->{button_3}, 0, wxALL, 5);
    $self->{notebook_1_wxButton}->SetSizer($self->{sizer_28});
    $self->{sizer_12}->Add($self->{calendar_ctrl_1}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxCalendarCtrl}->SetSizer($self->{sizer_12});
    $self->{sizer_27}->Add($self->{generic_calendar_ctrl_1}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxGenericCalendarCtrl}->SetSizer($self->{sizer_27});
    $self->{sizer_21}->Add($self->{checkbox_1}, 0, wxEXPAND, 0);
    $self->{sizer_21}->Add($self->{checkbox_2}, 0, wxEXPAND, 0);
    $self->{sizer_21}->Add($self->{checkbox_3}, 0, wxEXPAND, 0);
    $self->{sizer_21}->Add($self->{checkbox_4}, 0, wxEXPAND, 0);
    $self->{sizer_21}->Add($self->{checkbox_5}, 0, wxEXPAND, 0);
    $self->{sizer_21}->Add($self->{checkbox_6}, 0, wxEXPAND, 0);
    $self->{notebook_1_wxCheckBox}->SetSizer($self->{sizer_21});
    $self->{sizer_26}->Add($self->{check_list_box_1}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxCheckListBox}->SetSizer($self->{sizer_26});
    $self->{sizer_5}->Add($self->{choice_empty}, 1, wxALL, 5);
    $self->{sizer_5}->Add($self->{choice_filled}, 1, wxALL, 5);
    $self->{notebook_1_wxChoice}->SetSizer($self->{sizer_5});
    $self->{sizer_7}->Add($self->{combo_box_empty}, 1, wxALL, 5);
    $self->{sizer_7}->Add($self->{combo_box_filled}, 1, wxALL, 5);
    $self->{sizer_6}->Add($self->{sizer_7}, 1, wxEXPAND, 0);
    $self->{notebook_1_wxComboBox}->SetSizer($self->{sizer_6});
    $self->{sizer_17}->Add($self->{datepicker_ctrl_1}, 1, wxALIGN_CENTER|wxALL, 5);
    $self->{notebook_1_wxDatePickerCtrl}->SetSizer($self->{sizer_17});
    $self->{sizer_15}->Add($self->{gauge_1}, 1, wxALL, 5);
    $self->{notebook_1_wxGauge}->SetSizer($self->{sizer_15});
    $self->{sizer_19}->Add($self->{grid_1}, 1, wxEXPAND, 0);
    $self->{notebook_1_wxGrid}->SetSizer($self->{sizer_19});
    $self->{sizer_20}->Add($self->{hyperlink_1}, 0, wxALL, 5);
    $self->{notebook_1_wxHyperlinkCtrl}->SetSizer($self->{sizer_20});
    $self->{sizer_4}->Add($self->{list_box_empty}, 1, wxALL|wxEXPAND, 5);
    $self->{sizer_4}->Add($self->{list_box_filled}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxListBox}->SetSizer($self->{sizer_4});
    $self->{sizer_3}->Add($self->{list_ctrl_1}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxListCtrl}->SetSizer($self->{sizer_3});
    $self->{sizer_34}->Add($self->{property_grid_2}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxPropertyGridManager}->SetSizer($self->{sizer_34});
    $self->{grid_sizer_1}->Add($self->{radio_box_empty1}, 1, wxALL|wxEXPAND, 5);
    $self->{grid_sizer_1}->Add($self->{radio_box_filled1}, 1, wxALL|wxEXPAND, 5);
    $self->{grid_sizer_1}->Add($self->{radio_box_empty2}, 1, wxALL|wxEXPAND, 5);
    $self->{grid_sizer_1}->Add($self->{radio_box_filled2}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxRadioBox}->SetSizer($self->{grid_sizer_1});
    $self->{grid_sizer_2}->Add($self->{radio_btn_1}, 1, wxALL|wxEXPAND, 5);
    $self->{grid_sizer_2}->Add($self->{text_ctrl_1}, 1, wxALL|wxEXPAND, 5);
    $self->{grid_sizer_2}->Add($self->{radio_btn_2}, 1, wxALL|wxEXPAND, 5);
    $self->{grid_sizer_2}->Add($self->{text_ctrl_2}, 1, wxALL|wxEXPAND, 5);
    $self->{grid_sizer_2}->Add($self->{radio_btn_3}, 1, wxALL|wxEXPAND, 5);
    $self->{grid_sizer_2}->Add($self->{text_ctrl_3}, 1, wxALL|wxEXPAND, 5);
    $self->{sizer_8}->Add($self->{grid_sizer_2}, 1, wxEXPAND, 0);
    $self->{notebook_1_wxRadioButton}->SetSizer($self->{sizer_8});
    $self->{sizer_22}->Add($self->{slider_1}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxSlider}->SetSizer($self->{sizer_22});
    $self->{sizer_16}->Add($self->{tc_spin_button}, 1, wxALL, 5);
    $self->{sizer_16}->Add($self->{spin_button}, 1, wxALL, 5);
    $self->{notebook_1_wxSpinButton}->SetSizer($self->{sizer_16});
    $self->{sizer_14}->Add($self->{spin_ctrl_1}, 1, wxALL, 5);
    $self->{notebook_1_wxSpinCtrl}->SetSizer($self->{sizer_14});
    $self->{sizer_30}->Add($self->{label_top_pane}, 1, wxALL|wxEXPAND, 5);
    $self->{splitter_1_pane_1}->SetSizer($self->{sizer_30});
    $self->{sizer_31}->Add($self->{label_buttom_pane}, 1, wxALL|wxEXPAND, 5);
    $self->{splitter_1_pane_2}->SetSizer($self->{sizer_31});
    $self->{splitter_1}->SplitHorizontally($self->{splitter_1_pane_1}, $self->{splitter_1_pane_2}, );
    $self->{sizer_29}->Add($self->{splitter_1}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxSplitterWindow_horizontal}->SetSizer($self->{sizer_29});
    $self->{sizer_32}->Add($self->{label_left_pane}, 1, wxALL|wxEXPAND, 5);
    $self->{splitter_2_pane_1}->SetSizer($self->{sizer_32});
    $self->{sizer_33}->Add($self->{label_right_pane}, 1, wxALL|wxEXPAND, 5);
    $self->{splitter_2_pane_2}->SetSizer($self->{sizer_33});
    $self->{splitter_2}->SplitVertically($self->{splitter_2_pane_1}, $self->{splitter_2_pane_2}, );
    $self->{sizer_25}->Add($self->{splitter_2}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxSplitterWindow_vertical}->SetSizer($self->{sizer_25});
    $self->{sizer_11}->Add($self->{bitmap_empty}, 1, wxALIGN_CENTER|wxALL|wxEXPAND, 5);
    $self->{sizer_11}->Add($self->{bitmap_file}, 1, wxALIGN_CENTER|wxALL|wxEXPAND, 5);
    $self->{sizer_11}->Add($self->{bitmap_nofile}, 1, wxALIGN_CENTER|wxALL|wxEXPAND, 5);
    $self->{sizer_11}->Add($self->{bitmap_art}, 1, wxALIGN_CENTER|wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxStaticBitmap}->SetSizer($self->{sizer_11});
    $self->{sizer_10}->Add($self->{static_line_2}, 1, wxALL|wxEXPAND, 5);
    $self->{sizer_10}->Add($self->{static_line_3}, 1, wxALL|wxEXPAND, 5);
    $self->{sizer_9}->Add($self->{sizer_10}, 1, wxEXPAND, 0);
    $self->{sizer_9}->Add($self->{static_line_4}, 1, wxALL|wxEXPAND, 5);
    $self->{sizer_9}->Add($self->{static_line_5}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxStaticLine}->SetSizer($self->{sizer_9});
    $self->{grid_sizer_3}->Add($self->{label_1}, 1, wxALL|wxEXPAND, 5);
    $self->{grid_sizer_3}->Add($self->{label_4}, 1, wxALL|wxEXPAND, 5);
    $self->{grid_sizer_3}->Add($self->{label_5}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxStaticText}->SetSizer($self->{grid_sizer_3});
    $self->{grid_sizer_4}->Add($self->{label_3}, 1, wxALL|wxEXPAND, 5);
    $self->{grid_sizer_4}->Add(60, 20, 1, wxALL|wxEXPAND, 5);
    $self->{grid_sizer_4}->Add($self->{label_2}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_Spacer}->SetSizer($self->{grid_sizer_4});
    $self->{sizer_18}->Add($self->{text_ctrl}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxTextCtrl}->SetSizer($self->{sizer_18});
    $self->{sizer_23}->Add($self->{button_2}, 1, wxALL, 5);
    $self->{sizer_23}->Add($self->{button_4}, 1, wxALL, 5);
    $self->{notebook_1_wxToggleButton}->SetSizer($self->{sizer_23});
    $self->{sizer_24}->Add($self->{tree_ctrl_1}, 1, wxALL|wxEXPAND, 5);
    $self->{notebook_1_wxTreeCtrl}->SetSizer($self->{sizer_24});
    $self->{notebook_1}->AddPage($self->{notebook_1_wxBitmapButton}, _T("wxBitmapButton"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxButton}, _T("wxButton"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxCalendarCtrl}, _T("wxCalendarCtrl"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxGenericCalendarCtrl}, _T("wxGenericCalendarCtrl"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxCheckBox}, _T("wxCheckBox"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxCheckListBox}, _T("wxCheckListBox"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxChoice}, _T("wxChoice"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxComboBox}, _T("wxComboBox"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxDatePickerCtrl}, _T("wxDatePickerCtrl"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxGauge}, _T("wxGauge"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxGrid}, _T("wxGrid"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxHyperlinkCtrl}, _T("wxHyperlinkCtrl"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxListBox}, _T("wxListBox"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxListCtrl}, _T("wxListCtrl"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxPropertyGridManager}, _T("wxPropertyGridManager"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxRadioBox}, _T("wxRadioBox"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxRadioButton}, _T("wxRadioButton"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxSlider}, _T("wxSlider"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxSpinButton}, _T("wxSpinButton (with wxTextCtrl)"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxSpinCtrl}, _T("wxSpinCtrl"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxSplitterWindow_horizontal}, _T("wxSplitterWindow (horizontally)"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxSplitterWindow_vertical}, _T("wxSplitterWindow (vertically)"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxStaticBitmap}, _T("wxStaticBitmap"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxStaticLine}, _T("wxStaticLine"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxStaticText}, _T("wxStaticText"));
    $self->{notebook_1}->AddPage($self->{notebook_1_Spacer}, _T("Spacer"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxTextCtrl}, _T("wxTextCtrl"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxToggleButton}, _T("wxToggleButton"));
    $self->{notebook_1}->AddPage($self->{notebook_1_wxTreeCtrl}, _T("wxTreeCtrl"));
    $self->{sizer_1}->Add($self->{notebook_1}, 1, wxEXPAND, 0);
    $self->{sizer_1}->Add($self->{static_line_1}, 0, wxALL|wxEXPAND, 5);
    $self->{sizer_2}->Add($self->{button_5}, 0, wxALIGN_RIGHT|wxALL, 5);
    $self->{sizer_2}->Add($self->{button_1}, 0, wxALIGN_RIGHT|wxALL, 5);
    $self->{sizer_1}->Add($self->{sizer_2}, 0, wxALIGN_RIGHT, 0);
    $self->SetSizer($self->{sizer_1});
    $self->{sizer_1}->SetSizeHints($self);
    $self->{sizer_1}->AddGrowableRow(0);
    $self->{sizer_1}->AddGrowableCol(0);
    $self->Layout();
    $self->Centre();
    # end wxGlade
}

sub onSelectUnix {
    my ($self, $event) = @_;
    # wxGlade: All_Widgets_Frame::onSelectUnix <event_handler>
    warn "Event handler (onSelectUnix) not implemented";
    $event->Skip;
    # end wxGlade
}


sub onSelectWindows {
    my ($self, $event) = @_;
    # wxGlade: All_Widgets_Frame::onSelectWindows <event_handler>
    warn "Event handler (onSelectWindows) not implemented";
    $event->Skip;
    # end wxGlade
}


sub onRemoveTabs {
    my ($self, $event) = @_;
    # wxGlade: All_Widgets_Frame::onRemoveTabs <event_handler>
    warn "Event handler (onRemoveTabs) not implemented";
    $event->Skip;
    # end wxGlade
}


sub onShowManual {
    my ($self, $event) = @_;
    # wxGlade: All_Widgets_Frame::onShowManual <event_handler>
    warn "Event handler (onShowManual) not implemented";
    $event->Skip;
    # end wxGlade
}


sub OnBitmapButtonPanelNavigationKey {
    my ($self, $event) = @_;
    # wxGlade: All_Widgets_Frame::OnBitmapButtonPanelNavigationKey <event_handler>
    warn "Event handler (OnBitmapButtonPanelNavigationKey) not implemented";
    $event->Skip;
    # end wxGlade
}


sub OnNotebookPageChanged {
    my ($self, $event) = @_;
    # wxGlade: All_Widgets_Frame::OnNotebookPageChanged <event_handler>
    warn "Event handler (OnNotebookPageChanged) not implemented";
    $event->Skip;
    # end wxGlade
}


sub OnNotebookPageChanging {
    my ($self, $event) = @_;
    # wxGlade: All_Widgets_Frame::OnNotebookPageChanging <event_handler>
    warn "Event handler (OnNotebookPageChanging) not implemented";
    $event->Skip;
    # end wxGlade
}


sub onStartConverting {
    my ($self, $event) = @_;
    # wxGlade: All_Widgets_Frame::onStartConverting <event_handler>
    warn "Event handler (onStartConverting) not implemented";
    $event->Skip;
    # end wxGlade
}


# end of class All_Widgets_Frame

1;

1;

package main;

unless(caller){
    my $local = Wx::Locale->new("English", "en", "en"); # replace with ??
    $local->AddCatalog("AllWidgets30App"); # replace with the appropriate catalog name

    local *Wx::App::OnInit = sub{1};
    my $AllWidgets30App = Wx::App->new();
    Wx::InitAllImageHandlers();

    my $All_Widgets = All_Widgets_Frame->new();

    $AllWidgets30App->SetTopWindow($All_Widgets);
    $All_Widgets->Show(1);
    $AllWidgets30App->MainLoop();
}
