diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-03 19:11:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-03 19:11:50 (GMT) |
commit | 21625b6e2299d52330876b3d5e2e0317064477b9 (patch) | |
tree | 113ac21074b1d648dd8f13845ecf088a64147e05 | |
parent | 08621b1203b08a12d7d6cd08dfe52028149d65b8 (diff) | |
download | tk-21625b6e2299d52330876b3d5e2e0317064477b9.zip tk-21625b6e2299d52330876b3d5e2e0317064477b9.tar.gz tk-21625b6e2299d52330876b3d5e2e0317064477b9.tar.bz2 |
Squash problem with native AIX cc not allowing direct macro redefinition.
-rw-r--r-- | generic/ttk/ttkLabel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/ttk/ttkLabel.c b/generic/ttk/ttkLabel.c index 597682f..d51388b 100644 --- a/generic/ttk/ttkLabel.c +++ b/generic/ttk/ttkLabel.c @@ -347,6 +347,8 @@ static void ImageDraw( * Do not stipple at all under Aqua, just draw the image: it shows up * as a white rectangle otherwise. */ + + if (state & TTK_STATE_DISABLED) { if (TtkSelectImage(image->imageSpec, 0ul) == image->tkimg) { #ifndef MAC_OSX_TK @@ -484,6 +486,7 @@ static Ttk_ElementOptionSpec LabelElementOptions[] = { * Calculate the text, image, and total width and height. */ +#undef MAX #define MAX(a,b) ((a) > (b) ? a : b); static void LabelSetup( LabelElement *c, Tk_Window tkwin, Ttk_State state) |