From 9d613cb693c1ab1fdb5eecd079b44f53da998b40 Mon Sep 17 00:00:00 2001 From: milek7 Date: Mon, 18 Mar 2019 17:16:18 +0100 Subject: [PATCH] windows fixup --- application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.cpp b/application.cpp index 56e9ce9f..a1dd14a5 100644 --- a/application.cpp +++ b/application.cpp @@ -664,7 +664,7 @@ eu07_application::init_glfw() { #ifdef _WIN32 // setup wrapper for base glfw window proc, to handle copydata messages - Hwnd = glfwGetWin32Window( window ); + Hwnd = glfwGetWin32Window( win ); BaseWindowProc = ( WNDPROC )::SetWindowLongPtr( Hwnd, GWLP_WNDPROC, (LONG_PTR)WndProc ); // switch off the topmost flag ::SetWindowPos( Hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE );