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:
@@ -429,6 +429,8 @@ void wxLogGui::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
|
|||||||
// wxLogWindow and wxLogFrame implementation
|
// wxLogWindow and wxLogFrame implementation
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#if wxUSE_LOGWINDOW
|
||||||
|
|
||||||
// log frame class
|
// log frame class
|
||||||
// ---------------
|
// ---------------
|
||||||
class wxLogFrame : public wxFrame
|
class wxLogFrame : public wxFrame
|
||||||
@@ -682,6 +684,8 @@ wxLogWindow::~wxLogWindow()
|
|||||||
delete m_pLogFrame;
|
delete m_pLogFrame;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // wxUSE_LOGWINDOW
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxLogDialog
|
// wxLogDialog
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -908,7 +912,7 @@ void wxLogDialog::CreateDetailsControls()
|
|||||||
if ( !fmt )
|
if ( !fmt )
|
||||||
{
|
{
|
||||||
// default format
|
// default format
|
||||||
fmt = wxDefaultDateTimeFormat;
|
fmt = _T("%c");
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t count = m_messages.GetCount();
|
size_t count = m_messages.GetCount();
|
||||||
@@ -994,7 +998,7 @@ void wxLogDialog::OnSave(wxCommandEvent& WXUNUSED(event))
|
|||||||
if ( !fmt )
|
if ( !fmt )
|
||||||
{
|
{
|
||||||
// default format
|
// default format
|
||||||
fmt = wxDefaultDateTimeFormat;
|
fmt = _T("%c");
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t count = m_messages.GetCount();
|
size_t count = m_messages.GetCount();
|
||||||
|
Reference in New Issue
Block a user