summaryrefslogtreecommitdiff
path: root/src/gui/textfield.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2007-10-28 02:55:43 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2007-10-28 02:55:43 +0000
commitb755a9b46325d96b8f74e0cb05bb350f2f4681d0 (patch)
tree42f23f641c6e2a9342fe13e6eadfede048d6851a /src/gui/textfield.cpp
parent97bbe57e21a28544646da087e2a522390bf2ce5c (diff)
downloadmana-client-b755a9b46325d96b8f74e0cb05bb350f2f4681d0.tar.gz
mana-client-b755a9b46325d96b8f74e0cb05bb350f2f4681d0.tar.bz2
mana-client-b755a9b46325d96b8f74e0cb05bb350f2f4681d0.tar.xz
mana-client-b755a9b46325d96b8f74e0cb05bb350f2f4681d0.zip
Fixed a windows compilation problem caused by a define macro of the Windows API that conflicts with a guichan identifier.
Diffstat (limited to 'src/gui/textfield.cpp')
-rw-r--r--src/gui/textfield.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/textfield.cpp b/src/gui/textfield.cpp
index 81b1a0ab..11659b8b 100644
--- a/src/gui/textfield.cpp
+++ b/src/gui/textfield.cpp
@@ -36,6 +36,8 @@
#include "../utils/dtor.h"
+#undef DELETE //Win32 compatibility hack
+
int TextField::instances = 0;
ImageRect TextField::skin;