diff --git a/BeefLibs/Beefy2D/src/BFWindow.bf b/BeefLibs/Beefy2D/src/BFWindow.bf index b61ae511..a4cdf220 100644 --- a/BeefLibs/Beefy2D/src/BFWindow.bf +++ b/BeefLibs/Beefy2D/src/BFWindow.bf @@ -50,6 +50,7 @@ namespace Beefy AllowFullscreen = 0x0800'0000, AcceptFiles = 0x1000'0000, NoShow = 0x2000'0000, + NoMouse = 0x4000'0000, }; [AllowDuplicates] diff --git a/BeefLibs/Beefy2D/src/widgets/WidgetWindow.bf b/BeefLibs/Beefy2D/src/widgets/WidgetWindow.bf index 5a4a2c24..60e3e82a 100644 --- a/BeefLibs/Beefy2D/src/widgets/WidgetWindow.bf +++ b/BeefLibs/Beefy2D/src/widgets/WidgetWindow.bf @@ -125,7 +125,7 @@ namespace Beefy.widgets } #if BF_PLATFORM_WINDOWS - [CLink, CallingConvention(.Stdcall)] + [Import("user32.lib"), CLink, CallingConvention(.Stdcall)] static extern int16 GetKeyState(int nVirtKey); #endif