made AdjustForParentClientOrigin const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -965,7 +965,7 @@ protected:
|
|||||||
|
|
||||||
// Makes an adjustment to the window position (for example, a frame that has
|
// Makes an adjustment to the window position (for example, a frame that has
|
||||||
// a toolbar that it manages itself).
|
// 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:
|
private:
|
||||||
|
@@ -1451,7 +1451,7 @@ void wxWindowBase::GetPositionConstraint(int *x, int *y) const
|
|||||||
|
|
||||||
#endif // wxUSE_CONSTRAINTS
|
#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
|
// don't do it for the dialogs/frames - they float independently of their
|
||||||
// parent
|
// parent
|
||||||
|
Reference in New Issue
Block a user