summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-07 02:32:50 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-07 02:33:42 +0200
commit334e3dfd84b589b29a742a0c28814fa97b29313a (patch)
tree840101f1e746038b46e84c1857dd5fe31d6c4219
parent0ce2d740a2ed93a029a290fe88748ac92baff9a0 (diff)
Revert "Window::PostPaint() was unused and empty"
Nah, seems that it was used after all on Windows, somehow. This reverts commit 5754264f93001978a3c5f5f1cdabd7113de010b8.
-rw-r--r--vcl/inc/vcl/window.hxx1
-rw-r--r--vcl/source/window/window.cxx6
2 files changed, 7 insertions, 0 deletions
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 );