]> git.saurik.com Git - wxWidgets.git/commitdiff
added default value (0) for flags argument of AdjustForParentClientOrigin()
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Oct 2003 08:33:32 +0000 (08:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Oct 2003 08:33:32 +0000 (08:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/window.h

index b17fcf0e7f8cde44096776c7fa86d4923fe94785..eeb5f986563f83c72dc647725e1280dcf7a05e49 100644 (file)
@@ -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: