Mercurial > DynamicMail
changeset 33:ec6da4b77036
Remove manual color overrides for the MLE, it stops the automatic dark mode color
changes.
author | Brian Smith <brian@dbsoft.org> |
---|---|
date | Thu, 01 Aug 2019 06:11:23 -0500 |
parents | ef3ea8b38f24 |
children | e390915d5ab9 |
files | dmail.c |
diffstat | 1 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/dmail.c Wed Jul 31 21:42:33 2019 -0500 +++ b/dmail.c Thu Aug 01 06:11:23 2019 -0500 @@ -916,9 +916,6 @@ dw_box_pack_start(mainbox, mle, 130, 150, TRUE, TRUE, 2); dw_mle_set_editable(mle, FALSE); -#if __WIN32__ - dw_window_set_color(mle, DW_CLR_BLACK, DW_CLR_WHITE); -#endif dw_mle_set_word_wrap(mle, TRUE); /* Buttons */ @@ -1188,8 +1185,6 @@ dw_mle_set_editable(mle, readonly ? FALSE : TRUE); dw_mle_set_word_wrap(mle, TRUE); - dw_window_set_color(mle, DW_CLR_BLACK, DW_CLR_WHITE); - dw_box_pack_start(mainbox, mle, 100, 100, TRUE, TRUE, 0); controlbox = dw_box_new(BOXHORZ, 0); @@ -1424,8 +1419,6 @@ dw_window_set_data(hwndContainer, "mle", (void *)mle); - dw_window_set_color(mle, DW_CLR_BLACK, DW_CLR_WHITE); - dw_mle_set_word_wrap(mle, TRUE); dw_mle_set_editable(mle, FALSE); @@ -1593,7 +1586,7 @@ dw_init(TRUE, argc, argv); #ifdef __MAC__ - dw_font_set_default("10.Geneva"); + dw_font_set_default("10.Geneva"); #endif sockinit();