summaryrefslogtreecommitdiffstats
path: root/tksao/frame/framergbtruecolor24.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/framergbtruecolor24.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/framergbtruecolor24.C')
-rw-r--r--tksao/frame/framergbtruecolor24.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/tksao/frame/framergbtruecolor24.C b/tksao/frame/framergbtruecolor24.C
index 929d3a5..c0f30e3 100644
--- a/tksao/frame/framergbtruecolor24.C
+++ b/tksao/frame/framergbtruecolor24.C
@@ -13,7 +13,7 @@ int FrameRGBTrueColor24CreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int,
// FrameRGBTrueColor24 Specs
static Tk_CustomOption tagsOption = {
- Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL
+ NULL, NULL, NULL
};
static Tk_ConfigSpec frameRGBTrueColor24Specs[] = {
@@ -72,6 +72,9 @@ static Tk_ItemType frameRGBTrueColor24Type = {
int FrameRGBTrueColor24_Init(Tcl_Interp* interp)
{
+ tagsOption.parseProc = Tk_CanvasTagsParseProc;
+ tagsOption.printProc = Tk_CanvasTagsPrintProc;
+
Tk_CreateItemType(&frameRGBTrueColor24Type);
return TCL_OK;
}