diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/kde/salnativewidgets-kde.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx index 47320b977ef5..4c48b88f220e 100644 --- a/vcl/unx/kde/salnativewidgets-kde.cxx +++ b/vcl/unx/kde/salnativewidgets-kde.cxx @@ -1383,7 +1383,8 @@ bool KDESalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, Display *dpy = GetXDisplay(); ::Window drawable = GetDrawable(); - GC gc = SelectPen(); //SelectFont(); // GC with current clipping region set + // TODO: moggi: FIX that properly!! It was SelectPen() + GC gc = GetFontGC(); //SelectFont(); // GC with current clipping region set if ( (nType == CTRL_PUSHBUTTON) && (nPart == PART_ENTIRE_CONTROL) ) { |