summaryrefslogtreecommitdiffstats
path: root/tksao/frame/frametruecolor8.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-01-10 22:15:08 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-01-10 22:15:08 (GMT)
commitfe0bd0662757656c456d65a46d1e1b2fb3dc09dc (patch)
tree7b651f2d892dcc55259c7df8fa9a4e02c8478f44 /tksao/frame/frametruecolor8.C
parent579ddd50f08a4bd185d03d6433cf3816657f4ba9 (diff)
downloadblt-fe0bd0662757656c456d65a46d1e1b2fb3dc09dc.zip
blt-fe0bd0662757656c456d65a46d1e1b2fb3dc09dc.tar.gz
blt-fe0bd0662757656c456d65a46d1e1b2fb3dc09dc.tar.bz2
fixed USE_TK_STUBS problem with tk widget inilalization
Diffstat (limited to 'tksao/frame/frametruecolor8.C')
-rw-r--r--tksao/frame/frametruecolor8.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/tksao/frame/frametruecolor8.C b/tksao/frame/frametruecolor8.C
index a2e3d96..7291e22 100644
--- a/tksao/frame/frametruecolor8.C
+++ b/tksao/frame/frametruecolor8.C
@@ -12,7 +12,7 @@ int FrameTrueColor8CreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int, Tcl_Obj *co
// FrameTrueColor8 Specs
static Tk_CustomOption tagsOption = {
- Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL
+ NULL, NULL, NULL
};
static Tk_ConfigSpec frameTrueColor8Specs[] = {
@@ -71,6 +71,9 @@ static Tk_ItemType frameTrueColor8Type = {
int FrameTrueColor8_Init(Tcl_Interp* interp)
{
+ tagsOption.parseProc = Tk_CanvasTagsParseProc;
+ tagsOption.printProc = Tk_CanvasTagsPrintProc;
+
Tk_CreateItemType(&frameTrueColor8Type);
return TCL_OK;
}