git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14382 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
 
     // 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:
 
 
 #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