changeset 1920:31179c5a3c5a

Change DEPRECATED to DW_INCLUDE_DEPRECATED in dwtest.c so if you build with DW_INCLUDE_DEPRECATED both the library and the test program include the deprecated code.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 28 Sep 2016 23:30:53 +0000
parents 78a65391dbcb
children bc70b3e9dbb1
files dwtest.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/dwtest.c	Wed Sep 28 23:23:57 2016 +0000
+++ b/dwtest.c	Wed Sep 28 23:30:53 2016 +0000
@@ -1419,7 +1419,7 @@
     }
 }
 
-#ifdef DEPRECATED
+#ifdef DW_INCLUDE_DEPRECATED
 void mdi_add(void)
 {
     HWND mdibox, mdi, mdi1w, mdi1box, ef, mdi2w, mdi2box, bb;
@@ -1707,7 +1707,7 @@
     ULONG notebookpage3;
     ULONG notebookpage4;
     ULONG notebookpage5;
-#ifdef DEPRECATED
+#ifdef DW_INCLUDE_DEPRECATED
     ULONG notebookpage6;
 #endif
     ULONG notebookpage7;
@@ -1763,7 +1763,7 @@
     dw_notebook_page_set_text( notebook, notebookpage5, "buttons");
     buttons_add();
 
-#ifdef DEPRECATED
+#ifdef DW_INCLUDE_DEPRECATED
     notebookbox6 = dw_box_new( DW_VERT, 5 );
     notebookpage6 = dw_notebook_page_new( notebook, 1, FALSE );
     dw_notebook_pack( notebook, notebookpage6, notebookbox6 );