X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f3bd1796cae0fc37a45f6b7a61b473e3ddc652ee..ddb6bc71266486f2e7222915740393eddea620f5:/samples/mdi/mdi.cpp 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);