summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qabstractitemview.cpp
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2012-06-12 11:50:03 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-06-15 07:55:25 (GMT)
commitf48918b7f32179ab034bdc5157876e230d70ba3e (patch)
tree296238e0340a6efcfda74543a35fa13c0705a346 /src/gui/itemviews/qabstractitemview.cpp
parent7be0b570edf8db12fd541bdaa530b2defde71fa2 (diff)
downloadQt-f48918b7f32179ab034bdc5157876e230d70ba3e.zip
Qt-f48918b7f32179ab034bdc5157876e230d70ba3e.tar.gz
Qt-f48918b7f32179ab034bdc5157876e230d70ba3e.tar.bz2
QWizard/Win: Handle hit testing correctly for Vista style
Clicking the area just below the close button when Aero is enabled reveals duplicate caption buttons. DwmDefWindowProc returns hit results for DWM caption buttons but DefWindowProc may also return hit results for non-DWM caption buttons. To resolve this issue, if DefWindowProc returns a window button hit result then we just use HTCLIENT (the client area) as the hit result instead. Change-Id: Ia741ce4f9aa944109d8de54c2f84009f5ea1883f (cherry picked from commit 9ab445d264fbcf57c48374526905a2f870de06a3) Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/gui/itemviews/qabstractitemview.cpp')
0 files changed, 0 insertions, 0 deletions