//------------------------------------------------------------------------------
// Source code generated by wxDesigner from file: dlg_assign_soil_salinity.wdr
// Do not modify this file, all changes will be lost!
//------------------------------------------------------------------------------

#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
    #pragma implementation "dlg_assign_soil_salinity_wdr.h"
#endif

// For compilers that support precompilation
#include "wx/wxprec.h"

#ifdef __BORLANDC__
    #pragma hdrstop
#endif

// Include private header
#include "dlg_assign_soil_salinity_wdr.h"


// Euro sign hack of the year
#if wxUSE_UNICODE
    #define __WDR_EURO__ wxT("\u20ac")
#else
    #if defined(__WXMAC__)
        #define __WDR_EURO__ wxT("\xdb")
    #elif defined(__WXMSW__)
        #define __WDR_EURO__ wxT("\x80")
    #else
        #define __WDR_EURO__ wxT("\xa4")
    #endif
#endif

// Implement window functions

wxSizer *Dlg_Assign_Soil_Salinity( wxWindow *parent, bool call_fit, bool set_sizer )
{
    wxBoxSizer *item0 = new wxBoxSizer( wxVERTICAL );

    wxStaticBox *item2 = new wxStaticBox( parent, -1, wxT("Main Settings") );
    item2->SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) );
    wxStaticBoxSizer *item1 = new wxStaticBoxSizer( item2, wxVERTICAL );

    wxBoxSizer *item3 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item4 = new wxStaticText( parent, ID_TEXT, wxT("Select Soil Map"), wxDefaultPosition, wxSize(80,-1), 0 );
    item3->Add( item4, 0, wxALIGN_CENTER|wxALL, 5 );

    wxString *strs5 = (wxString*) NULL;
    wxComboBox *item5 = new wxComboBox( parent, ID_COMBO_SOILMAP, wxT(""), wxDefaultPosition, wxSize(200,-1), 0, strs5, wxCB_DROPDOWN );
    item3->Add( item5, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item6 = new wxStaticText( parent, ID_TEXT, wxT(""), wxDefaultPosition, wxSize(110,-1), 0 );
    item3->Add( item6, 0, wxALIGN_CENTER|wxALL, 5 );

    item1->Add( item3, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );

    wxBoxSizer *item7 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item8 = new wxStaticText( parent, ID_TEXT, wxT("Selected Field"), wxDefaultPosition, wxSize(80,-1), 0 );
    item7->Add( item8, 0, wxALIGN_CENTER|wxALL, 5 );

    wxTextCtrl *item9 = new wxTextCtrl( parent, ID_TEXTCTRL, wxT(""), wxDefaultPosition, wxSize(40,-1), 0 );
    item9->SetBackgroundColour( *wxLIGHT_GREY );
    item9->Enable( false );
    item7->Add( item9, 0, wxALIGN_CENTER|wxALL, 5 );

    item1->Add( item7, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );

    wxStaticBox *item11 = new wxStaticBox( parent, -1, wxT("Time") );
    wxStaticBoxSizer *item10 = new wxStaticBoxSizer( item11, wxVERTICAL );

    wxBoxSizer *item12 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer *item13 = new wxBoxSizer( wxVERTICAL );

    wxStaticText *item14 = new wxStaticText( parent, ID_TEXT, wxT("Year"), wxDefaultPosition, wxSize(80,-1), 0 );
    item13->Add( item14, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );

    wxTextCtrl *item15 = new wxTextCtrl( parent, ID_TEXTCTRL, wxT(""), wxDefaultPosition, wxSize(80,-1), 0 );
    item13->Add( item15, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );

    item12->Add( item13, 0, wxALIGN_CENTER_HORIZONTAL|wxLEFT|wxRIGHT, 5 );

    wxBoxSizer *item16 = new wxBoxSizer( wxVERTICAL );

    wxString strs17[] = 
    {
        wxT("Before Leaching"), 
        wxT("After Leaching")
    };
    wxRadioBox *item17 = new wxRadioBox( parent, ID_RADIOBOX_Period, wxT("Period"), wxDefaultPosition, wxDefaultSize, 2, strs17, 1, wxRA_SPECIFY_COLS );
    item16->Add( item17, 0, wxLEFT|wxRIGHT, 5 );

    item12->Add( item16, 0, wxALIGN_CENTER_HORIZONTAL|wxLEFT|wxRIGHT, 5 );

    item10->Add( item12, 0, wxALIGN_CENTER|wxALL, 5 );

    item1->Add( item10, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );

    item0->Add( item1, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

    wxStaticBox *item19 = new wxStaticBox( parent, -1, wxT("Soil Salinity Variables (before leaching)") );
    item19->SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) );
    wxStaticBoxSizer *item18 = new wxStaticBoxSizer( item19, wxVERTICAL );

    wxBoxSizer *item20 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item21 = new wxStaticText( parent, ID_TEXT_COLOUR1, wxT("Soil Colour"), wxDefaultPosition, wxSize(150,-1), 0 );
    item20->Add( item21, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item22 = new wxStaticText( parent, ID_TEXT, wxT("white"), wxDefaultPosition, wxSize(50,-1), 0 );
    item20->Add( item22, 0, wxALIGN_CENTER|wxALL, 5 );

    wxSlider *item23 = new wxSlider( parent, ID_SLIDER_SOIL_COLOUR_BEFORE, 0, 0, 100, wxDefaultPosition, wxSize(100,-1), wxSL_HORIZONTAL );
    item20->Add( item23, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item24 = new wxStaticText( parent, ID_TEXT, wxT("brown"), wxDefaultPosition, wxSize(80,-1), 0 );
    item20->Add( item24, 0, wxALIGN_CENTER|wxALL, 5 );

    item18->Add( item20, 0, wxALIGN_CENTER|wxLEFT|wxRIGHT, 5 );

    wxBoxSizer *item25 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item26 = new wxStaticText( parent, ID_TEXT_nLeach, wxT("Number of leaching"), wxDefaultPosition, wxSize(150,-1), 0 );
    item25->Add( item26, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item27 = new wxStaticText( parent, ID_TEXT, wxT(""), wxDefaultPosition, wxSize(50,-1), 0 );
    item25->Add( item27, 0, wxALIGN_CENTER|wxALL, 5 );

    wxString strs28[] = 
    {
        wxT("0"), 
        wxT("1"), 
        wxT("2"), 
        wxT("3"), 
        wxT("4"), 
        wxT("5"), 
        wxT("6")
    };
    wxComboBox *item28 = new wxComboBox( parent, ID_COMBO_nLeaching, wxT(""), wxDefaultPosition, wxSize(100,-1), 7, strs28, wxCB_DROPDOWN );
    item25->Add( item28, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item29 = new wxStaticText( parent, ID_TEXT, wxT(""), wxDefaultPosition, wxSize(80,-1), 0 );
    item25->Add( item29, 0, wxALIGN_CENTER|wxALL, 5 );

    item18->Add( item25, 0, wxALIGN_CENTER|wxLEFT|wxRIGHT, 5 );

    wxBoxSizer *item30 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item31 = new wxStaticText( parent, ID_TEXT_WATERQUALITY, wxT("Water quality"), wxDefaultPosition, wxSize(150,-1), 0 );
    item30->Add( item31, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item32 = new wxStaticText( parent, ID_TEXT, wxT("good"), wxDefaultPosition, wxSize(50,-1), 0 );
    item30->Add( item32, 0, wxALIGN_CENTER|wxALL, 5 );

    wxSlider *item33 = new wxSlider( parent, ID_SLIDER_WaterQuality, 0, 0, 100, wxDefaultPosition, wxSize(100,-1), wxSL_HORIZONTAL );
    item30->Add( item33, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item34 = new wxStaticText( parent, ID_TEXT, wxT("bad"), wxDefaultPosition, wxSize(80,-1), 0 );
    item30->Add( item34, 0, wxALIGN_CENTER|wxALL, 5 );

    item18->Add( item30, 0, wxALIGN_CENTER|wxLEFT|wxRIGHT, 5 );

    wxBoxSizer *item35 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item36 = new wxStaticText( parent, ID_TEXT_PROD_LOSSES, wxT("Losses of productivity"), wxDefaultPosition, wxSize(150,-1), 0 );
    item35->Add( item36, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item37 = new wxStaticText( parent, ID_TEXT, wxT("no losses"), wxDefaultPosition, wxSize(50,-1), 0 );
    item35->Add( item37, 0, wxALIGN_CENTER|wxALL, 5 );

    wxSlider *item38 = new wxSlider( parent, ID_SLIDER_ProdLosses, 0, 0, 100, wxDefaultPosition, wxSize(100,-1), wxSL_HORIZONTAL );
    item35->Add( item38, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item39 = new wxStaticText( parent, ID_TEXT, wxT("high losses"), wxDefaultPosition, wxSize(80,-1), 0 );
    item35->Add( item39, 0, wxALIGN_CENTER|wxALL, 5 );

    item18->Add( item35, 0, wxALIGN_CENTER|wxLEFT|wxRIGHT, 5 );

    item0->Add( item18, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

    wxStaticBox *item41 = new wxStaticBox( parent, -1, wxT("Soil Salinity Variables (after leaching)") );
    item41->SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) );
    wxStaticBoxSizer *item40 = new wxStaticBoxSizer( item41, wxVERTICAL );

    wxBoxSizer *item42 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item43 = new wxStaticText( parent, ID_TEXT_COLOUR1, wxT("Soil Colour"), wxDefaultPosition, wxSize(150,-1), 0 );
    item42->Add( item43, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item44 = new wxStaticText( parent, ID_TEXT, wxT("white"), wxDefaultPosition, wxSize(50,-1), 0 );
    item42->Add( item44, 0, wxALIGN_CENTER|wxALL, 5 );

    wxSlider *item45 = new wxSlider( parent, ID_SLIDER_SOIL_COLOUR_AFTER, 0, 0, 100, wxDefaultPosition, wxSize(100,-1), wxSL_HORIZONTAL );
    item42->Add( item45, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item46 = new wxStaticText( parent, ID_TEXT, wxT("brown"), wxDefaultPosition, wxSize(80,-1), 0 );
    item42->Add( item46, 0, wxALIGN_CENTER|wxALL, 5 );

    item40->Add( item42, 0, wxALIGN_CENTER|wxLEFT|wxRIGHT, 5 );

    wxBoxSizer *item47 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item48 = new wxStaticText( parent, ID_TEXT_PROD_LOSSES, wxT("Plant growth characteristics"), wxDefaultPosition, wxSize(150,-1), 0 );
    item47->Add( item48, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item49 = new wxStaticText( parent, ID_TEXT, wxT("normally"), wxDefaultPosition, wxSize(50,-1), 0 );
    item47->Add( item49, 0, wxALIGN_CENTER|wxALL, 5 );

    wxSlider *item50 = new wxSlider( parent, ID_SLIDER_PlantGrowth, 0, 0, 100, wxDefaultPosition, wxSize(100,-1), wxSL_HORIZONTAL );
    item47->Add( item50, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item51 = new wxStaticText( parent, ID_TEXT, wxT("underdeveloped"), wxDefaultPosition, wxSize(80,-1), 0 );
    item47->Add( item51, 0, wxALIGN_CENTER|wxALL, 5 );

    item40->Add( item47, 0, wxALIGN_CENTER|wxLEFT|wxRIGHT, 5 );

    item0->Add( item40, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

    wxStaticBox *item53 = new wxStaticBox( parent, -1, wxT("Calculate Salinity (Expert System)") );
    item53->SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) );
    wxStaticBoxSizer *item52 = new wxStaticBoxSizer( item53, wxVERTICAL );

    wxBoxSizer *item54 = new wxBoxSizer( wxVERTICAL );

    wxButton *item55 = new wxButton( parent, ID_BUTTON_CalcSalinity, wxT("Calculate Salinity"), wxDefaultPosition, wxSize(250,-1), 0 );
    item54->Add( item55, 0, wxALIGN_CENTER|wxALL, 5 );

    wxBoxSizer *item56 = new wxBoxSizer( wxVERTICAL );

    wxBoxSizer *item57 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item58 = new wxStaticText( parent, ID_TEXT, wxT("Salinity"), wxDefaultPosition, wxSize(40,-1), 0 );
    item57->Add( item58, 0, wxALIGN_CENTER|wxALL, 5 );

    wxTextCtrl *item59 = new wxTextCtrl( parent, ID_TEXTCTRL, wxT(""), wxDefaultPosition, wxSize(60,-1), 0 );
    item57->Add( item59, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item60 = new wxStaticText( parent, ID_TEXT, wxT(""), wxDefaultPosition, wxSize(270,-1), 0 );
    item57->Add( item60, 0, wxALIGN_CENTER|wxALL, 5 );

    item56->Add( item57, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

    wxStaticBox *item62 = new wxStaticBox( parent, -1, wxT("Membership") );
    wxStaticBoxSizer *item61 = new wxStaticBoxSizer( item62, wxHORIZONTAL );

    wxStaticText *item63 = new wxStaticText( parent, ID_TEXT, wxT("low"), wxDefaultPosition, wxSize(35,-1), 0 );
    item61->Add( item63, 0, wxALIGN_CENTER|wxALL, 5 );

    wxTextCtrl *item64 = new wxTextCtrl( parent, ID_TEXTCTRL, wxT(""), wxDefaultPosition, wxSize(60,-1), 0 );
    item61->Add( item64, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item65 = new wxStaticText( parent, ID_TEXT, wxT("medium"), wxDefaultPosition, wxDefaultSize, 0 );
    item61->Add( item65, 0, wxALIGN_CENTER|wxALL, 5 );

    wxTextCtrl *item66 = new wxTextCtrl( parent, ID_TEXTCTRL, wxT(""), wxDefaultPosition, wxSize(60,-1), 0 );
    item61->Add( item66, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item67 = new wxStaticText( parent, ID_TEXT, wxT("high"), wxDefaultPosition, wxDefaultSize, 0 );
    item61->Add( item67, 0, wxALIGN_CENTER|wxALL, 5 );

    wxTextCtrl *item68 = new wxTextCtrl( parent, ID_TEXTCTRL, wxT(""), wxDefaultPosition, wxSize(60,-1), 0 );
    item61->Add( item68, 0, wxALIGN_CENTER|wxALL, 5 );

    item56->Add( item61, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );

    item54->Add( item56, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

    item52->Add( item54, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

    item0->Add( item52, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

    wxBoxSizer *item69 = new wxBoxSizer( wxHORIZONTAL );

    wxButton *item70 = new wxButton( parent, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxSize(150,-1), 0 );
    item69->Add( item70, 0, wxALIGN_CENTER|wxALL, 5 );

    wxButton *item71 = new wxButton( parent, wxID_OK, wxT("Save"), wxDefaultPosition, wxSize(150,-1), 0 );
    item69->Add( item71, 0, wxALIGN_CENTER|wxALL, 5 );

    item0->Add( item69, 0, wxALIGN_CENTER|wxALL, 5 );

    if (set_sizer)
    {
        parent->SetSizer( item0 );
        if (call_fit)
            item0->SetSizeHints( parent );
    }
    
    return item0;
}

// Implement menubar functions

// Implement toolbar functions

// Implement bitmap functions


// End of generated file
