# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1475105453 0 # Node ID 31179c5a3c5a64bb5dbc046607f49065f0cbf56e # Parent 78a65391dbcb3f831649baa6d5fcc9a720ddf15a 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. diff -r 78a65391dbcb -r 31179c5a3c5a dwtest.c --- 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 );