mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
Automatic restore of IMPLEMENT_STANDARD_RTTIEXT macro (upgrade -rtti)
This commit is contained in:
@@ -187,7 +187,7 @@ void DocumentCommon::onColor()
|
||||
QColor aColor ;
|
||||
Quantity_Color aShapeColor;
|
||||
myContext->InitCurrent();
|
||||
Handle_AIS_InteractiveObject Current = myContext->Current() ;
|
||||
Handle(AIS_InteractiveObject) Current = myContext->Current() ;
|
||||
if ( Current->HasColor () )
|
||||
{
|
||||
aShapeColor = myContext->Color( Current );
|
||||
|
@@ -1,5 +1,7 @@
|
||||
#include <OcctWindow.h>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(OcctWindow,Aspect_Window)
|
||||
|
||||
// =======================================================================
|
||||
// function : OcctWindow
|
||||
// purpose :
|
||||
|
@@ -75,7 +75,7 @@ public:
|
||||
|
||||
virtual Aspect_FBConfig NativeFBConfig() const Standard_OVERRIDE { return NULL; }
|
||||
|
||||
DEFINE_STANDARD_RTTI( OcctWindow, Aspect_Window )
|
||||
DEFINE_STANDARD_RTTIEXT(OcctWindow,Aspect_Window)
|
||||
|
||||
protected:
|
||||
Standard_Integer myXLeft;
|
||||
|
Reference in New Issue
Block a user