Mercurial > dwindows
diff dwtest.c @ 1038:2c2fcfeeffcc
Attempt at making dw_window_get_font() return a Dynamic Windows style font name on GTK.
Attempt at allowing dw_window_set/get_font() work on groupbox labels on GTK.
Moved dwtest MDI notebook page into a DEPRECATED #ifdef to prevent tons of warnings on GTK3.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 26 May 2011 07:57:10 +0000 |
parents | 0802d6122ec7 |
children | b3674ea2909f |
line wrap: on
line diff
--- a/dwtest.c Thu May 26 07:52:47 2011 +0000 +++ b/dwtest.c Thu May 26 07:57:10 2011 +0000 @@ -1172,6 +1172,7 @@ } } +#ifdef DEPRECATED void mdi_add(void) { HWND mdibox, mdi, mdi1w, mdi1box, ef, mdi2w, mdi2box, bb; @@ -1203,6 +1204,7 @@ dw_window_set_size(mdi2w, 200, 200); dw_window_show(mdi2w); } +#endif void menu_add(void) { @@ -1289,7 +1291,9 @@ ULONG notebookpage3; ULONG notebookpage4; ULONG notebookpage5; +#ifdef DEPRECATED ULONG notebookpage6; +#endif ULONG notebookpage7; ULONG notebookpage8; @@ -1336,12 +1340,14 @@ dw_notebook_pack( notebook, notebookpage5, notebookbox5 ); dw_notebook_page_set_text( notebook, notebookpage5, "buttons"); buttons_add(); - + +#ifdef DEPRECATED notebookbox6 = dw_box_new( BOXVERT, 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( BOXVERT, 6 ); notebookpage7 = dw_notebook_page_new( notebook, 1, FALSE );