diff --git a/Source/Engine/Platform/Base/WindowBase.h b/Source/Engine/Platform/Base/WindowBase.h index dfcad6fe6..eb401d4ab 100644 --- a/Source/Engine/Platform/Base/WindowBase.h +++ b/Source/Engine/Platform/Base/WindowBase.h @@ -706,7 +706,7 @@ public: /// /// Gets the value indicating whenever the cursor is being clipped. /// - API_PROPERTY bool IsCursorClipping() const + API_PROPERTY() bool IsCursorClipping() const { return _isClippingCursor; } diff --git a/Source/Engine/Platform/Windows/WindowsWindow.cpp b/Source/Engine/Platform/Windows/WindowsWindow.cpp index 733064016..55089543b 100644 --- a/Source/Engine/Platform/Windows/WindowsWindow.cpp +++ b/Source/Engine/Platform/Windows/WindowsWindow.cpp @@ -582,7 +582,7 @@ void WindowsWindow::StartClippingCursor(const Rectangle& bounds) ClipCursor(&lpRect); } -void WindowsWindow::EndClippingMouse() +void WindowsWindow::EndClippingCursor() { if (_isClippingCursor) {