// -*- C++ -*-
//
// generated by wxGlade 1.0.1 on Sat Jan  2 23:52:40 2021
//
// Example for compiling a single file project under Linux using g++:
//  g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp
//
// Example for compiling a multi file project under Linux using g++:
//  g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp
//

#include "Sizes_FrameMin_ManagedMax.h"

// begin wxGlade: ::extracode
// end wxGlade



MyFrame::MyFrame(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style):
    wxFrame(parent, id, title, pos, size, wxDEFAULT_FRAME_STYLE)
{
    // begin wxGlade: MyFrame::MyFrame
    SetSize(wxSize(1450, 341));
    SetMinSize(wxSize(100, 100));
    SetTitle(wxT("frame"));
    panel_1 = new wxPanel(this, wxID_ANY);
    wxBoxSizer* sizer_1 = new wxBoxSizer(wxHORIZONTAL);
    wxBoxSizer* sizer_2 = new wxBoxSizer(wxVERTICAL);
    sizer_1->Add(sizer_2, 1, wxEXPAND, 0);
    button_1 = new wxButton(panel_1, wxID_ANY, wxT("-/-"));
    sizer_2->Add(button_1, 0, 0, 0);
    button_2 = new wxButton(panel_1, wxID_ANY, wxT("button_2 prop 1"));
    sizer_2->Add(button_2, 1, wxFIXED_MINSIZE, 0);
    button_3 = new wxButton(panel_1, wxID_ANY, wxT("button_3 expand"));
    sizer_2->Add(button_3, 0, wxEXPAND, 0);
    wxBoxSizer* sizer_3 = new wxBoxSizer(wxVERTICAL);
    sizer_1->Add(sizer_3, 1, wxEXPAND, 0);
    button_22 = new wxButton(panel_1, wxID_ANY, wxT("size/-"));
    button_22->SetMinSize(wxSize(200, 30));
    sizer_3->Add(button_22, 0, 0, 0);
    button_23 = new wxButton(panel_1, wxID_ANY, wxT("button_23"));
    button_23->SetMinSize(wxSize(200, 30));
    sizer_3->Add(button_23, 1, 0, 0);
    button_24 = new wxButton(panel_1, wxID_ANY, wxT("button_24"));
    button_24->SetMinSize(wxSize(200, 30));
    sizer_3->Add(button_24, 0, wxEXPAND, 0);
    wxBoxSizer* sizer_4 = new wxBoxSizer(wxVERTICAL);
    sizer_1->Add(sizer_4, 1, wxEXPAND, 0);
    button_31 = new wxButton(panel_1, wxID_ANY, wxT("size/max"));
    button_31->SetMinSize(wxSize(200, 30));
    button_31->SetMaxSize(wxSize(300, 40));
    sizer_4->Add(button_31, 0, 0, 0);
    button_32 = new wxButton(panel_1, wxID_ANY, wxT("button_32"));
    button_32->SetMinSize(wxSize(200, 30));
    button_32->SetMaxSize(wxSize(300, 40));
    sizer_4->Add(button_32, 1, 0, 0);
    button_33 = new wxButton(panel_1, wxID_ANY, wxT("button_33"));
    button_33->SetMinSize(wxSize(200, 30));
    button_33->SetMaxSize(wxSize(300, 40));
    sizer_4->Add(button_33, 0, wxEXPAND, 0);
    wxBoxSizer* sizer_6 = new wxBoxSizer(wxVERTICAL);
    sizer_1->Add(sizer_6, 1, wxEXPAND, 0);
    button_220 = new wxButton(panel_1, wxID_ANY, wxT("-/max"));
    button_220->SetMaxSize(wxSize(300, 40));
    sizer_6->Add(button_220, 0, 0, 0);
    button_221 = new wxButton(panel_1, wxID_ANY, wxT("button_221"));
    button_221->SetMaxSize(wxSize(300, 40));
    sizer_6->Add(button_221, 1, 0, 0);
    button_222 = new wxButton(panel_1, wxID_ANY, wxT("button_222"));
    button_222->SetMaxSize(wxSize(300, 40));
    sizer_6->Add(button_222, 0, wxEXPAND, 0);
    
    panel_1->SetSizer(sizer_1);
    Layout();
    // end wxGlade
}


class MyApp: public wxApp {
public:
    bool OnInit();
};

IMPLEMENT_APP(MyApp)

bool MyApp::OnInit()
{
    wxInitAllImageHandlers();
    MyFrame* frame = new MyFrame(NULL, wxID_ANY, wxEmptyString);
    SetTopWindow(frame);
    frame->Show();
    return true;
}
