diff --git a/olcPixelGameEngine.h b/olcPixelGameEngine.h index 08fbb36..4afa23e 100644 --- a/olcPixelGameEngine.h +++ b/olcPixelGameEngine.h @@ -195,7 +195,7 @@ Author ~~~~~~ - David Barr, aka javidx9, ©OneLoneCoder 2018, 2019, 2020, 2021, 2022 + David Barr, aka javidx9, ©OneLoneCoder 2018, 2019, 2020, 2021, 2022 */ #pragma endregion @@ -4732,6 +4732,7 @@ namespace olc // Windows Event Handler - this is statically connected to the windows event system static LRESULT CALLBACK olc_WindowEvent(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) + { static BOOL bTrackMouseEventSet = FALSE; switch (uMsg) {