From 7f768eda2d9c7d5736767fed9c557988f364db42 Mon Sep 17 00:00:00 2001 From: Razvan Macovei Date: Wed, 26 Jun 2019 18:04:16 +0200 Subject: [PATCH] Fix wxMDIChildFrame screen position in TDI-based implementations This notably fixes the problem with wxAuiMDIChildFrame::GetScreenRect() returning the wrong window position since the changes of c1bcf16eb92db20db9dd2842e0facc116cbdb0c7. Closes #18423. --- include/wx/mdi.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/wx/mdi.h b/include/wx/mdi.h index 8bf2cd698c..2ebc216fa8 100644 --- a/include/wx/mdi.h +++ b/include/wx/mdi.h @@ -321,6 +321,11 @@ protected: wxWindow::DoMoveWindow(x, y, width, height); } + virtual void DoGetScreenPosition(int *x, int *y) const wxOVERRIDE + { + wxWindow::DoGetScreenPosition(x, y); + } + // no size hints virtual void DoSetSizeHints(int WXUNUSED(minW), int WXUNUSED(minH), int WXUNUSED(maxW), int WXUNUSED(maxH),