diff dwtest.c @ 2419:65ff339e9cd2

iOS: A number of fixes, notebook layout select first page if none selected. DWText is a kind of UILabel so check Kind not Member. Disable the calendar control for now, since it was hanging the UI. Cleanup some of the dwtest changes, now that no tabs are disabled. Remove some unnecessary macros since functionality is included in the thread safety macros.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 03 Apr 2021 18:44:01 +0000
parents 0286ac44d347
children e08968d21d45
line wrap: on
line diff
--- a/dwtest.c	Sat Apr 03 02:54:19 2021 +0000
+++ b/dwtest.c	Sat Apr 03 18:44:01 2021 +0000
@@ -1167,7 +1167,6 @@
 {
     HTREEITEM t1,t2;
     HWND listbox;
-    char *title;
 
     /* create a box to pack into the notebook page */
     listbox = dw_listbox_new(1024, TRUE);
@@ -1182,6 +1181,8 @@
     tree = dw_tree_new(101);
     if(tree)
     {
+        char *title;
+
         dw_box_pack_start(notebookbox3, tree, 500, 200, TRUE, TRUE, 1);
 
         /* and a status area to see whats going on */
@@ -2164,7 +2165,6 @@
     dw_notebook_page_set_text( notebook, notebookpage6, "mdi");
     mdi_add();
 #endif
-
     notebookbox7 = dw_box_new( DW_VERT, 6 );
     notebookpage7 = dw_notebook_page_new( notebook, 1, FALSE );
     dw_notebook_pack( notebook, notebookpage7, notebookbox7 );