new sample: statbar

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-02-04 20:27:10 +00:00
parent 14e40b5aac
commit 2286341c8d
28 changed files with 689 additions and 35 deletions

View File

@@ -81,7 +81,9 @@ bool MakeGenApp::GenerateMakefile(const wxString& filename)
return FALSE;
}
wxFFile fileOut(m_outdir + filename, "w");
wxString fileOutName;
fileOutName << m_outdir << _T('/') << filename;
wxFFile fileOut(fileOutName, "w");
if ( !fileOut.IsOpened() )
{
wxLogError(_T("Makefile '%s' couldn't be generated."), filename.c_str());
@@ -90,7 +92,7 @@ bool MakeGenApp::GenerateMakefile(const wxString& filename)
}
wxLogVerbose(_T("Generating '%s' for '%s'..."),
(m_outdir + filename).c_str(), m_progname.c_str());
fileOutName.c_str(), m_progname.c_str());
size_t count = fileIn.GetLineCount();
for ( size_t n = 0; n < count; n++ )