diff --git a/include/SFML/Window/Event.hpp b/include/SFML/Window/Event.hpp index 587ae22a..a88946ea 100644 --- a/include/SFML/Window/Event.hpp +++ b/include/SFML/Window/Event.hpp @@ -41,9 +41,8 @@ namespace sf /// \brief Defines a system event and its parameters /// //////////////////////////////////////////////////////////// -class Event +struct Event { -public: //////////////////////////////////////////////////////////// /// \brief Size events parameters (Resized) /// diff --git a/include/SFML/Window/Window.hpp b/include/SFML/Window/Window.hpp index 99a4d943..9dc73dbf 100644 --- a/include/SFML/Window/Window.hpp +++ b/include/SFML/Window/Window.hpp @@ -44,7 +44,7 @@ namespace priv class GlContext; } -class Event; +struct Event; //////////////////////////////////////////////////////////// /// \brief Window that serves as a target for OpenGL rendering diff --git a/include/SFML/Window/WindowBase.hpp b/include/SFML/Window/WindowBase.hpp index 47c4ada0..792bfcb2 100644 --- a/include/SFML/Window/WindowBase.hpp +++ b/include/SFML/Window/WindowBase.hpp @@ -50,7 +50,7 @@ namespace priv class WindowImpl; } -class Event; +struct Event; //////////////////////////////////////////////////////////// /// \brief Window that serves as a base for other windows