wxScrolBar event sending fix in wxUniv.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-23 16:52:29 +00:00
parent 1f7e5f7be3
commit 35932e0596

View File

@@ -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
{