X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2997ca30d66c2dc778ed9a84c8c94fea6ec1c958..9c2a1d53c01e17ff3c35710a0fe0999d9a3832b4:/src/common/popupcmn.cpp?ds=sidebyside diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index 3a6ba467bf..47099f03ba 100644 --- a/src/common/popupcmn.cpp +++ b/src/common/popupcmn.cpp @@ -201,7 +201,6 @@ void wxPopupTransientWindow::PopHandlers() m_handlerPopup = NULL; } - // m_child->ReleaseMouse(); m_child = NULL; } @@ -248,7 +247,6 @@ void wxPopupTransientWindow::Popup(wxWindow *winFocus) delete m_handlerPopup; m_handlerPopup = new wxPopupWindowHandler(this); - // m_child->CaptureMouse(); m_child->PushEventHandler(m_handlerPopup); m_focus = winFocus ? winFocus : this; @@ -382,7 +380,7 @@ bool wxPopupComboWindow::Create(wxComboControl *parent) void wxPopupComboWindow::PositionNearCombo() { // the origin point must be in screen coords - wxPoint ptOrigin = m_combo->ClientToScreen(wxPoint()); + wxPoint ptOrigin = m_combo->ClientToScreen(wxPoint(0,0)); #if 0 //def __WXUNIVERSAL__ // account for the fact that (0, 0) is not the top left corner of the