]> git.saurik.com Git - wxWidgets.git/commitdiff
wxScrolBar event sending fix in wxUniv.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 23 May 2006 16:52:29 +0000 (16:52 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 23 May 2006 16:52:29 +0000 (16:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/scrolbar.cpp

index 1acda8478341390b4dcb30462c30018f05818e4d..3f648b0ab099c979ae3242e401b4b689f38a6ee9 100644 (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
         {