compilation fix for wxUSE_LOGWINDOW==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
855ec94410
commit
c54a8b6456
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user