Commit a9593b62 authored by Ken Martin's avatar Ken Martin
Browse files

fixes for cygwin using X11

parent dc2da368
......@@ -16,13 +16,14 @@
=========================================================================*/
#include "vtkOutputWindow.h"
#ifdef _WIN32
#include "vtkToolkits.h"
#if defined( _WIN32 ) && !defined( VTK_USE_X )
#include "vtkWin32OutputWindow.h"
#endif
#include "vtkObjectFactory.h"
#include "vtkDebugLeaks.h"
vtkCxxRevisionMacro(vtkOutputWindow, "1.28");
vtkCxxRevisionMacro(vtkOutputWindow, "1.28.12.1");
//----------------------------------------------------------------------------
// Needed when we don't use the vtkStandardNewMacro.
......@@ -152,7 +153,7 @@ vtkOutputWindow* vtkOutputWindow::GetInstance()
// if the factory failed to create the object,
// then destroy it now, as vtkDebugLeaks::ConstructClass was called
// with "vtkOutputWindow", and not the real name of the class
#ifdef _WIN32
#if defined( _WIN32 ) && !defined( VTK_USE_X )
#ifdef VTK_DEBUG_LEAKS
vtkDebugLeaks::DestructClass("vtkOutputWindow");
#endif
......
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