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

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

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

#ifdef __BORLANDC__
    #pragma hdrstop
#endif

// Include private header
#include "dlg_ss_risk2_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 *SoilSalinityRisk( wxWindow *parent, bool call_fit, bool set_sizer )
{
    wxBoxSizer *item0 = new wxBoxSizer( wxVERTICAL );

    wxBoxSizer *item1 = new wxBoxSizer( wxHORIZONTAL );

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

    wxBoxSizer *item4 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item5 = new wxStaticText( parent, ID_SSR_TEXT, wxT("Level"), wxDefaultPosition, wxSize(60,-1), 0 );
    item4->Add( item5, 0, wxALIGN_CENTER|wxALL, 5 );

    item4->Add( 25, 20, 0, wxALIGN_CENTER|wxALL, 5 );

    wxString strs6[] = 
    {
        wxT("< 70 cm"), 
        wxT("70 - 80cm"), 
        wxT("80 - 170 cm"), 
        wxT("> 170 cm")
    };
    wxComboBox *item6 = new wxComboBox( parent, ID_SSR_COMBO_GW_LEVEL, wxT(""), wxDefaultPosition, wxSize(100,-1), 4, strs6, wxCB_DROPDOWN );
    item4->Add( item6, 0, wxALIGN_CENTER|wxALL, 5 );

    item4->Add( 50, 20, 0, wxALIGN_CENTER|wxALL, 5 );

    item2->Add( item4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

    wxBoxSizer *item7 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item8 = new wxStaticText( parent, ID_SSR_TEXT, wxT("Salinity"), wxDefaultPosition, wxSize(60,-1), 0 );
    item7->Add( item8, 0, wxALIGN_CENTER|wxALL, 5 );

    item7->Add( 25, 20, 0, wxALIGN_CENTER|wxALL, 5 );

    wxString *strs9 = (wxString*) NULL;
    wxComboBox *item9 = new wxComboBox( parent, ID_SSR_COMBO_GW_SALINITY, wxT(""), wxDefaultPosition, wxSize(100,-1), 0, strs9, wxCB_DROPDOWN );
    item7->Add( item9, 0, wxALIGN_CENTER|wxALL, 5 );

    item7->Add( 50, 20, 0, wxALIGN_CENTER|wxALL, 5 );

    item2->Add( item7, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

    item1->Add( item2, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );

    wxStaticBox *item11 = new wxStaticBox( parent, -1, wxT("Soil") );
    item11->SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) );
    wxStaticBoxSizer *item10 = new wxStaticBoxSizer( item11, wxVERTICAL );

    wxBoxSizer *item12 = new wxBoxSizer( wxHORIZONTAL );

    wxBoxSizer *item13 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item14 = new wxStaticText( parent, ID_SSR_TEXT, wxT("Texture"), wxDefaultPosition, wxSize(60,-1), 0 );
    item13->Add( item14, 0, wxALIGN_CENTER|wxALL, 5 );

    wxString strs15[] = 
    {
        wxT("sandy"), 
        wxT("mixed"), 
        wxT("brown")
    };
    wxComboBox *item15 = new wxComboBox( parent, ID_SSR_COMBO_SOIL_TEXTURE, wxT(""), wxDefaultPosition, wxSize(100,-1), 3, strs15, wxCB_DROPDOWN );
    item13->Add( item15, 0, wxALIGN_CENTER|wxALL, 5 );

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

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

    item1->Add( item10, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );

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

    wxBoxSizer *item16 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticBox *item18 = new wxStaticBox( parent, -1, wxT("Surface") );
    item18->SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) );
    wxStaticBoxSizer *item17 = new wxStaticBoxSizer( item18, wxVERTICAL );

    wxBoxSizer *item19 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item20 = new wxStaticText( parent, ID_SSR_TEXT, wxT("Planeness"), wxDefaultPosition, wxSize(60,-1), 0 );
    item19->Add( item20, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item21 = new wxStaticText( parent, ID_SSR_TEXT, wxT("plane"), wxDefaultPosition, wxSize(25,-1), 0 );
    item19->Add( item21, 0, wxALIGN_CENTER|wxALL, 5 );

    wxSlider *item22 = new wxSlider( parent, ID_SSR_SLIDER_PLANENESS, 0, 0, 10, wxDefaultPosition, wxSize(100,-1), wxSL_HORIZONTAL );
    item19->Add( item22, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item23 = new wxStaticText( parent, ID_SSR_TEXT, wxT("not plane"), wxDefaultPosition, wxSize(50,-1), 0 );
    item19->Add( item23, 0, wxALIGN_CENTER|wxALL, 5 );

    item17->Add( item19, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

    wxBoxSizer *item24 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item25 = new wxStaticText( parent, ID_SSR_TEXT, wxT("Morphology"), wxDefaultPosition, wxSize(60,-1), 0 );
    item24->Add( item25, 0, wxALIGN_CENTER|wxALL, 5 );

    item24->Add( 25, 20, 0, wxALIGN_CENTER|wxALL, 5 );

    wxString strs26[] = 
    {
        wxT("depression"), 
        wxT("in between"), 
        wxT("hill")
    };
    wxComboBox *item26 = new wxComboBox( parent, ID_SSR_COMBO_MORPHOLOGY, wxT(""), wxDefaultPosition, wxSize(100,-1), 3, strs26, wxCB_DROPDOWN );
    item24->Add( item26, 0, wxALIGN_CENTER|wxALL, 5 );

    item24->Add( 50, 20, 0, wxALIGN_CENTER|wxALL, 5 );

    item17->Add( item24, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

    item16->Add( item17, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );

    wxStaticBox *item28 = new wxStaticBox( parent, -1, wxT("Drainage System") );
    item28->SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) );
    wxStaticBoxSizer *item27 = new wxStaticBoxSizer( item28, wxVERTICAL );

    wxBoxSizer *item29 = new wxBoxSizer( wxVERTICAL );

    wxBoxSizer *item30 = new wxBoxSizer( wxHORIZONTAL );

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

    wxString strs32[] = 
    {
        wxT("0"), 
        wxT("1"), 
        wxT("2"), 
        wxT("3"), 
        wxT("4")
    };
    wxComboBox *item32 = new wxComboBox( parent, ID_SSR_COMBO_N_CHANNELS, wxT(""), wxDefaultPosition, wxSize(100,-1), 5, strs32, wxCB_DROPDOWN );
    item30->Add( item32, 0, wxALIGN_CENTER|wxALL, 5 );

    item29->Add( item30, 0, wxALIGN_CENTER|wxALL, 5 );

    wxBoxSizer *item33 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item34 = new wxStaticText( parent, ID_SSR_TEXT, wxT("Distance to channel"), wxDefaultPosition, wxSize(60,-1), 0 );
    item33->Add( item34, 0, wxALIGN_CENTER|wxALL, 5 );

    wxString strs35[] = 
    {
        wxT("far"), 
        wxT("moderately far"), 
        wxT("close")
    };
    wxComboBox *item35 = new wxComboBox( parent, ID_SSR_COMBO_DISTANCE, wxT(""), wxDefaultPosition, wxSize(100,-1), 3, strs35, wxCB_DROPDOWN );
    item33->Add( item35, 0, wxALIGN_CENTER|wxALL, 5 );

    item29->Add( item33, 0, wxALIGN_CENTER|wxALL, 5 );

    wxBoxSizer *item36 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item37 = new wxStaticText( parent, ID_SSR_TEXT, wxT("Maintanance"), wxDefaultPosition, wxSize(60,-1), 0 );
    item36->Add( item37, 0, wxALIGN_CENTER|wxALL, 5 );

    wxString strs38[] = 
    {
        wxT("bad"), 
        wxT("moderate"), 
        wxT("good")
    };
    wxComboBox *item38 = new wxComboBox( parent, ID_SSR_COMBO_MAINTANANCE, wxT(""), wxDefaultPosition, wxSize(100,-1), 3, strs38, wxCB_DROPDOWN );
    item36->Add( item38, 0, wxALIGN_CENTER|wxALL, 5 );

    item29->Add( item36, 0, wxALIGN_CENTER|wxALL, 5 );

    item27->Add( item29, 0, wxALIGN_CENTER|wxALL, 5 );

    item16->Add( item27, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );

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

    wxBoxSizer *item39 = new wxBoxSizer( wxHORIZONTAL );

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

    wxBoxSizer *item42 = new wxBoxSizer( wxHORIZONTAL );

    item42->Add( 107, 20, 0, wxALIGN_CENTER|wxALL, 5 );

    wxButton *item43 = new wxButton( parent, ID_SSR_BUTTON_CALC_RISK, wxT("Calculate Salinization Risk"), wxDefaultPosition, wxSize(250,-1), 0 );
    item42->Add( item43, 0, wxALIGN_CENTER|wxALL, 5 );

    item42->Add( 108, 20, 0, wxALIGN_CENTER|wxALL, 5 );

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

    wxBoxSizer *item44 = new wxBoxSizer( wxHORIZONTAL );

    wxStaticText *item45 = new wxStaticText( parent, ID_SSR_TEXT, wxT("Risk"), wxDefaultPosition, wxDefaultSize, 0 );
    item44->Add( item45, 0, wxALIGN_CENTER|wxALL, 5 );

    wxTextCtrl *item46 = new wxTextCtrl( parent, ID_TEXTCTRL_RISK, wxT(""), wxDefaultPosition, wxSize(60,-1), wxTE_READONLY );
    item44->Add( item46, 0, wxALIGN_CENTER|wxALL, 5 );

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

    wxStaticBox *item48 = new wxStaticBox( parent, -1, wxT("Membership Degree") );
    wxStaticBoxSizer *item47 = new wxStaticBoxSizer( item48, wxHORIZONTAL );

    wxStaticText *item49 = new wxStaticText( parent, ID_SSR_TEXT, wxT("low"), wxDefaultPosition, wxDefaultSize, 0 );
    item47->Add( item49, 0, wxALIGN_CENTER|wxALL, 5 );

    wxTextCtrl *item50 = new wxTextCtrl( parent, ID_TEXTCTRL_MSLOW, wxT(""), wxDefaultPosition, wxSize(60,-1), wxTE_READONLY );
    item47->Add( item50, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item51 = new wxStaticText( parent, ID_SSR_TEXT, wxT("medium"), wxDefaultPosition, wxDefaultSize, 0 );
    item47->Add( item51, 0, wxALIGN_CENTER|wxALL, 5 );

    wxTextCtrl *item52 = new wxTextCtrl( parent, ID_TEXTCTRL_MSMEDIUM, wxT(""), wxDefaultPosition, wxSize(60,-1), wxTE_READONLY );
    item47->Add( item52, 0, wxALIGN_CENTER|wxALL, 5 );

    wxStaticText *item53 = new wxStaticText( parent, ID_SSR_TEXT, wxT("high"), wxDefaultPosition, wxDefaultSize, 0 );
    item47->Add( item53, 0, wxALIGN_CENTER|wxALL, 5 );

    wxTextCtrl *item54 = new wxTextCtrl( parent, ID_TEXTCTRL_MSHIGH, wxT(""), wxDefaultPosition, wxSize(60,-1), wxTE_READONLY );
    item47->Add( item54, 0, wxALIGN_CENTER|wxALL, 5 );

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

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

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

    wxBoxSizer *item55 = new wxBoxSizer( wxHORIZONTAL );

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

    wxButton *item57 = new wxButton( parent, ID_BUTTON_SAVE, wxT("Save"), wxDefaultPosition, wxSize(120,-1), 0 );
    item57->SetToolTip( wxT("Save record to database") );
    item55->Add( item57, 0, wxALIGN_CENTER|wxALL, 5 );

    item0->Add( item55, 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
