From 96b0cd72b2d788134890e6baaedae9fb45bdc9ba Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 9 Nov 2023 19:18:19 +0300 Subject: fixes #3816 (Random crash) --- include/m_gui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_gui.h b/include/m_gui.h index 5d96a1fa8a..ff6c40d43d 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -409,10 +409,10 @@ protected: virtual LRESULT CustomWndProc(UINT msg, WPARAM wParam, LPARAM lParam); void Subclass(); - void Unsubclass(); private: static LRESULT CALLBACK GlobalSubclassWndProc(MWindow hwnd, UINT msg, WPARAM wParam, LPARAM lParam); + WNDPROC oldProc; }; ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3