Commit 4d4b291b authored by Mathieu Malaterre's avatar Mathieu Malaterre
Browse files

FIX: Fixed PrintSelf

parent e24c1bf5
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include "vtkWin32ProcessOutputWindow.h" #include "vtkWin32ProcessOutputWindow.h"
#include "vtkObjectFactory.h" #include "vtkObjectFactory.h"
vtkCxxRevisionMacro(vtkWin32ProcessOutputWindow, "1.1"); vtkCxxRevisionMacro(vtkWin32ProcessOutputWindow, "1.2");
vtkStandardNewMacro(vtkWin32ProcessOutputWindow); vtkStandardNewMacro(vtkWin32ProcessOutputWindow);
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
...@@ -111,3 +111,13 @@ void vtkWin32ProcessOutputWindow::Write(const char* data, int length) ...@@ -111,3 +111,13 @@ void vtkWin32ProcessOutputWindow::Write(const char* data, int length)
} }
} }
} }
//----------------------------------------------------------------------------
void vtkWin32ProcessOutputWindow::PrintSelf(ostream& os, vtkIndent indent)
{
this->Superclass::PrintSelf(os, indent);
os << indent << "Executable: "
<< (this->Executable ? this->Executable : "(none)") << "\n";
}
...@@ -29,6 +29,7 @@ class VTK_COMMON_EXPORT vtkWin32ProcessOutputWindow : public vtkOutputWindow ...@@ -29,6 +29,7 @@ class VTK_COMMON_EXPORT vtkWin32ProcessOutputWindow : public vtkOutputWindow
public: public:
vtkTypeRevisionMacro(vtkWin32ProcessOutputWindow,vtkOutputWindow); vtkTypeRevisionMacro(vtkWin32ProcessOutputWindow,vtkOutputWindow);
static vtkWin32ProcessOutputWindow* New(); static vtkWin32ProcessOutputWindow* New();
virtual void PrintSelf(ostream& os, vtkIndent indent);
// Description: // Description:
// Send text to the output window process. // Send text to the output window process.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment