summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-28 11:00:54 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-29 09:19:47 +0900
commitf50fd9692ed7b9632c0f8dad9508f5a207679be4 (patch)
tree50c9598cb186708215899b45c43623447b7b60ff /vcl/source
parentd36da8c19378f4772c896ca4df94117077e823d6 (diff)
mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/help.cxx2
-rw-r--r--vcl/source/control/button.cxx6
-rw-r--r--vcl/source/control/edit.cxx2
-rw-r--r--vcl/source/control/fixed.cxx8
-rw-r--r--vcl/source/control/group.cxx2
-rw-r--r--vcl/source/control/ilstbox.cxx4
-rw-r--r--vcl/source/control/imgctrl.cxx2
-rw-r--r--vcl/source/control/prgsbar.cxx2
-rw-r--r--vcl/source/control/scrbar.cxx2
-rw-r--r--vcl/source/control/slider.cxx2
-rw-r--r--vcl/source/control/spinbtn.cxx2
-rw-r--r--vcl/source/control/spinfld.cxx2
-rw-r--r--vcl/source/control/tabctrl.cxx2
-rw-r--r--vcl/source/edit/vclmedit.cxx4
-rw-r--r--vcl/source/window/brdwin.cxx2
-rw-r--r--vcl/source/window/dockingarea.cxx2
-rw-r--r--vcl/source/window/dockmgr.cxx4
-rw-r--r--vcl/source/window/menubarwindow.cxx2
-rw-r--r--vcl/source/window/menubarwindow.hxx2
-rw-r--r--vcl/source/window/menufloatingwindow.cxx2
-rw-r--r--vcl/source/window/menufloatingwindow.hxx2
-rw-r--r--vcl/source/window/openglwin.cxx2
-rw-r--r--vcl/source/window/printdlg.cxx4
-rw-r--r--vcl/source/window/scrwnd.cxx2
-rw-r--r--vcl/source/window/scrwnd.hxx2
-rw-r--r--vcl/source/window/split.cxx2
-rw-r--r--vcl/source/window/splitwin.cxx2
-rw-r--r--vcl/source/window/status.cxx2
-rw-r--r--vcl/source/window/tabpage.cxx2
-rw-r--r--vcl/source/window/toolbox.cxx2
30 files changed, 39 insertions, 39 deletions
diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx
index 2f52375d1e02..68bb91ed5c7b 100644
--- a/vcl/source/app/help.cxx
+++ b/vcl/source/app/help.cxx
@@ -352,7 +352,7 @@ void HelpTextWindow::ImplShow()
Update();
}
-void HelpTextWindow::Paint( const Rectangle& )
+void HelpTextWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
// paint native background
bool bNativeOK = false;
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index bf23b10fb9d4..bbe85b894735 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -1326,7 +1326,7 @@ void PushButton::FillLayoutData() const
const_cast<PushButton*>(this)->ImplDrawPushButton( true );
}
-void PushButton::Paint( const Rectangle& )
+void PushButton::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDrawPushButton();
}
@@ -2412,7 +2412,7 @@ void RadioButton::FillLayoutData() const
const_cast<RadioButton*>(this)->ImplDrawRadioButton( true );
}
-void RadioButton::Paint( const Rectangle& )
+void RadioButton::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDrawRadioButton();
}
@@ -3294,7 +3294,7 @@ void CheckBox::FillLayoutData() const
const_cast<CheckBox*>(this)->ImplDrawCheckBox( true );
}
-void CheckBox::Paint( const Rectangle& )
+void CheckBox::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDrawCheckBox();
}
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 6efac8a766b7..85bbbeb46e99 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -1761,7 +1761,7 @@ void Edit::FillLayoutData() const
const_cast<Edit*>(this)->ImplRepaint(true);
}
-void Edit::Paint( const Rectangle& )
+void Edit::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
if ( !mpSubEdit )
ImplRepaint();
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index 69922de6df07..e4858f163c3d 100644
--- a/vcl/source/control/fixed.cxx
+++ b/vcl/source/control/fixed.cxx
@@ -234,7 +234,7 @@ void FixedText::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
);
}
-void FixedText::Paint( const Rectangle& )
+void FixedText::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDraw( this, 0, Point(), GetOutputSizePixel() );
}
@@ -641,7 +641,7 @@ void FixedLine::FillLayoutData() const
const_cast<FixedLine*>(this)->ImplDraw( true );
}
-void FixedLine::Paint( const Rectangle& )
+void FixedLine::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDraw();
}
@@ -773,7 +773,7 @@ void FixedBitmap::ImplDraw( OutputDevice* pDev, sal_uLong /* nDrawFlags */,
}
}
-void FixedBitmap::Paint( const Rectangle& )
+void FixedBitmap::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDraw( this, 0, Point(), GetOutputSizePixel() );
}
@@ -943,7 +943,7 @@ void FixedImage::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
}
}
-void FixedImage::Paint( const Rectangle& )
+void FixedImage::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDraw( this, 0, Point(), GetOutputSizePixel() );
}
diff --git a/vcl/source/control/group.cxx b/vcl/source/control/group.cxx
index 209bd14d9a9b..77cd1a6f994e 100644
--- a/vcl/source/control/group.cxx
+++ b/vcl/source/control/group.cxx
@@ -188,7 +188,7 @@ void GroupBox::FillLayoutData() const
const_cast<GroupBox*>(this)-> ImplDraw( const_cast<GroupBox*>(this), 0, Point(), GetOutputSizePixel(), true );
}
-void GroupBox::Paint( const Rectangle& )
+void GroupBox::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDraw( this, 0, Point(), GetOutputSizePixel() );
}
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 083faf072e96..01a18d211d53 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -1914,7 +1914,7 @@ void ImplListBoxWindow::ImplDoPaint( const Rectangle& rRect, bool bLayout )
ImplShowFocusRect();
}
-void ImplListBoxWindow::Paint( const Rectangle& rRect )
+void ImplListBoxWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect )
{
ImplDoPaint( rRect );
}
@@ -2766,7 +2766,7 @@ void ImplWin::ImplDraw( bool bLayout )
}
}
-void ImplWin::Paint( const Rectangle& )
+void ImplWin::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDraw();
}
diff --git a/vcl/source/control/imgctrl.cxx b/vcl/source/control/imgctrl.cxx
index efd64c825d68..288cb04b835e 100644
--- a/vcl/source/control/imgctrl.cxx
+++ b/vcl/source/control/imgctrl.cxx
@@ -131,7 +131,7 @@ void ImageControl::ImplDraw( OutputDevice& rDev, sal_uLong nDrawFlags, const Poi
} // switch ( mnScaleMode )
}
-void ImageControl::Paint( const Rectangle& /*rRect*/ )
+void ImageControl::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& /*rRect*/ )
{
ImplDraw( *this, 0, Point(), GetOutputSizePixel() );
diff --git a/vcl/source/control/prgsbar.cxx b/vcl/source/control/prgsbar.cxx
index a89afac723bb..8bdf2fe9d850 100644
--- a/vcl/source/control/prgsbar.cxx
+++ b/vcl/source/control/prgsbar.cxx
@@ -145,7 +145,7 @@ void ProgressBar::ImplDrawProgress( sal_uInt16 nOldPerc, sal_uInt16 nNewPerc )
Rectangle( Point(), GetSizePixel() ) );
}
-void ProgressBar::Paint( const Rectangle& )
+void ProgressBar::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDrawProgress( 0, mnPercent );
}
diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx
index b239c623e3ff..4050560c7605 100644
--- a/vcl/source/control/scrbar.cxx
+++ b/vcl/source/control/scrbar.cxx
@@ -1120,7 +1120,7 @@ void ScrollBar::KeyInput( const KeyEvent& rKEvt )
Control::KeyInput( rKEvt );
}
-void ScrollBar::Paint( const Rectangle& )
+void ScrollBar::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDraw( SCRBAR_DRAW_ALL, this );
}
diff --git a/vcl/source/control/slider.cxx b/vcl/source/control/slider.cxx
index 773f31087ebc..e85ce8099702 100644
--- a/vcl/source/control/slider.cxx
+++ b/vcl/source/control/slider.cxx
@@ -808,7 +808,7 @@ void Slider::KeyInput( const KeyEvent& rKEvt )
Control::KeyInput( rKEvt );
}
-void Slider::Paint( const Rectangle& )
+void Slider::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDraw( SLIDER_DRAW_ALL );
}
diff --git a/vcl/source/control/spinbtn.cxx b/vcl/source/control/spinbtn.cxx
index c9feafa07663..4a7da9bead2a 100644
--- a/vcl/source/control/spinbtn.cxx
+++ b/vcl/source/control/spinbtn.cxx
@@ -165,7 +165,7 @@ void SpinButton::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
pDev->Pop();
}
-void SpinButton::Paint( const Rectangle& )
+void SpinButton::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
HideFocus();
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx
index fe1feea8ef05..66cabf6d1ca6 100644
--- a/vcl/source/control/spinfld.cxx
+++ b/vcl/source/control/spinfld.cxx
@@ -604,7 +604,7 @@ void SpinField::FillLayoutData() const
Edit::FillLayoutData();
}
-void SpinField::Paint( const Rectangle& rRect )
+void SpinField::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect )
{
if ( mbSpin )
{
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index a0553a3c120e..72c1357ef267 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -1048,7 +1048,7 @@ void TabControl::KeyInput( const KeyEvent& rKEvt )
Control::KeyInput( rKEvt );
}
-void TabControl::Paint( const Rectangle& rRect )
+void TabControl::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect )
{
if ( !( GetStyle() & WB_NOBORDER ) )
ImplPaint( rRect, false );
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx
index cc3a5898cab7..a6313801be94 100644
--- a/vcl/source/edit/vclmedit.cxx
+++ b/vcl/source/edit/vclmedit.cxx
@@ -60,7 +60,7 @@ public:
virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE;
- virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
+ virtual void Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) SAL_OVERRIDE;
virtual void Resize() SAL_OVERRIDE;
virtual void GetFocus() SAL_OVERRIDE;
@@ -805,7 +805,7 @@ void TextWindow::KeyInput( const KeyEvent& rKEvent )
Window::KeyInput( rKEvent );
}
-void TextWindow::Paint( const Rectangle& rRect )
+void TextWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect )
{
mpExtTextView->Paint( rRect );
}
diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx
index 88ef65a07391..464a7e940d47 100644
--- a/vcl/source/window/brdwin.cxx
+++ b/vcl/source/window/brdwin.cxx
@@ -1877,7 +1877,7 @@ void ImplBorderWindow::Tracking( const TrackingEvent& rTEvt )
mpBorderView->Tracking( rTEvt );
}
-void ImplBorderWindow::Paint( const Rectangle& )
+void ImplBorderWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
mpBorderView->DrawWindow( BORDERWINDOW_DRAW_ALL );
}
diff --git a/vcl/source/window/dockingarea.cxx b/vcl/source/window/dockingarea.cxx
index 43ce7bdb3c4d..e94d6073931a 100644
--- a/vcl/source/window/dockingarea.cxx
+++ b/vcl/source/window/dockingarea.cxx
@@ -159,7 +159,7 @@ WindowAlign DockingAreaWindow::GetAlign() const
return mpImplData->meAlign;
}
-void DockingAreaWindow::Paint( const Rectangle& )
+void DockingAreaWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
EnableNativeWidget( true ); // only required because the toolkit currently switches this flag off
if( IsNativeControlSupported( CTRL_TOOLBAR, PART_ENTIRE_CONTROL ) )
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx
index 160e21074029..7d0f826c4406 100644
--- a/vcl/source/window/dockmgr.cxx
+++ b/vcl/source/window/dockmgr.cxx
@@ -487,7 +487,7 @@ public:
virtual void dispose() SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible() SAL_OVERRIDE;
- virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
+ virtual void Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) SAL_OVERRIDE;
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
@@ -713,7 +713,7 @@ void ImplPopupFloatWin::DrawGrip()
SetFillColor();
}
-void ImplPopupFloatWin::Paint( const Rectangle& )
+void ImplPopupFloatWin::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
Point aPt;
Rectangle aRect( aPt, GetOutputSizePixel() );
diff --git a/vcl/source/window/menubarwindow.cxx b/vcl/source/window/menubarwindow.cxx
index 47f61ad6829d..ef83cacb83da 100644
--- a/vcl/source/window/menubarwindow.cxx
+++ b/vcl/source/window/menubarwindow.cxx
@@ -871,7 +871,7 @@ bool MenuBarWindow::HandleKeyEvent( const KeyEvent& rKEvent, bool bFromMenu )
return bDone;
}
-void MenuBarWindow::Paint( const Rectangle& )
+void MenuBarWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
if( ! pMenu )
return;
diff --git a/vcl/source/window/menubarwindow.hxx b/vcl/source/window/menubarwindow.hxx
index bb3c8be22073..348d167e6469 100644
--- a/vcl/source/window/menubarwindow.hxx
+++ b/vcl/source/window/menubarwindow.hxx
@@ -119,7 +119,7 @@ public:
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void KeyInput( const KeyEvent& rKEvent ) SAL_OVERRIDE;
- virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
+ virtual void Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) SAL_OVERRIDE;
virtual void Resize() SAL_OVERRIDE;
virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE;
diff --git a/vcl/source/window/menufloatingwindow.cxx b/vcl/source/window/menufloatingwindow.cxx
index 227cc8bb5932..a48152eeffc7 100644
--- a/vcl/source/window/menufloatingwindow.cxx
+++ b/vcl/source/window/menufloatingwindow.cxx
@@ -1086,7 +1086,7 @@ void MenuFloatingWindow::KeyInput( const KeyEvent& rKEvent )
}
}
-void MenuFloatingWindow::Paint( const Rectangle& )
+void MenuFloatingWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
if( ! pMenu )
return;
diff --git a/vcl/source/window/menufloatingwindow.hxx b/vcl/source/window/menufloatingwindow.hxx
index 3157be8d493f..021247af51a5 100644
--- a/vcl/source/window/menufloatingwindow.hxx
+++ b/vcl/source/window/menufloatingwindow.hxx
@@ -90,7 +90,7 @@ public:
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void KeyInput( const KeyEvent& rKEvent ) SAL_OVERRIDE;
virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE;
- virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
+ virtual void Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) SAL_OVERRIDE;
virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE;
virtual void Resize() SAL_OVERRIDE;
diff --git a/vcl/source/window/openglwin.cxx b/vcl/source/window/openglwin.cxx
index 21af6cc53598..6111cbca0a1a 100644
--- a/vcl/source/window/openglwin.cxx
+++ b/vcl/source/window/openglwin.cxx
@@ -58,7 +58,7 @@ OpenGLContext& OpenGLWindow::getContext()
return mxImpl->getContext();
}
-void OpenGLWindow::Paint(const Rectangle&)
+void OpenGLWindow::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle&)
{
if(mpRenderer)
mpRenderer->update();
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index f24755d92904..83ba36286f70 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -161,7 +161,7 @@ void PrintDialog::PrintPreviewWindow::Resize()
}
-void PrintDialog::PrintPreviewWindow::Paint( const Rectangle& )
+void PrintDialog::PrintPreviewWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
long nTextHeight = maHorzDim->GetTextHeight();
Size aSize( GetSizePixel() );
@@ -322,7 +322,7 @@ Size PrintDialog::ShowNupOrderWindow::GetOptimalSize() const
return Size(70, 70);
}
-void PrintDialog::ShowNupOrderWindow::Paint( const Rectangle& i_rRect )
+void PrintDialog::ShowNupOrderWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& i_rRect )
{
Window::Paint( i_rRect );
SetMapMode( MAP_PIXEL );
diff --git a/vcl/source/window/scrwnd.cxx b/vcl/source/window/scrwnd.cxx
index a40ef10dc592..009dc14422bc 100644
--- a/vcl/source/window/scrwnd.cxx
+++ b/vcl/source/window/scrwnd.cxx
@@ -286,7 +286,7 @@ PointerStyle ImplWheelWindow::ImplGetMousePointer( long nDistX, long nDistY )
return eStyle;
}
-void ImplWheelWindow::Paint( const Rectangle& )
+void ImplWheelWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
ImplDrawWheel();
}
diff --git a/vcl/source/window/scrwnd.hxx b/vcl/source/window/scrwnd.hxx
index 6ec18c4e2b73..82ba04f29e51 100644
--- a/vcl/source/window/scrwnd.hxx
+++ b/vcl/source/window/scrwnd.hxx
@@ -63,7 +63,7 @@ private:
protected:
- virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
+ virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) SAL_OVERRIDE;
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx
index 70482c02a039..026b40fbbbb2 100644
--- a/vcl/source/window/split.cxx
+++ b/vcl/source/window/split.cxx
@@ -697,7 +697,7 @@ void Splitter::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-void Splitter::Paint( const Rectangle& rPaintRect )
+void Splitter::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rPaintRect )
{
DrawRect( rPaintRect );
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index 293479151943..6be4c7ea10fd 100644
--- a/vcl/source/window/splitwin.cxx
+++ b/vcl/source/window/splitwin.cxx
@@ -2514,7 +2514,7 @@ bool SplitWindow::PreNotify( NotifyEvent& rNEvt )
return Window::PreNotify( rNEvt );
}
-void SplitWindow::Paint( const Rectangle& )
+void SplitWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
if ( mnWinStyle & WB_BORDER )
ImplDrawBorder( this );
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index 7f43c18e2b1a..37397f912471 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -700,7 +700,7 @@ void StatusBar::MouseButtonDown( const MouseEvent& rMEvt )
}
}
-void StatusBar::Paint( const Rectangle& )
+void StatusBar::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
if ( mbFormat )
ImplFormat();
diff --git a/vcl/source/window/tabpage.cxx b/vcl/source/window/tabpage.cxx
index 964f96043d78..308ca926afe7 100644
--- a/vcl/source/window/tabpage.cxx
+++ b/vcl/source/window/tabpage.cxx
@@ -126,7 +126,7 @@ void TabPage::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-void TabPage::Paint( const Rectangle& )
+void TabPage::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
{
// draw native tabpage only inside tabcontrols, standalone tabpages look ugly (due to bad dialog design)
if( IsNativeControlSupported(CTRL_TAB_BODY, PART_ENTIRE_CONTROL) && GetParent() && (GetParent()->GetType() == WINDOW_TABCONTROL) )
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 2369a7d25da5..bffd15ae8f2f 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -4014,7 +4014,7 @@ void ToolBox::Tracking( const TrackingEvent& rTEvt )
DockingWindow::Tracking( rTEvt );
}
-void ToolBox::Paint( const Rectangle& rPaintRect )
+void ToolBox::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rPaintRect )
{
if( mpData->mbIsPaintLocked )
return;