From 716e96df2b2beb65074744a6d833794b1c8a5790 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 22 Oct 2003 08:33:32 +0000 Subject: [PATCH] added default value (0) for flags argument of AdjustForParentClientOrigin() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/window.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/wx/window.h b/include/wx/window.h index b17fcf0e7f..eeb5f98656 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -1120,9 +1120,11 @@ protected: virtual bool DoPopupMenu( wxMenu *menu, int x, int y ) = 0; #endif // wxUSE_MENUS - // Makes an adjustment to the window position (for example, a frame that has - // a toolbar that it manages itself). - virtual void AdjustForParentClientOrigin(int& x, int& y, int sizeFlags) const; + // Makes an adjustment to the window position to make it relative to the + // parents client area, e.g. if the parent is a frame with a toolbar, its + // (0, 0) is just below the toolbar + virtual void AdjustForParentClientOrigin(int& x, int& y, + int sizeFlags = 0) const; private: