From 69deca265ea7f4d53496bafddec79a8536cfde02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 23 Sep 2006 17:25:46 +0000 Subject: [PATCH] added comment clarifying the meaning of DoMoveWindow's x and y arguments git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/window.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/window.h b/include/wx/window.h index 9716f0e9f1..5ab0142320 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -1342,6 +1342,10 @@ protected: // from both DoSetSize() and DoSetClientSize() and would usually just // reposition this window except for composite controls which will want to // arrange themselves inside the given rectangle + // + // Important note: the coordinates passed to this method are in parent's + // *window* coordinates and not parent's client coordinates (as the values + // passed to DoSetSize and returned by DoGetPosition are)! virtual void DoMoveWindow(int x, int y, int width, int height) = 0; // centre the window in the specified direction on parent, note that -- 2.45.2