From c8f2416e8db864c27736c598ec07c199be8d2e0f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 22 Dec 2014 01:31:07 +0000 Subject: [PATCH] Replace wxLogError() with wxLogDebug() in wxGTK wxDVC code. The type mismatch between the value returned from the model and the one returned by the control cannot be due to any user action, so it is quite useless to show it to the user, it is only relevant for the developers. Use wxLogDebug() and not wxASSERT() because asserting in a wxEVT_PAINT callback would result in a crash due assert reentrancies. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dataview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp index 81c4971be1..d7a2512c3f 100644 --- a/src/gtk/dataview.cpp +++ b/src/gtk/dataview.cpp @@ -2913,7 +2913,7 @@ static void wxGtkTreeCellDataFunc( GtkTreeViewColumn *WXUNUSED(column), if (value.GetType() != cell->GetVariantType()) { - wxLogError("Wrong type returned from the model: " + wxLogDebug("Wrong type returned from the model: " "%s required but actual type is %s", cell->GetVariantType(), value.GetType());