aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widget.cpp')
-rw-r--r--gui/widget.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index d16de51d0c..9160afe78f 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -23,6 +23,11 @@
#include "dialog.h"
#include "newgui.h"
+#ifdef _MSC_VER
+// Disable "unknown pragma" warning in MSVC 6
+#pragma warning(disable : 4068)
+#endif
+
Widget::Widget (Dialog *boss, int x, int y, int w, int h)
: _type(0), _boss(boss), _x(x), _y(y), _w(w), _h(h),