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