summaryrefslogtreecommitdiff
path: root/include/vcl/window.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-27 10:36:18 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-29 09:03:55 +0900
commitd3ba96e37ec4681b9b7cb1ffac5e34060e47a4ee (patch)
treea4832e2a5b920c457fce33e4380af6dcca54149c /include/vcl/window.hxx
parent2932d2db599c09ecce3faa2d627e9ee4f251183a (diff)
typedef OutputDevice as RenderContext to pass to Paint methods
Change-Id: I858c0c51fc0892ea81ac39f69aff7d401a25184b
Diffstat (limited to 'include/vcl/window.hxx')
-rw-r--r--include/vcl/window.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 3134e5012258..1a1aef9a7617 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -375,6 +375,8 @@ struct WindowResHeader
namespace vcl {
+typedef OutputDevice RenderContext;
+
class VCL_DLLPUBLIC Window : public ::OutputDevice, public Resource
{
friend class ::vcl::Cursor;