diff --git a/src/SFML/Window/Win32/WindowImplWin32.hpp b/src/SFML/Window/Win32/WindowImplWin32.hpp index f34b5d72a..923db0e40 100644 --- a/src/SFML/Window/Win32/WindowImplWin32.hpp +++ b/src/SFML/Window/Win32/WindowImplWin32.hpp @@ -225,12 +225,12 @@ private : //////////////////////////////////////////////////////////// // Member data //////////////////////////////////////////////////////////// - HWND myHandle; ///< Win32 handle of the window - long myCallback; ///< Stores the original event callback function of the control - HCURSOR myCursor; ///< The system cursor to display into the window - HICON myIcon; ///< Custom icon assigned to the window - bool myKeyRepeatEnabled; ///< Automatic key-repeat state for keydown events - bool myIsCursorIn; ///< Is the mouse cursor in the window's area ? + HWND myHandle; ///< Win32 handle of the window + LONG_PTR myCallback; ///< Stores the original event callback function of the control + HCURSOR myCursor; ///< The system cursor to display into the window + HICON myIcon; ///< Custom icon assigned to the window + bool myKeyRepeatEnabled; ///< Automatic key-repeat state for keydown events + bool myIsCursorIn; ///< Is the mouse cursor in the window's area ? }; } // namespace priv