summaryrefslogtreecommitdiff
path: root/plugingui/window.cc
diff options
context:
space:
mode:
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);