diff options
author | joye <joye> | 2014-04-16 17:28:05 (GMT) |
---|---|---|
committer | joye <joye> | 2014-04-16 17:28:05 (GMT) |
commit | 31c92f04c3a264345e6f71d7cb37436c361cc107 (patch) | |
tree | 5b7a60b063f0bf040dc277ee072c394f451aa794 /src/bltGrLegdOp.C | |
parent | 859cc28b1b52033554eacd7d0a4b03779ca7c44d (diff) | |
download | blt-31c92f04c3a264345e6f71d7cb37436c361cc107.zip blt-31c92f04c3a264345e6f71d7cb37436c361cc107.tar.gz blt-31c92f04c3a264345e6f71d7cb37436c361cc107.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrLegdOp.C')
-rw-r--r-- | src/bltGrLegdOp.C | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/bltGrLegdOp.C b/src/bltGrLegdOp.C index 6d9e1a1..1e624ef 100644 --- a/src/bltGrLegdOp.C +++ b/src/bltGrLegdOp.C @@ -52,7 +52,7 @@ static int LegendObjConfigure(Tcl_Interp* interp, Graph* graphPtr, if (!error) { if (Tk_SetOptions(interp, (char*)legendPtr->ops(), legendPtr->optionTable(), - objc, objv, graphPtr->tkwin, &savedOptions, &mask) + objc, objv, graphPtr->tkwin_, &savedOptions, &mask) != TCL_OK) continue; } @@ -93,7 +93,7 @@ static int CgetOp(Graph* graphPtr, Tcl_Interp* interp, Tcl_Obj* objPtr = Tk_GetOptionValue(interp, (char*)legendPtr->ops(), legendPtr->optionTable(), - objv[3], graphPtr->tkwin); + objv[3], graphPtr->tkwin_); if (objPtr == NULL) return TCL_ERROR; else @@ -106,11 +106,10 @@ static int ConfigureOp(Graph* graphPtr, Tcl_Interp* interp, { Legend* legendPtr = graphPtr->legend; if (objc <= 4) { - Tcl_Obj* objPtr = Tk_GetOptionInfo(graphPtr->interp, - (char*)legendPtr->ops(), + Tcl_Obj* objPtr = Tk_GetOptionInfo(interp, (char*)legendPtr->ops(), legendPtr->optionTable(), (objc == 4) ? objv[3] : NULL, - graphPtr->tkwin); + graphPtr->tkwin_); if (objPtr == NULL) return TCL_ERROR; else @@ -469,7 +468,7 @@ static int SelectionSetOp(Graph* graphPtr, Tcl_Interp* interp, legendPtr->selAnchorPtr_ = firstPtr; if (ops->exportSelection) - Tk_OwnSelection(graphPtr->tkwin, XA_PRIMARY, LostSelectionProc, legendPtr); + Tk_OwnSelection(graphPtr->tkwin_, XA_PRIMARY, LostSelectionProc, legendPtr); graphPtr->legend->eventuallyRedraw(); |