compilation fix for !wxUSE_LOG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -668,10 +668,12 @@ void wxApp::WakeUpIdle()
|
|||||||
// Create display, and other initialization
|
// Create display, and other initialization
|
||||||
bool wxApp::OnInitGui()
|
bool wxApp::OnInitGui()
|
||||||
{
|
{
|
||||||
|
#if wxUSE_LOG
|
||||||
// Eventually this line will be removed, but for
|
// Eventually this line will be removed, but for
|
||||||
// now we don't want to try popping up a dialog
|
// now we don't want to try popping up a dialog
|
||||||
// for error messages.
|
// for error messages.
|
||||||
delete wxLog::SetActiveTarget(new wxLogStderr);
|
delete wxLog::SetActiveTarget(new wxLogStderr);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!wxAppBase::OnInitGui())
|
if (!wxAppBase::OnInitGui())
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user