diff os2/dw.c @ 2410:0286ac44d347

Add DW_FEATURE_TREE feature test, since iOS does not suppor tree. Update dwtest to show a placeholder when missing the tree widget. Remove DW_FEATURE_CONTAINER_STRIPE from GTK4. Apparently it is supported with the GtkListBox widget and custom CSS, but it performs badly and is unrecommended by the GTK development team. Finally add missing feature test example code to the template source.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 30 Mar 2021 08:28:35 +0000
parents fad0821cb953
children f5fd34dfb9c7
line wrap: on
line diff
--- a/os2/dw.c	Mon Mar 29 23:15:43 2021 +0000
+++ b/os2/dw.c	Tue Mar 30 08:28:35 2021 +0000
@@ -13869,6 +13869,7 @@
         case DW_FEATURE_MLE_WORD_WRAP:
         case DW_FEATURE_NOTEBOOK_STATUS_TEXT:
         case DW_FEATURE_MDI:
+        case DW_FEATURE_TREE:
             return DW_FEATURE_ENABLED;
         case DW_FEATURE_TASK_BAR:
         {
@@ -13906,6 +13907,7 @@
         case DW_FEATURE_MLE_WORD_WRAP:
         case DW_FEATURE_NOTEBOOK_STATUS_TEXT:
         case DW_FEATURE_MDI:
+        case DW_FEATURE_TREE:
             return DW_ERROR_GENERAL;
         case DW_FEATURE_TASK_BAR:
         {