g_log_set_default_handler not avaliable for gtk1
This commit is contained in:
@@ -633,7 +633,7 @@ bool TestApp::OnInit()
|
|||||||
|
|
||||||
Connect(wxEVT_IDLE, wxIdleEventHandler(TestApp::OnIdle));
|
Connect(wxEVT_IDLE, wxIdleEventHandler(TestApp::OnIdle));
|
||||||
|
|
||||||
#ifdef __WXGTK__
|
#ifdef __WXGTK20__
|
||||||
g_log_set_default_handler(wxTestGLogHandler, NULL);
|
g_log_set_default_handler(wxTestGLogHandler, NULL);
|
||||||
#endif // __WXGTK__
|
#endif // __WXGTK__
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user