summaryrefslogtreecommitdiffstats
path: root/src/bltGrLegd.C
diff options
context:
space:
mode:
authorjoye <joye>2014-05-30 21:16:38 (GMT)
committerjoye <joye>2014-05-30 21:16:38 (GMT)
commitb4e1bb34955d01729ee9e29bae532c06b71b1afa (patch)
treef9bc91e6f71c5c3063108333b91478ed7063ebe7 /src/bltGrLegd.C
parent29c03bcc9df76650f217afa91a739490a5e394bc (diff)
downloadblt-b4e1bb34955d01729ee9e29bae532c06b71b1afa.zip
blt-b4e1bb34955d01729ee9e29bae532c06b71b1afa.tar.gz
blt-b4e1bb34955d01729ee9e29bae532c06b71b1afa.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrLegd.C')
-rw-r--r--src/bltGrLegd.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bltGrLegd.C b/src/bltGrLegd.C
index 9f4f486..5c6a607 100644
--- a/src/bltGrLegd.C
+++ b/src/bltGrLegd.C
@@ -211,7 +211,7 @@ Legend::~Legend()
delete bindTable_;
if (focusGC_)
- Blt_FreePrivateGC(graphPtr_->display_, focusGC_);
+ graphPtr_->freePrivateGC(focusGC_);
if (graphPtr_->tkwin_)
Tk_DeleteSelHandler(graphPtr_->tkwin_, XA_PRIMARY, XA_STRING);
@@ -232,13 +232,13 @@ int Legend::configure()
gcValues.foreground = ops->focusColor->pixel;
gcValues.line_style = (LineIsDashed(ops->focusDashes))
? LineOnOffDash : LineSolid;
- GC newGC = Blt_GetPrivateGC(graphPtr_->tkwin_, gcMask, &gcValues);
+ GC newGC = graphPtr_->getPrivateGC(gcMask, &gcValues);
if (LineIsDashed(ops->focusDashes)) {
ops->focusDashes.offset = 2;
Blt_SetDashes(graphPtr_->display_, newGC, &ops->focusDashes);
}
if (focusGC_)
- Blt_FreePrivateGC(graphPtr_->display_, focusGC_);
+ graphPtr_->freePrivateGC(focusGC_);
focusGC_ = newGC;