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
This commit is contained in:
Václav Slavík
2006-09-23 17:25:46 +00:00
parent 6f7eb299f0
commit 69deca265e

View File

@@ -1342,6 +1342,10 @@ protected:
// from both DoSetSize() and DoSetClientSize() and would usually just // from both DoSetSize() and DoSetClientSize() and would usually just
// reposition this window except for composite controls which will want to // reposition this window except for composite controls which will want to
// arrange themselves inside the given rectangle // 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; virtual void DoMoveWindow(int x, int y, int width, int height) = 0;
// centre the window in the specified direction on parent, note that // centre the window in the specified direction on parent, note that