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