]> git.saurik.com Git - wxWidgets.git/commitdiff
Maybe fixed assertion when using built-in searching non-string columns
authorRobert Roebling <robert@roebling.de>
Sun, 15 Nov 2009 15:07:56 +0000 (15:07 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 15 Nov 2009 15:07:56 +0000 (15:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dataview.cpp

index db5ab4939088579bb34772dccdb5bbc82b3b9840..9e316bb2687a336286504ffc0d8d42a30ddb40ff 100644 (file)
@@ -545,8 +545,8 @@ wxgtk_tree_model_get_column_type (GtkTreeModel *tree_model,
         gtype = G_TYPE_STRING;
     else
     {
-        gtype = G_TYPE_STRING;
-        // wxFAIL_MSG( wxT("non-string columns not supported yet") );
+        gtype = G_TYPE_POINTER;
+        // wxFAIL_MSG( wxT("non-string columns not supported for searching yet") );
     }
 
     return gtype;