diff dwtest.c @ 2002:a2931caa3422

Fix setting/getting dates in dw_calendar under macos. Only tested on Mojave. Sorry about the white space changes.
author mhessling@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 04 Nov 2019 01:15:03 +0000
parents 31179c5a3c5a
children 74facb490f5a
line wrap: on
line diff
--- a/dwtest.c	Thu Oct 31 21:28:32 2019 +0000
+++ b/dwtest.c	Mon Nov 04 01:15:03 2019 +0000
@@ -1226,7 +1226,7 @@
     for(z=0;z<3;z++)
     {
         char names[100];
-        
+
         sprintf(names, "We can now allocate from the stack: Item: %d", z);
         size = z*100;
         sprintf(buffer, "Filename %d",z+1);
@@ -1313,9 +1313,9 @@
     dw_box_pack_start(notebookbox5, calbox, 500, 200, TRUE, TRUE, 1);
     cal = dw_calendar_new(100);
     dw_box_pack_start(calbox, cal, 180, 120, TRUE, TRUE, 0);
-    /*
-     dw_calendar_set_date(cal, 2001, 1, 1);
-     */
+
+    dw_calendar_set_date(cal, 2019, 4, 30);
+
     /*
      * Create our file toolbar boxes...
      */