]> git.saurik.com Git - wxWidgets.git/commitdiff
made AdjustForParentClientOrigin const
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 24 Feb 2002 00:17:23 +0000 (00:17 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 24 Feb 2002 00:17:23 +0000 (00:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/window.h
src/common/wincmn.cpp

index d5fc6723916aa2063ca5d06c9c2a77d79be8ec8f..e431b9c83ad71be19ee6bfb0894f485fe5512e04 100644 (file)
@@ -965,7 +965,7 @@ protected:
 
     // 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);
+    virtual void AdjustForParentClientOrigin(int& x, int& y, int sizeFlags) const;
 
 
 private:
index 453f9b90d579ef5ca53aa757339367622c3145ca..8e3d5e463438d1ad67c26022146f73e69771fdfe 100644 (file)
@@ -1451,7 +1451,7 @@ void wxWindowBase::GetPositionConstraint(int *x, int *y) const
 
 #endif // wxUSE_CONSTRAINTS
 
-void wxWindowBase::AdjustForParentClientOrigin(int& x, int& y, int sizeFlags)
+void wxWindowBase::AdjustForParentClientOrigin(int& x, int& y, int sizeFlags) const
 {
     // don't do it for the dialogs/frames - they float independently of their
     // parent