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
c1bcf16eb9.

Closes #18423.
This commit is contained in:
Razvan Macovei
2019-06-26 18:04:16 +02:00
committed by Vadim Zeitlin
parent 8afa383097
commit 7f768eda2d

View File

@@ -321,6 +321,11 @@ protected:
wxWindow::DoMoveWindow(x, y, width, height); wxWindow::DoMoveWindow(x, y, width, height);
} }
virtual void DoGetScreenPosition(int *x, int *y) const wxOVERRIDE
{
wxWindow::DoGetScreenPosition(x, y);
}
// no size hints // no size hints
virtual void DoSetSizeHints(int WXUNUSED(minW), int WXUNUSED(minH), virtual void DoSetSizeHints(int WXUNUSED(minW), int WXUNUSED(minH),
int WXUNUSED(maxW), int WXUNUSED(maxH), int WXUNUSED(maxW), int WXUNUSED(maxH),