]> git.saurik.com Git - wxWidgets.git/commitdiff
[ 1944519 ] improve left down event handling for wxPopupTransientWindow
authorRobert Roebling <robert@roebling.de>
Mon, 21 Apr 2008 21:25:16 +0000 (21:25 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 21 Apr 2008 21:25:16 +0000 (21:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/popupcmn.cpp

index bef08770aace340f5af6085e929e0bc72d93c354..1e789810b197ea320ee5d5509238abe5b158fc33 100644 (file)
@@ -507,7 +507,7 @@ void wxPopupWindowHandler::OnLeftDown(wxMouseEvent& event)
                     winUnder->ScreenToClient(&event2.m_x, &event2.m_y);
 
                     event2.SetEventObject(winUnder);
-                    wxPostEvent(winUnder, event2);
+                    wxPostEvent(winUnder->GetEventHandler(), event2);
                 }
             }
             break;