summaryrefslogtreecommitdiff
path: root/cad/opencascade/files/patch-src_IVtkDraw_IVtkDraw__Interactor.cxx
blob: e8dc1691e86591e371e103f60f33dfcf05230652 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- workaround for https://gitlab.kitware.com/vtk/vtk/-/issues/18683

--- src/IVtkDraw/IVtkDraw_Interactor.cxx.orig	2025-02-17 22:00:23 UTC
+++ src/IVtkDraw/IVtkDraw_Interactor.cxx
@@ -173,6 +173,12 @@ void IVtkDraw_Interactor::Initialize()
   aSize             = aRenWin->GetSize();
   aRenWin->Start();
 #endif
+#ifdef Status
+#undef Status
+#endif
+#ifdef Success
+#undef Success
+#endif
 
   this->Enable();
   this->Size[0] = aSize[0];