diff dwtest.c @ 1783:9de6d1cc8fb8

Put test program code into DEPRECATED #ifdef again to avoid build warnings. Added UTF-8/Wide string conversion functions which will be used in an editor.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 24 Jul 2012 22:52:57 +0000
parents d81bebc5c8cc
children c5ea64e8b436
line wrap: on
line diff
--- a/dwtest.c	Mon Jul 23 16:56:08 2012 +0000
+++ b/dwtest.c	Tue Jul 24 22:52:57 2012 +0000
@@ -1380,6 +1380,7 @@
     }
 }
 
+#ifdef DEPRECATED
 void mdi_add(void)
 {
     HWND mdibox, mdi, mdi1w, mdi1box, ef, mdi2w, mdi2box, bb;
@@ -1411,6 +1412,7 @@
     dw_window_set_size(mdi2w, 200, 200);
     dw_window_show(mdi2w);
 }
+#endif
 
 void menu_add(void)
 {
@@ -1666,7 +1668,9 @@
     ULONG notebookpage3;
     ULONG notebookpage4;
     ULONG notebookpage5;
+#ifdef DEPRECATED
     ULONG notebookpage6;
+#endif
     ULONG notebookpage7;
     ULONG notebookpage8;
     ULONG notebookpage9;
@@ -1720,11 +1724,13 @@
     dw_notebook_page_set_text( notebook, notebookpage5, "buttons");
     buttons_add();
 
+#ifdef DEPRECATED
     notebookbox6 = dw_box_new( DW_VERT, 5 );
     notebookpage6 = dw_notebook_page_new( notebook, 1, FALSE );
     dw_notebook_pack( notebook, notebookpage6, notebookbox6 );
     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 );