X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e38bacf8840985709905e3c9672fe13377c030cd..f60b1d829dd8a6d5e47a2adcd3690acb3bd10150:/src/generic/logg.cpp diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index 7d0a8ca6d3..b39273fa29 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -429,6 +429,8 @@ void wxLogGui::DoLog(wxLogLevel level, const wxChar *szString, time_t t) // wxLogWindow and wxLogFrame implementation // ---------------------------------------------------------------------------- +#if wxUSE_LOGWINDOW + // log frame class // --------------- class wxLogFrame : public wxFrame @@ -682,6 +684,8 @@ wxLogWindow::~wxLogWindow() delete m_pLogFrame; } +#endif // wxUSE_LOGWINDOW + // ---------------------------------------------------------------------------- // wxLogDialog // ---------------------------------------------------------------------------- @@ -908,7 +912,7 @@ void wxLogDialog::CreateDetailsControls() if ( !fmt ) { // default format - fmt = wxDefaultDateTimeFormat; + fmt = _T("%c"); } size_t count = m_messages.GetCount(); @@ -994,7 +998,7 @@ void wxLogDialog::OnSave(wxCommandEvent& WXUNUSED(event)) if ( !fmt ) { // default format - fmt = wxDefaultDateTimeFormat; + fmt = _T("%c"); } size_t count = m_messages.GetCount();