summaryrefslogtreecommitdiffstats
path: root/generic/tkButton.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-03-12 13:12:35 (GMT)
committernijtmans <nijtmans>2010-03-12 13:12:35 (GMT)
commit9d8a0339110e68547c1ee6d8c1020f1bf9fed96a (patch)
treecb2fadc8328ffcba901ac53556ba46ae26bb6274 /generic/tkButton.h
parent3ed639bf6e8ceec216565d2580fb02b26c5e7295 (diff)
downloadtk-9d8a0339110e68547c1ee6d8c1020f1bf9fed96a.zip
tk-9d8a0339110e68547c1ee6d8c1020f1bf9fed96a.tar.gz
tk-9d8a0339110e68547c1ee6d8c1020f1bf9fed96a.tar.bz2
[Bug 2956548] TkpButtonSetDefaults only initializes one button type
Fix 2 minor gcc warnings in tkWinTest.c
Diffstat (limited to 'generic/tkButton.h')
-rw-r--r--generic/tkButton.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tkButton.h b/generic/tkButton.h
index d0ecfea..94aa593 100644
--- a/generic/tkButton.h
+++ b/generic/tkButton.h
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkButton.h,v 1.9.2.1 2003/04/26 02:53:46 hobbs Exp $
+ * RCS: @(#) $Id: tkButton.h,v 1.9.2.2 2010/03/12 13:12:35 nijtmans Exp $
*/
#ifndef _TKBUTTON
@@ -287,10 +287,12 @@ typedef struct {
#define GOT_FOCUS (1 << 2)
#define BUTTON_DELETED (1 << 3)
/*
- * Declaration of variables shared between the files in the button module.
+ * Declaration of button class functions structure
+ * and button/label defaults, for use in optionSpecs.
*/
extern Tk_ClassProcs tkpButtonProcs;
+extern char tkDefButtonBorderWidth[TCL_INTEGER_SPACE];
/*
* Declaration of procedures used in the implementation of the button