0030619: Draw Harness, ViewerTest - add continuous rendering option to vrepaint command
[occt.git] / src / Cocoa / Cocoa_Window.hxx
index 12ad440..dcfe0d3 100644 (file)
@@ -136,6 +136,10 @@ public:
   //! Returns nothing on OS X
   virtual Aspect_FBConfig NativeFBConfig() const Standard_OVERRIDE { return NULL; }
 
+  //! Invalidate entire window content by setting NSView::setNeedsDisplay property.
+  //! Call will be implicitly redirected to the main thread when called from non-GUI thread.
+  Standard_EXPORT virtual void InvalidateContent (const Handle(Aspect_DisplayConnection)& theDisp = NULL) Standard_OVERRIDE;
+
 protected:
 
 #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE