0025284: Problems with standard MFC samples
[occt.git] / samples / mfc / standard / Common / DimensionDlg.h
index 2e01419..c948ae4 100755 (executable)
@@ -37,6 +37,13 @@ public:
   const TCollection_AsciiString GetUnits() const;
   const Quantity_Color GetDimensionColor() const;
 
+public:
+
+  // Workaround: AIS_LocalContext::SelectedShape() doesn't take into account local location of selected TopoDS shape,
+  // and operates with selected interactive object transformation only.
+  static TopoDS_Shape SelectedShape();
+
+public:
   // Dialog Data
   enum { IDD = IDD_Dimension };
   // Initialization of dialog