(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);
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();
m_strLocalFile = m_strGlobalFile = "";
Init();
//else: fall through
default:
//else: fall through
default:
// ----------------------------------------------------------------------------
wxLogTextCtrl::wxLogTextCtrl(wxTextCtrl *pTextCtrl)
// @@@ TODO: in wxGTK wxTextCtrl doesn't derive from streambuf
// ----------------------------------------------------------------------------
wxLogTextCtrl::wxLogTextCtrl(wxTextCtrl *pTextCtrl)
// @@@ TODO: in wxGTK wxTextCtrl doesn't derive from streambuf
: wxLogStream(new ostream(pTextCtrl))
: wxLogStream(new ostream(pTextCtrl))
{
}
wxLogTextCtrl::~wxLogTextCtrl()
{
{
}
wxLogTextCtrl::~wxLogTextCtrl()
{
- #ifndef __WXGTK__
- delete m_ostr;
- #endif //GTK
}
// ----------------------------------------------------------------------------
}
// ----------------------------------------------------------------------------