From 334e3dfd84b589b29a742a0c28814fa97b29313a Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 7 Mar 2013 02:32:50 +0200 Subject: [PATCH] Revert "Window::PostPaint() was unused and empty" Nah, seems that it was used after all on Windows, somehow. This reverts commit 5754264f93001978a3c5f5f1cdabd7113de010b8. --- vcl/inc/vcl/window.hxx | 1 + vcl/source/window/window.cxx | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/vcl/inc/vcl/window.hxx b/vcl/inc/vcl/window.hxx index fd638bcda8fd..fda621f83734 100644 --- a/vcl/inc/vcl/window.hxx +++ b/vcl/inc/vcl/window.hxx @@ -590,6 +590,7 @@ public: virtual void PrePaint(); virtual void Paint( const Rectangle& rRect ); + virtual void PostPaint(); virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ); virtual void Move(); virtual void Resize(); diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index ff69d88010a0..38960afc044b 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -4788,6 +4788,12 @@ void Window::Paint( const Rectangle& rRect ) // ----------------------------------------------------------------------- +void Window::PostPaint() +{ +} + +// ----------------------------------------------------------------------- + void Window::Draw( OutputDevice*, const Point&, const Size&, sal_uLong ) { DBG_CHKTHIS( Window, ImplDbgCheckWindow );