diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-01-10 22:15:20 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-01-10 22:15:20 (GMT) |
commit | 10abf7424881ee5bc3a147147365a2856757345c (patch) | |
tree | 7a3ac3508c003fb4a98411d967fd1b16b567fc90 /tksao/panner | |
parent | 9f8cb308f821fa78ac29cd3fa6addb5bd7e9e823 (diff) | |
download | blt-10abf7424881ee5bc3a147147365a2856757345c.zip blt-10abf7424881ee5bc3a147147365a2856757345c.tar.gz blt-10abf7424881ee5bc3a147147365a2856757345c.tar.bz2 |
fixed USE_TK_STUBS problem with tk widget inilalization
Diffstat (limited to 'tksao/panner')
-rw-r--r-- | tksao/panner/pannertrue.C | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tksao/panner/pannertrue.C b/tksao/panner/pannertrue.C index 7bbabe2..010dd50 100644 --- a/tksao/panner/pannertrue.C +++ b/tksao/panner/pannertrue.C @@ -15,7 +15,7 @@ int PannerTrueColorCreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int, // PannerTrueColor Specs static Tk_CustomOption tagsOption = { - Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL + NULL, NULL, NULL }; static Tk_ConfigSpec pannerTrueColorSpecs[] = { @@ -74,6 +74,9 @@ static Tk_ItemType pannerTrueColorType = { int PannerTrueColor_Init(Tcl_Interp* interp) { + tagsOption.parseProc = Tk_CanvasTagsParseProc; + tagsOption.printProc = Tk_CanvasTagsPrintProc; + Tk_CreateItemType(&pannerTrueColorType); return TCL_OK; } |