mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0031067: Visualization - Aspect_Window::DoResize() should be a non-const method
Removed 'const' from Aspect_Window::DoResize() virtual method.
This commit is contained in:
@@ -205,7 +205,7 @@ void WNT_Window::Unmap() const
|
||||
// function : DoResize
|
||||
// purpose :
|
||||
// =======================================================================
|
||||
Aspect_TypeOfResize WNT_Window::DoResize() const
|
||||
Aspect_TypeOfResize WNT_Window::DoResize()
|
||||
{
|
||||
if (IsVirtual())
|
||||
{
|
||||
@@ -259,10 +259,10 @@ Aspect_TypeOfResize WNT_Window::DoResize() const
|
||||
break;
|
||||
} // end switch
|
||||
|
||||
*((Standard_Integer* )&aXLeft ) = wp.rcNormalPosition.left;
|
||||
*((Standard_Integer* )&aXRight ) = wp.rcNormalPosition.right;
|
||||
*((Standard_Integer* )&aYTop ) = wp.rcNormalPosition.top;
|
||||
*((Standard_Integer* )&aYBottom) = wp.rcNormalPosition.bottom;
|
||||
aXLeft = wp.rcNormalPosition.left;
|
||||
aXRight = wp.rcNormalPosition.right;
|
||||
aYTop = wp.rcNormalPosition.top;
|
||||
aYBottom = wp.rcNormalPosition.bottom;
|
||||
}
|
||||
|
||||
return mode;
|
||||
|
Reference in New Issue
Block a user