/////////////////////////////////////////////////////////////////////////////
// ============================================================================
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
wxSizer *sizerLeft = new wxStaticBoxSizer(box, wxVERTICAL);
m_chkRight = CreateCheckBoxAndAddToSizer
(
sizerLeft,
wxSizer *sizerLeft = new wxStaticBoxSizer(box, wxVERTICAL);
m_chkRight = CreateCheckBoxAndAddToSizer
(
sizerLeft,
- _T("usual &2-state checkbox"),
- _T("&3rd state settable by program"),
- _T("&user-settable 3rd state"),
+ wxT("usual &2-state checkbox"),
+ wxT("&3rd state settable by program"),
+ wxT("&user-settable 3rd state"),
- m_radioKind = new wxRadioBox(this, wxID_ANY, _T("&Kind"),
+ m_radioKind = new wxRadioBox(this, wxID_ANY, wxT("&Kind"),
wxDefaultPosition, wxDefaultSize,
WXSIZEOF(kinds), kinds,
1);
sizerLeft->Add(m_radioKind, 0, wxGROW | wxALL, 5);
wxDefaultPosition, wxDefaultSize,
WXSIZEOF(kinds), kinds,
1);
sizerLeft->Add(m_radioKind, 0, wxGROW | wxALL, 5);
sizerLeft->Add(btn, 0, wxALIGN_CENTRE_HORIZONTAL | wxALL, 15);
// middle pane
sizerLeft->Add(btn, 0, wxALIGN_CENTRE_HORIZONTAL | wxALL, 15);
// middle pane
wxSizer *sizerMiddle = new wxStaticBoxSizer(box2, wxVERTICAL);
sizerMiddle->Add(CreateSizerWithTextAndButton(CheckboxPage_ChangeLabel,
wxSizer *sizerMiddle = new wxStaticBoxSizer(box2, wxVERTICAL);
sizerMiddle->Add(CreateSizerWithTextAndButton(CheckboxPage_ChangeLabel,
- sizerMiddle->Add(new wxButton(this, CheckboxPage_Check, _T("&Check it")),
+ sizerMiddle->Add(new wxButton(this, CheckboxPage_Check, wxT("&Check it")),
- sizerMiddle->Add(new wxButton(this, CheckboxPage_Uncheck, _T("&Uncheck it")),
+ sizerMiddle->Add(new wxButton(this, CheckboxPage_Uncheck, wxT("&Uncheck it")),
sizerRight->Add(0, 0, 1, wxCENTRE);
sizerRight->Add(m_checkbox, 1, wxCENTRE);
sizerRight->Add(0, 0, 1, wxCENTRE);
sizerRight->Add(0, 0, 1, wxCENTRE);
sizerRight->Add(m_checkbox, 1, wxCENTRE);
sizerRight->Add(0, 0, 1, wxCENTRE);
- wxLogMessage(_T("Test checkbox %schecked (value = %d)."),
- event.IsChecked() ? _T("") : _T("un"),
+ wxLogMessage(wxT("Test checkbox %schecked (value = %d)."),
+ event.IsChecked() ? wxT("") : wxT("un"),