diff options
-rw-r--r-- | include/vcl/window.hxx | 1 | ||||
-rw-r--r-- | vcl/source/window/paint.cxx | 4 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 5 |
3 files changed, 2 insertions, 8 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 85343128ddfd..cde2c864f248 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -703,7 +703,6 @@ public: virtual void KeyUp( const KeyEvent& rKEvt ); virtual void PrePaint(); virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect); - virtual void Paint(const Rectangle& rRect); virtual void Erase() SAL_OVERRIDE; virtual void Erase( const Rectangle& rRect ) SAL_OVERRIDE { ::OutputDevice::Erase( rRect ); } 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: */ |