mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +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:
@@ -59,7 +59,7 @@ public:
|
||||
virtual void Unmap() const Standard_OVERRIDE { myIsMapped = Standard_False; }
|
||||
|
||||
//! Resize window - do nothing.
|
||||
virtual Aspect_TypeOfResize DoResize() const Standard_OVERRIDE { return Aspect_TOR_UNKNOWN; }
|
||||
virtual Aspect_TypeOfResize DoResize() Standard_OVERRIDE { return Aspect_TOR_UNKNOWN; }
|
||||
|
||||
//! Map window - do nothing.
|
||||
virtual Standard_Boolean DoMapping() const Standard_OVERRIDE { return Standard_True; }
|
||||
|
@@ -58,7 +58,7 @@ public:
|
||||
Standard_EXPORT virtual void Unmap() const = 0;
|
||||
|
||||
//! Apply the resizing to the window <me>.
|
||||
Standard_EXPORT virtual Aspect_TypeOfResize DoResize() const = 0;
|
||||
Standard_EXPORT virtual Aspect_TypeOfResize DoResize() = 0;
|
||||
|
||||
//! Apply the mapping change to the window <me>.
|
||||
//! and returns TRUE if the window is mapped at screen.
|
||||
|
Reference in New Issue
Block a user