summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXButton.c
diff options
context:
space:
mode:
authordas <das>2007-04-25 15:06:13 (GMT)
committerdas <das>2007-04-25 15:06:13 (GMT)
commitd1fb54010410ec545c26e5225e7f5b87eaa8b134 (patch)
tree33c038cce90389c78d7034e904bc768f6dfe212e /macosx/tkMacOSXButton.c
parenta46579d39b5df9cc4652a311917680541ad3c3e0 (diff)
downloadtk-d1fb54010410ec545c26e5225e7f5b87eaa8b134.zip
tk-d1fb54010410ec545c26e5225e7f5b87eaa8b134.tar.gz
tk-d1fb54010410ec545c26e5225e7f5b87eaa8b134.tar.bz2
silence debug build error messages
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-rw-r--r--macosx/tkMacOSXButton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c
index dadf6cb..3840861 100644
--- a/macosx/tkMacOSXButton.c
+++ b/macosx/tkMacOSXButton.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXButton.c,v 1.23 2007/04/23 21:24:33 das Exp $
+ * RCS: @(#) $Id: tkMacOSXButton.c,v 1.24 2007/04/25 15:06:13 das Exp $
*/
#include "tkMacOSXInt.h"
@@ -1006,7 +1006,7 @@ TkMacOSXDrawControl(
}
UpdateControlColors(mbPtr);
- if (butPtr->type == TYPE_BUTTON) {
+ if (butPtr->type == TYPE_BUTTON && !mbPtr->params.isBevel) {
Boolean isDefault;
if (butPtr->defaultState == STATE_ACTIVE) {