summaryrefslogtreecommitdiff
path: root/plugingui/window.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-11-06 19:39:09 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-11-06 19:39:09 +0100
commit60109b8a737059058d2b0664c7ea88ec501490f7 (patch)
tree3cf224110033ef6c4e2266aaef0ee8c1a8790ef2 /plugingui/window.cc
parent7235a839de4ac9a98f0122bd38debf9267b7178f (diff)
Use Window reference in NativeWindowXYZ.
Diffstat (limited to 'plugingui/window.cc')
-rw-r--r--plugingui/window.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/window.cc b/plugingui/window.cc
index 8337533..b9a1092 100644
--- a/plugingui/window.cc
+++ b/plugingui/window.cc
@@ -60,10 +60,10 @@ GUI::Window::Window()
#ifndef PUGL
#ifdef X11
- native = new NativeWindowX11(this);
+ native = new NativeWindowX11(*this);
#endif/*X11*/
#ifdef WIN32
- native = new NativeWindowWin32(this);
+ native = new NativeWindowWin32(*this);
#endif/*WIN32*/
#else/*Use pugl*/
native = new NativeWindowPugl(this);