diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/paint.cxx | 4 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx index 1dd9b3a50e98..ae8776be1012 100644 --- a/vcl/source/window/paint.cxx +++ b/vcl/source/window/paint.cxx @@ -677,9 +677,9 @@ void Window::PrePaint() { } -void Window::Paint( const Rectangle& rRect ) +void Window::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) { - CallEventListeners( VCLEVENT_WINDOW_PAINT, (void*)&rRect ); + CallEventListeners(VCLEVENT_WINDOW_PAINT, (void*)&rRect); } void Window::SetPaintTransparent( bool bTransparent ) diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 71b93e030fa9..f991b98b6fe5 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -3927,11 +3927,6 @@ Any Window::GetSystemDataAny() const return aRet; } -void Window::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect) -{ - Paint(rRect); -} - } /* namespace vcl */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |