From d2b3484e602651e89443722fe7d46c902629b05b Mon Sep 17 00:00:00 2001 From: Jouk Date: Fri, 8 Jul 2016 15:15:27 +0200 Subject: [PATCH] g_log_set_default_handler not avaliable for gtk1 --- tests/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.cpp b/tests/test.cpp index b9f23e07b6..2a0c38fc22 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -633,7 +633,7 @@ bool TestApp::OnInit() Connect(wxEVT_IDLE, wxIdleEventHandler(TestApp::OnIdle)); -#ifdef __WXGTK__ +#ifdef __WXGTK20__ g_log_set_default_handler(wxTestGLogHandler, NULL); #endif // __WXGTK__