From 21e63bbf54679ec236d1f09ed435959ff6a04db2 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Sat, 15 Feb 2014 17:29:30 +0300
Subject: remove use internal guichan flag.

From now manaplus can use only own forked guichan version.
---
 src/gui/widgets/container.h | 4 ----
 src/gui/widgets/window.cpp  | 5 -----
 2 files changed, 9 deletions(-)

(limited to 'src/gui/widgets')

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");
 
-- 
cgit v1.2.3-70-g09d2