X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..3f38e38ba5d6e3c433596e404d44060e60e6dd28:/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")); } }