diff options
author | Jonathan Liu <net147@gmail.com> | 2012-06-09 01:09:39 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-12 11:00:38 +0200 |
commit | 9ab445d264fbcf57c48374526905a2f870de06a3 (patch) | |
tree | 3c778caaa3da47808d8e9392acef26aaa7d7d317 /tests/auto/corelib/tools/qdate/tst_qdate.cpp | |
parent | 378e65c07a6371f1c4047cc721f89a40dc3d734d (diff) |
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
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tests/auto/corelib/tools/qdate/tst_qdate.cpp')
0 files changed, 0 insertions, 0 deletions