From 67e26cc101f41bdf7bae3994387ae0a1e2beac78 Mon Sep 17 00:00:00 2001 From: apl Date: Fri, 10 Jun 2016 15:36:19 +0300 Subject: [PATCH] 0027592: TKV3d, AIS_RubberBand - SWIG error for method void virtual ComputeSelection Commit modifies "AIS_RubberBand.hxx" header file. - Adds declaration of handle. - Puts virtual & void modifiers of ComputeSelection method in common order. --- src/AIS/AIS_RubberBand.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/AIS/AIS_RubberBand.hxx b/src/AIS/AIS_RubberBand.hxx index 6cfd011c7f..dc1000cb46 100644 --- a/src/AIS/AIS_RubberBand.hxx +++ b/src/AIS/AIS_RubberBand.hxx @@ -22,6 +22,8 @@ #include #include +DEFINE_STANDARD_HANDLE(AIS_RubberBand, AIS_InteractiveObject) + //! Presentation for drawing rubber band selection. //! It supports rectangle and polygonal selection. //! It is constructed in 2d overlay. @@ -130,8 +132,8 @@ protected: const Standard_Integer theMode) Standard_OVERRIDE; //! Does not fill selection primitives for rubber band. - void virtual ComputeSelection (const Handle(SelectMgr_Selection)& /*aSelection*/, - const Standard_Integer /*aMode*/) Standard_OVERRIDE { }; + virtual void ComputeSelection (const Handle(SelectMgr_Selection)& /*aSelection*/, + const Standard_Integer /*aMode*/) Standard_OVERRIDE { }; //! Fills triangles primitive array for rubber band filling. //! It uses Delaunay triangulation. -- 2.20.1