Changeset 187 for trunk/src/gui/kernel/qapplication_pm.cpp
- Timestamp:
- Sep 17, 2009, 3:09:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qapplication_pm.cpp
r186 r187 645 645 if (qApp->activePopupWidget() != 0) { // in popup mode 646 646 QWidget *w = QApplication::widgetAt(qmsg.ptl.x, qmsg.ptl.y); 647 if (w) { 648 POINTL ptl = { SHORT1FROMMP(qmsg.mp1), SHORT2FROMMP(qmsg.mp1) }; 649 WinMapWindowPoints(qmsg.hwnd, w->winId(), &ptl, 1); 650 qmsg.mp1 = MPFROM2SHORT(ptl.x, ptl.y); 647 if (w) 651 648 widget = (QETWidget*)w; 652 }653 649 } 654 650 if (widget->translateMouseEvent(qmsg)) // mouse event
Note:
See TracChangeset
for help on using the changeset viewer.