From 0656d2e68df4a42780800b057c4b2390a99eecd3 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 23 Dec 1999 20:12:34 +0000 Subject: [PATCH] Fixed wxSplitterEvent to set it's id to be the splitter window's id so events can be caught correctly. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/splitter.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index 69cd1f478d..d74fc68403 100644 --- a/include/wx/generic/splitter.h +++ b/include/wx/generic/splitter.h @@ -235,6 +235,7 @@ public: : wxCommandEvent(type) { SetEventObject(splitter); + if (splitter) m_id = splitter->GetId(); } // SASH_POS_CHANGED methods -- 2.45.2