From: Václav Slavík Date: Sat, 23 Sep 2006 17:25:46 +0000 (+0000) Subject: added comment clarifying the meaning of DoMoveWindow's x and y arguments X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/69deca265ea7f4d53496bafddec79a8536cfde02?ds=sidebyside 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 --- 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