12DIALOG_RESOLVE_FIELD_CASE_CONFLICTS_BASE::DIALOG_RESOLVE_FIELD_CASE_CONFLICTS_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
14 this->SetSizeHints( wxSize( 600,400 ), wxDefaultSize );
16 wxBoxSizer* m_mainSizer;
17 m_mainSizer =
new wxBoxSizer( wxVERTICAL );
19 m_headerLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Some symbols have user fields whose names differ only in case. Choose how to resolve each before opening the table."), wxDefaultPosition, wxDefaultSize, 0 );
23 m_conflictsGrid =
new wxGrid(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
46 m_conflictsGrid->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
61 wxBoxSizer* m_bulkApplySizer;
62 m_bulkApplySizer =
new wxBoxSizer( wxHORIZONTAL );
64 m_bulkApplyCheckbox =
new wxCheckBox(
this, wxID_ANY,
_(
"Apply same choice to all conflicts of the same field name"), wxDefaultPosition, wxDefaultSize, 0 );
69 m_bulkApplySizer->Add( 0, 0, 1, wxEXPAND, 0 );
71 m_separatorLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Join separator:"), wxDefaultPosition, wxDefaultSize, 0 );
73 m_bulkApplySizer->Add(
m_separatorLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
75 m_separatorCtrl =
new wxTextCtrl(
this, wxID_ANY,
_(
"; "), wxDefaultPosition, wxSize( 80,-1 ), 0 );
84 m_separatorCtrl->SetToolTip(
_(
"String inserted between values when the \"Join\" action is selected.") );
86 m_bulkApplySizer->Add(
m_separatorCtrl, 0, wxALIGN_CENTER_VERTICAL, 5 );
89 m_mainSizer->Add( m_bulkApplySizer, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 10 );
91 m_staticline =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
92 m_mainSizer->Add(
m_staticline, 0, wxEXPAND|wxLEFT|wxRIGHT, 10 );
104 this->SetSizer( m_mainSizer );
106 m_mainSizer->Fit(
this );
108 this->Centre( wxBOTH );
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)