|
From: Emilien K. <cur...@us...> - 2005-02-28 15:26:37
|
Update of /cvsroot/wxdevcenter/wxDevCenter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6865/src Modified Files: Application.cpp FileTools.cpp Log Message: Linux bugfix/warningfix Index: FileTools.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/FileTools.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** FileTools.cpp 25 Feb 2005 20:42:25 -0000 1.4 --- FileTools.cpp 28 Feb 2005 15:26:23 -0000 1.5 *************** *** 126,130 **** int i; i = Find(":"); ! return (i>0)? Mid(i+1) : *this; } --- 126,130 ---- int i; i = Find(":"); ! return (i>0)? Mid(i+1) : wxString(*this); } Index: Application.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/Application.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Application.cpp 25 Feb 2005 20:58:04 -0000 1.12 --- Application.cpp 28 Feb 2005 15:26:23 -0000 1.13 *************** *** 291,295 **** pView->OnInitialUpdate(); ! wxLogStatus(WXDC_DOCUMENT_STATUS_LOADED, strPath); return true; } --- 291,295 ---- pView->OnInitialUpdate(); ! wxLogStatus(WXDC_DOCUMENT_STATUS_LOADED, strPath.GetData()); return true; } *************** *** 349,353 **** if(!pDoc->OnSaveDocument(path)) return false; ! wxLogStatus(WXDC_DOCUMENT_STATUS_SAVED, path); return true; } --- 349,353 ---- if(!pDoc->OnSaveDocument(path)) return false; ! wxLogStatus(WXDC_DOCUMENT_STATUS_SAVED, path.GetData()); return true; } *************** *** 410,414 **** for(unsigned int n=0; n<arFiles.GetCount(); n++) { ! wxLogDebug("Load icon : %s", arFiles[n]); IB.AddIcon(arFiles[n], wxBITMAP_TYPE_ANY); } --- 410,414 ---- for(unsigned int n=0; n<arFiles.GetCount(); n++) { ! wxLogDebug("Load icon : %s", arFiles[n].GetData()); IB.AddIcon(arFiles[n], wxBITMAP_TYPE_ANY); } |