summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-09 19:18:19 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-09 19:18:19 +0300
commit96b0cd72b2d788134890e6baaedae9fb45bdc9ba (patch)
tree510934c265d332bc0f3ead17651747735471a73e /include
parent0527df4340793eda696b0cd7594e22b6be9a989e (diff)
fixes #3816 (Random crash)
Diffstat (limited to 'include')
-rw-r--r--include/m_gui.h2
1 files changed, 1 insertions, 1 deletions
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;
};
/////////////////////////////////////////////////////////////////////////////////////////