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:
committed by
Vadim Zeitlin
parent
480047ee9a
commit
b70ed2d8c8
@@ -571,7 +571,7 @@ void MyFrame::OnLoad(wxCommandEvent& WXUNUSED(event))
|
||||
wxRendererNative *renderer = wxRendererNative::Load(name);
|
||||
if ( !renderer )
|
||||
{
|
||||
wxLogError(wxT("Failed to load renderer \"%s\"."), name.c_str());
|
||||
wxLogError("Failed to load renderer \"%s\".", name.c_str());
|
||||
}
|
||||
else // loaded ok
|
||||
{
|
||||
@@ -579,7 +579,7 @@ void MyFrame::OnLoad(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
m_panel->Refresh();
|
||||
|
||||
wxLogStatus(this, wxT("Successfully loaded the renderer \"%s\"."),
|
||||
wxLogStatus(this, "Successfully loaded the renderer \"%s\".",
|
||||
name.c_str());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user