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).
This commit is contained in:
Vadim Zeitlin 2023-10-01 16:57:08 +02:00
parent 0efd803f30
commit 2a87515660

View file

@ -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