removed commented out calls to ReleaseMouse() (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -201,7 +201,6 @@ void wxPopupTransientWindow::PopHandlers()
|
|||||||
m_handlerPopup = NULL;
|
m_handlerPopup = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// m_child->ReleaseMouse();
|
|
||||||
m_child = NULL;
|
m_child = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -248,7 +247,6 @@ void wxPopupTransientWindow::Popup(wxWindow *winFocus)
|
|||||||
delete m_handlerPopup;
|
delete m_handlerPopup;
|
||||||
m_handlerPopup = new wxPopupWindowHandler(this);
|
m_handlerPopup = new wxPopupWindowHandler(this);
|
||||||
|
|
||||||
// m_child->CaptureMouse();
|
|
||||||
m_child->PushEventHandler(m_handlerPopup);
|
m_child->PushEventHandler(m_handlerPopup);
|
||||||
|
|
||||||
m_focus = winFocus ? winFocus : this;
|
m_focus = winFocus ? winFocus : this;
|
||||||
|
Reference in New Issue
Block a user