(only the user's one)
2) wxLogStream "un#indef'ed" under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@430
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( remove(szFile) == -1 )
wxLogSysError(_("can't delete user configuration file '%s'"), szFile);
- szFile = m_strGlobalFile;
- if ( remove(szFile) )
- wxLogSysError(_("can't delete system configuration file '%s'"), szFile);
-
m_strLocalFile = m_strGlobalFile = "";
Init();
break;
case '"':
- if ( bQuote )
+ if ( bQuote ) {
c = '"';
+ break;
+ }
//else: fall through
default:
// ----------------------------------------------------------------------------
wxLogTextCtrl::wxLogTextCtrl(wxTextCtrl *pTextCtrl)
// @@@ TODO: in wxGTK wxTextCtrl doesn't derive from streambuf
-#ifndef __WXGTK__
: wxLogStream(new ostream(pTextCtrl))
-#endif //GTK
{
}
wxLogTextCtrl::~wxLogTextCtrl()
{
- #ifndef __WXGTK__
- delete m_ostr;
- #endif //GTK
+ delete m_ostr;
}
// ----------------------------------------------------------------------------