diff options
Diffstat (limited to 'src/k9glwidget.cpp')
-rw-r--r-- | src/k9glwidget.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/k9glwidget.cpp b/src/k9glwidget.cpp index 2d536b1..d3e4d4e 100644 --- a/src/k9glwidget.cpp +++ b/src/k9glwidget.cpp @@ -19,6 +19,12 @@ #include <cstdlib> #include "ac.h" #include <X11/Xlib.h> +#if defined(Above) +#undef Above // defined in X.h, causes conflict with enum in tqslider.h +#endif +#if defined(Below) +#undef Below // defined in X.h, causes conflict with enum in tqslider.h +#endif k9GLWidget::k9GLWidget(TQWidget *parent, const char *name):TQGLWidget(parent, name) { XMapRaised(x11Display(),winId()); |