Remove more wxT() macros from samples

Also use wxString instead of wxChar* strings.

Closes https://github.com/wxWidgets/wxWidgets/pull/950
This commit is contained in:
Blake Eryx
2018-09-28 21:45:15 -04:00
committed by Vadim Zeitlin
parent 480047ee9a
commit b70ed2d8c8
67 changed files with 1926 additions and 1932 deletions

View File

@@ -1051,15 +1051,15 @@ void MyApp::DoVariantDemo(wxCommandEvent& WXUNUSED(event) )
wxFont* sysFont = new wxFont(wxSystemSettings::GetFont(wxSYS_OEM_FIXED_FONT));
var1 = wxVariant(sysFont);
textCtrl << wxT("var1 = (wxfont)\"");
textCtrl << "var1 = (wxfont)\"";
wxFont* font = wxGetVariantCast(var1,wxFont);
if (font)
{
textCtrl << font->GetNativeFontInfoDesc() << wxT("\"\n");
textCtrl << font->GetNativeFontInfoDesc() << "\"\n";
}
else
{
textCtrl << wxT("(null)\"\n");
textCtrl << "(null)\"\n";
}
delete sysFont;