diff --git a/include/Nazara/Widgets/BoxLayout.hpp b/include/Nazara/Widgets/BoxLayout.hpp index adbd7deda..35f71ad9e 100644 --- a/include/Nazara/Widgets/BoxLayout.hpp +++ b/include/Nazara/Widgets/BoxLayout.hpp @@ -7,14 +7,13 @@ #ifndef NAZARA_WIDGETS_BOXLAYOUT_HPP #define NAZARA_WIDGETS_BOXLAYOUT_HPP -#include -#include -#include +#include +#include #include namespace Nz { - class NDK_CLIENT_API BoxLayout : public BaseWidget + class NAZARA_WIDGETS_API BoxLayout : public BaseWidget { public: BoxLayout(BaseWidget* parent, BoxLayoutOrientation orientation); @@ -36,6 +35,6 @@ namespace Nz }; } -#include +#include #endif // NAZARA_WIDGETS_BOXLAYOUT_HPP diff --git a/include/Nazara/Widgets/BoxLayout.inl b/include/Nazara/Widgets/BoxLayout.inl index 2264db0bc..72c67f392 100644 --- a/include/Nazara/Widgets/BoxLayout.inl +++ b/include/Nazara/Widgets/BoxLayout.inl @@ -3,7 +3,6 @@ // For conditions of distribution and use, see copyright notice in Config.hpp #include -#include #include namespace Nz diff --git a/src/Nazara/Widgets/BoxLayout.cpp b/src/Nazara/Widgets/BoxLayout.cpp index 2a72ba1a6..1cd00c65c 100644 --- a/src/Nazara/Widgets/BoxLayout.cpp +++ b/src/Nazara/Widgets/BoxLayout.cpp @@ -2,13 +2,10 @@ // This file is part of the "Nazara Engine - Widgets module" // For conditions of distribution and use, see copyright notice in Config.hpp -#if 0 - #include #include -#include +#include #include -#include #include #include #include @@ -39,11 +36,11 @@ namespace Nz switch (m_orientation) { - case BoxLayoutOrientation_Horizontal: + case BoxLayoutOrientation::Horizontal: axis = 0; //< x break; - case BoxLayoutOrientation_Vertical: + case BoxLayoutOrientation::Vertical: axis = 1; //< y break; @@ -138,5 +135,3 @@ namespace Nz }); } } - -#endif diff --git a/src/Nazara/Widgets/ScrollAreaWidget.cpp b/src/Nazara/Widgets/ScrollAreaWidget.cpp index c70c7d970..fd7bc352a 100644 --- a/src/Nazara/Widgets/ScrollAreaWidget.cpp +++ b/src/Nazara/Widgets/ScrollAreaWidget.cpp @@ -3,8 +3,8 @@ // For conditions of distribution and use, see copyright notice in Config.hpp #include -#include #include +#include #include namespace Nz