A bit more Unicode compilation.

Window insertion corrections for window, frame, dialog, mdi.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-05-30 16:20:42 +00:00
parent f3bd1796ca
commit ddb6bc7126
14 changed files with 132 additions and 51 deletions

View File

@@ -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);