Changeset 187
- Timestamp:
 - Sep 17, 2009, 3:09:44 PM (16 years ago)
 - Location:
 - trunk/src/gui/kernel
 - Files:
 - 
      
- 2 edited
 
- 
          
  qapplication_pm.cpp (modified) (1 diff)
 - 
          
  qwidget_pm.cpp (modified) (2 diffs)
 
 
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  - 
      
trunk/src/gui/kernel/qwidget_pm.cpp
r186 r187 1938 1938 qt_WinSetWindowPos(q->internalWinId(), 0, xrect.x(), 1939 1939 // flip y coordinate 1940 h - (xrect.y() + 1),1940 h - (xrect.y() + xrect.height()), 1941 1941 xrect.width(), xrect.height(), 1942 1942 SWP_MOVE | SWP_SIZE); … … 1999 1999 qt_WinSetWindowPos(q->internalWinId(), 0, xrect.x(), 2000 2000 // flip y coordinate 2001 h - (xrect.y() + 1),2001 h - (xrect.y() + xrect.height()), 2002 2002 xrect.width(), xrect.height(), SWP_MOVE | SWP_SIZE); 2003 2003 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  