From 2a875156609c41801f837daeaee100bf4cf67598 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 1 Oct 2023 16:57:08 +0200 Subject: [PATCH] Fix filtering out of bogus GTK critical errors in wxNotebook Restore the correct message which was erroneously modified by the changes of 4f4c5fcfdf (Use nullptr instead of NULL in the code and documentation, 2022-10-16). --- src/gtk/notebook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index 8ffa481b0e..eae490c0fe 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -431,7 +431,7 @@ wxNotebookPage *wxNotebook::DoRemovePage( size_t page ) // Suppress bogus assertion failures happening deep inside ATK (used by // GTK) that can't be avoided in any other way, see #22176. wxGTKImpl::LogFilterByMessage filterLog( - "gtk_notebook_get_tab_label: assertion 'list != nullptr' failed" + "gtk_notebook_get_tab_label: assertion 'list != NULL' failed" ); // we don't need to unparent the client->m_widget; GTK+ will do