X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c52d95b412d81372e2705d5e1c03a0417af79ade..cbd4be25b2189b674491c0d296c9efacec1a5778:/samples/mdi/mdi.cpp?ds=sidebyside diff --git a/samples/mdi/mdi.cpp b/samples/mdi/mdi.cpp index ebcd2cc977..45474995f1 100644 --- a/samples/mdi/mdi.cpp +++ b/samples/mdi/mdi.cpp @@ -172,7 +172,7 @@ void MyFrame::OnClose(wxCloseEvent& event) if ( event.CanVeto() && (gs_nFrames > 0) ) { wxString msg; - msg.Printf("%d windows still open, close anyhow?", gs_nFrames); + msg.Printf(_T("%d windows still open, close anyhow?"), gs_nFrames); if ( wxMessageBox(msg, "Please confirm", wxICON_QUESTION | wxYES_NO) != wxYES ) { @@ -205,7 +205,7 @@ void MyFrame::OnNewWindow(wxCommandEvent& WXUNUSED(event) ) wxDEFAULT_FRAME_STYLE); wxString title; - title.Printf("Canvas Frame %d", ++gs_nFrames); + title.Printf(_T("Canvas Frame %d"), ++gs_nFrames); subframe->SetTitle(title);