From badc44fe581ab0e9fef871874cd58bc03c204fa8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 21 Nov 2001 00:03:56 +0000 Subject: [PATCH] client area origin handling fixes for univ/wxTLW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/topluniv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/univ/topluniv.cpp b/src/univ/topluniv.cpp index 27a2633365..f9bfbeaa86 100644 --- a/src/univ/topluniv.cpp +++ b/src/univ/topluniv.cpp @@ -265,7 +265,7 @@ long wxTopLevelWindow::HitTest(const wxPoint& pt) const wxTopLevelWindowNative::DoGetClientSize(&w, &h); wxRect rect(wxTopLevelWindowNative::GetClientAreaOrigin(), wxSize(w, h)); - return m_renderer->HitTestFrame(rect, pt, GetDecorationsStyle()); + return m_renderer->HitTestFrame(rect, pt+GetClientAreaOrigin(), GetDecorationsStyle()); } // ---------------------------------------------------------------------------- -- 2.45.2