X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f4a0c5be34be837210768501c13dbcff81e533c..53920141b504db01a5af56b5b16fd0b4a251031b:/src/common/docmdi.cpp?ds=sidebyside diff --git a/src/common/docmdi.cpp b/src/common/docmdi.cpp index e188c03a12..6e92c70f57 100644 --- a/src/common/docmdi.cpp +++ b/src/common/docmdi.cpp @@ -59,7 +59,7 @@ void wxDocMDIParentFrame::OnExit(wxCommandEvent& WXUNUSED(event)) void wxDocMDIParentFrame::OnMRUFile(wxCommandEvent& event) { wxString f(m_docManager->GetHistoryFile(event.GetSelection() - wxID_FILE1)); - if (f != "") + if (f != _T("")) (void)m_docManager->CreateDocument(f, wxDOC_SILENT); }