Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv30356/src/gui
Modified Files:
wxMApp.cpp
Log Message:
fixed logging messages to the file under Windows (bug 636)
Index: wxMApp.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMApp.cpp,v
retrieving revision 1.235
retrieving revision 1.236
diff -b -u -2 -r1.235 -r1.236
--- wxMApp.cpp 22 Apr 2002 17:01:41 -0000 1.235
+++ wxMApp.cpp 27 Apr 2002 22:40:56 -0000 1.236
@@ -196,6 +196,4 @@
};
-#ifdef wxHAS_LOG_CHAIN
-
// a wxLogStderr version which closes the file it logs to
class MLogFile : public wxLogStderr
@@ -207,6 +205,4 @@
};
-#endif // wxHAS_LOG_CHAIN
-
// a timer used to periodically autosave profile settings
class AutoSaveTimer : public wxTimer
@@ -482,8 +478,4 @@
wxMApp::~wxMApp()
{
-#ifdef wxHAS_LOG_CHAIN
- delete m_logChain;
-#endif // wxHAS_LOG_CHAIN
-
DoCleanup();
@@ -1953,5 +1945,4 @@
void wxMApp::SetLogFile(const String& filename)
{
-#ifdef wxHAS_LOG_CHAIN
if ( filename.empty() )
{
@@ -1990,5 +1981,4 @@
}
}
-#endif // wxHAS_LOG_CHAIN
}
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates