From 35932e0596cb4ec38ff7a82d4fdf7ff98c4d9e97 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 23 May 2006 16:52:29 +0000 Subject: [PATCH] wxScrolBar event sending fix in wxUniv. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/scrolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/univ/scrolbar.cpp b/src/univ/scrolbar.cpp index 1acda84783..3f648b0ab0 100644 --- a/src/univ/scrolbar.cpp +++ b/src/univ/scrolbar.cpp @@ -553,7 +553,7 @@ bool wxScrollBar::PerformAction(const wxControlAction& action, wxScrollEvent event(scrollType, this->GetId(), m_thumbPos, IsVertical() ? wxVERTICAL : wxHORIZONTAL); event.SetEventObject(this); - GetParent()->GetEventHandler()->ProcessEvent(event); + GetEventHandler()->ProcessEvent(event); } else // part of the window { -- 2.47.2