16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 01:59:19 +02:00

windows fixup

This commit is contained in:
milek7
2019-03-18 17:16:18 +01:00
parent 99e7ef5513
commit 9d613cb693

View File

@@ -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 );