From 60109b8a737059058d2b0664c7ea88ec501490f7 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 6 Nov 2015 19:39:09 +0100 Subject: Use Window reference in NativeWindowXYZ. --- plugingui/window.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugingui/window.cc') 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); -- cgit v1.2.3