|
|
@ -1839,6 +1839,7 @@ void TQPainter::drawWinFocusRect( int x, int y, int w, int h,
|
|
|
|
static char winfocus_line[] = { 1, 1 };
|
|
|
|
static char winfocus_line[] = { 1, 1 };
|
|
|
|
|
|
|
|
|
|
|
|
TQPen old_pen = cpen;
|
|
|
|
TQPen old_pen = cpen;
|
|
|
|
|
|
|
|
TQBrush old_brush = cbrush;
|
|
|
|
RasterOp old_rop = (RasterOp)rop;
|
|
|
|
RasterOp old_rop = (RasterOp)rop;
|
|
|
|
|
|
|
|
|
|
|
|
if ( xorPaint ) {
|
|
|
|
if ( xorPaint ) {
|
|
|
@ -1858,10 +1859,13 @@ void TQPainter::drawWinFocusRect( int x, int y, int w, int h,
|
|
|
|
if ( testf(ExtDev) ) {
|
|
|
|
if ( testf(ExtDev) ) {
|
|
|
|
TQPDevCmdParam param[1];
|
|
|
|
TQPDevCmdParam param[1];
|
|
|
|
TQRect r( x, y, w-1, h-1 );
|
|
|
|
TQRect r( x, y, w-1, h-1 );
|
|
|
|
|
|
|
|
TQBrush noBrush;
|
|
|
|
param[0].rect = &r;
|
|
|
|
param[0].rect = &r;
|
|
|
|
|
|
|
|
param[0].brush = &noBrush;
|
|
|
|
if ( !pdev->cmd( TQPaintDevice::PdcDrawRect, this, param ) || !hd) {
|
|
|
|
if ( !pdev->cmd( TQPaintDevice::PdcDrawRect, this, param ) || !hd) {
|
|
|
|
setRasterOp( old_rop );
|
|
|
|
setRasterOp( old_rop );
|
|
|
|
setPen( old_pen );
|
|
|
|
setPen( old_pen );
|
|
|
|
|
|
|
|
setBrush( old_brush );
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|