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__