X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..4fcd60c72f6b90f5063f7000ff5a80a9004055a3:/samples/statbar/statbar.cpp diff --git a/samples/statbar/statbar.cpp b/samples/statbar/statbar.cpp index 588d97b2f5..1d9ded23ac 100644 --- a/samples/statbar/statbar.cpp +++ b/samples/statbar/statbar.cpp @@ -353,11 +353,12 @@ void MyFrame::OnSetStatusFields(wxCommandEvent& WXUNUSED(event)) sb->SetFieldsCount(nFields, widths); wxLogStatus(this, - wxString::Format("Status bar now has %ld fields", nFields)); + wxString::Format(wxT("Status bar now has %ld fields"), + nFields)); } else { - wxLogStatus(this, "Cancelled"); + wxLogStatus(this, wxT("Cancelled")); } }