changeset 18:d0e1b7ca1c26

Make toolbar buttons have no border on platforms that support it.
author Brian Smith <brian@dbsoft.org>
date Thu, 24 Mar 2011 00:40:33 -0500
parents 9ada6eb824d9
children 29a5e8ce2601
files dmail.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dmail.c	Thu Mar 17 12:49:58 2011 -0500
+++ b/dmail.c	Thu Mar 24 00:40:33 2011 -0500
@@ -988,6 +988,7 @@
 		if(messageItems[z] != -1)
 		{
 			tempbutton = dw_bitmapbutton_new(messageHelpItems[z], messageItems[z]);
+            dw_window_set_style(tempbutton, DW_BS_NOBORDER, DW_BS_NOBORDER);
 
 			if(messageFunctions[z])
 				dw_signal_connect(tempbutton, DW_SIGNAL_CLICKED, DW_SIGNAL_FUNC(messageFunctions[z]), (void *)window);
@@ -1390,6 +1391,7 @@
 		if(mainItems[z] != -1)
 		{
 			tempbutton = dw_bitmapbutton_new(mainHelpItems[z], mainItems[z]);
+            dw_window_set_style(tempbutton, DW_BS_NOBORDER, DW_BS_NOBORDER);
 
 			if(messageFunctions[z])
 				dw_signal_connect(tempbutton, DW_SIGNAL_CLICKED, DW_SIGNAL_FUNC(mainFunctions[z]), (void *)mainItems[z]);