]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docmdi.cpp
Hopefully fixed library names generated by wx-config for OS/2's PM port.
[wxWidgets.git] / src / common / docmdi.cpp
index 14980bf532cbc1bf00d77605aaf82db9863d0092..77b81cabbcb27639c20ead1614eec466aff65cf9 100644 (file)
@@ -67,8 +67,8 @@ void wxDocMDIParentFrame::Init()
 
 void wxDocMDIParentFrame::OnMRUFile(wxCommandEvent& event)
 {
-      wxString f(m_docManager->GetHistoryFile(event.GetId() - wxID_FILE1));
-      if (f != wxT(""))
+    wxString f(m_docManager->GetHistoryFile(event.GetId() - wxID_FILE1));
+    if (!f.empty())
         (void)m_docManager->CreateDocument(f, wxDOC_SILENT);
 }