Commit 7e2e3f3c authored by Brad King's avatar Brad King

ENH: We don't need to include tkWinInt.h in the header file.

parent 8915fe3a
......@@ -20,6 +20,17 @@
#include "vtkTkImageViewerWidget.h"
#include "vtkRenderWindowInteractor.h"
// This widget requires access to structures that are normally
// not visible to Tcl/Tk applications. For this reason you must
// have access to tkInt.h
// #include "tkInt.h"
#ifdef _WIN32
extern "C"
{
#include "tkWinInt.h"
}
#endif
#ifdef _WIN32
#pragma warning ( disable : 4273 )
#else
......
......@@ -51,17 +51,6 @@ struct vtkTkImageViewerWidget
#endif
};
// This widget requires access to structures that are normally
// not visible to Tcl/Tk applications. For this reason you must
// have access to tkInt.h
// #include "tkInt.h"
#ifdef _WIN32
extern "C" {
#include "tkWinInt.h"
}
#endif
#endif
......
......@@ -24,6 +24,17 @@
#include "vtkImageData.h"
#include "vtkTclUtil.h"
// This widget requires access to structures that are normally
// not visible to Tcl/Tk applications. For this reason you must
// have access to tkInt.h
// #include "tkInt.h"
#ifdef _WIN32
extern "C"
{
#include "tkWinInt.h"
}
#endif
#ifdef _WIN32
#include "vtkWin32OpenGLRenderWindow.h"
#else
......
......@@ -58,23 +58,4 @@ struct vtkTkRenderWidget
#endif
};
// This widget requires access to structures that are normally
// not visible to Tcl/Tk applications. For this reason you must
// have access to tkInt.h
// #include "tkInt.h"
#ifdef _WIN32
extern "C" {
#include "tkWinInt.h"
}
#endif
#endif
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