summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-15 17:29:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-15 17:29:30 +0300
commit21e63bbf54679ec236d1f09ed435959ff6a04db2 (patch)
tree9082ec6c04c0005843a7b28e12ef5a4be81f7190 /src/gui/widgets
parent9b329556e748050c4300174e9bdc72b15e5b8cc5 (diff)
downloadmanaverse-21e63bbf54679ec236d1f09ed435959ff6a04db2.tar.gz
manaverse-21e63bbf54679ec236d1f09ed435959ff6a04db2.tar.bz2
manaverse-21e63bbf54679ec236d1f09ed435959ff6a04db2.tar.xz
manaverse-21e63bbf54679ec236d1f09ed435959ff6a04db2.zip
remove use internal guichan flag.
From now manaplus can use only own forked guichan version.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/container.h4
-rw-r--r--src/gui/widgets/window.cpp5
2 files changed, 0 insertions, 9 deletions
diff --git a/src/gui/widgets/container.h b/src/gui/widgets/container.h
index 2983a7433..8f3933357 100644
--- a/src/gui/widgets/container.h
+++ b/src/gui/widgets/container.h
@@ -27,10 +27,6 @@
#include <guichan/widgets/container.hpp>
-#if !defined USE_INTERNALGUICHAN
-typedef std::list<gcn::Widget *>::const_iterator WidgetListConstIterator;
-#endif
-
/**
* A widget container.
*
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 36372dcaa..c716445f3 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -92,11 +92,6 @@ Window::Window(const std::string &caption, const bool modal,
{
logger->log("Window::Window(\"%s\")", caption.c_str());
-#ifndef USE_INTERNALGUICHAN
- mDragOffsetX = 0;
- mDragOffsetY = 0;
-#endif
-
if (!windowContainer)
throw GCN_EXCEPTION("Window::Window(): no windowContainer set");