Commit 9aaac6a9 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

BUG: Fix logic

parent 488a4495
......@@ -732,13 +732,13 @@ void vtkParseOutput(FILE *fp, FileInfo *data)
if (strcmp(data->ClassName, "vtkRenderWindowInteractor") == 0)
{
fprintf(fp,"#include \"vtkToolkits.h\"\n");
fprintf(fp,"#if defined( VTK_USE_X ) && !defined( VTK_USE_TK )\n");
fprintf(fp,"#if defined( VTK_USE_X ) && defined( VTK_USE_TK )\n");
fprintf(fp,"# include \"vtkXRenderWindowTclInteractor.h\"\n");
fprintf(fp,"#endif\n");
fprintf(fp,"\nClientData %sNewCommand()\n{\n",data->ClassName);
fprintf(fp,"#if defined( VTK_USE_X ) && !defined( VTK_USE_TK )\n");
fprintf(fp,"#if defined( VTK_USE_X ) && defined( VTK_USE_TK )\n");
fprintf(fp," %s *temp = vtkXRenderWindowTclInteractor::New();\n",
data->ClassName);
fprintf(fp,"#else\n");
......
Markdown is supported
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