Remove all wxS() macros from samples

The use of wxS() is an optimization which can be used to avoid an
implicit conversion from narrow to wide strings, but such optimizations
are not really needed in the samples and just make their code less
readable, so remove them.

Closes https://github.com/wxWidgets/wxWidgets/pull/956
This commit is contained in:
Blake Eryx
2018-10-01 13:55:42 +02:00
committed by Vadim Zeitlin
parent 761f9f74fc
commit 4fb39beae1
11 changed files with 75 additions and 75 deletions

View File

@@ -295,15 +295,15 @@ void ListboxWidgetsPage::CreateContent()
static const wxString listTypes[] =
{
wxS("list box")
"list box"
#if wxUSE_CHECKLISTBOX
, wxS("check list box")
, "check list box"
#endif // wxUSE_CHECKLISTBOX
#if wxUSE_REARRANGECTRL
, wxS("rearrange list")
, "rearrange list"
#endif // wxUSE_REARRANGECTRL
};
m_radioListType = new wxRadioBox(this, wxID_ANY, wxS("&List type:"),
m_radioListType = new wxRadioBox(this, wxID_ANY, "&List type:",
wxDefaultPosition, wxDefaultSize,
WXSIZEOF(listTypes), listTypes,
1, wxRA_SPECIFY_COLS);