summaryrefslogtreecommitdiffstats
path: root/generic/tkFrame.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:50:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:50:11 (GMT)
commit4536458f719fdc35f247c8139aad6b8b71471048 (patch)
treeac02899a473761587e13b2906482b07f4bb0bb66 /generic/tkFrame.c
parentf4876885b53d6ed34fb1c3577e0c2d238a871953 (diff)
parent8077dd948e9d7c758be18837a1cc637007e50084 (diff)
downloadtk-4536458f719fdc35f247c8139aad6b8b71471048.zip
tk-4536458f719fdc35f247c8139aad6b8b71471048.tar.gz
tk-4536458f719fdc35f247c8139aad6b8b71471048.tar.bz2
fix (hopefully) menu posting in the same way as window placement
Diffstat (limited to 'generic/tkFrame.c')
-rw-r--r--generic/tkFrame.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkFrame.c b/generic/tkFrame.c
index 453ad73..a416b22 100644
--- a/generic/tkFrame.c
+++ b/generic/tkFrame.c
@@ -170,7 +170,7 @@ enum labelanchor {
LABELANCHOR_W, LABELANCHOR_WN, LABELANCHOR_WS
};
-static char *labelAnchorStrings[] = {
+static CONST char *labelAnchorStrings[] = {
"e", "en", "es", "n", "ne", "nw", "s", "se", "sw", "w", "wn", "ws",
(char *) NULL
};
@@ -302,7 +302,7 @@ static Tk_OptionSpec labelframeOptSpec[] = {
* Class names for widgets, indexed by FrameType.
*/
-static char *classNames[] = {"Frame", "Toplevel", "Labelframe"};
+static CONST char *classNames[] = {"Frame", "Toplevel", "Labelframe"};
/*
* The following table maps from FrameType to the option template for
@@ -312,7 +312,7 @@ static char *classNames[] = {"Frame", "Toplevel", "Labelframe"};
static Tk_OptionSpec *optionSpecs[] = {
frameOptSpec,
toplevelOptSpec,
- labelframeOptSpec,
+ labelframeOptSpec
};
/*