#11404 and #11653 both added WM_SYSCOMMAND which prevents build. This fixes it.
This commit is contained in:
parent
7aae2e9100
commit
55dbda02a5
|
@ -606,15 +606,6 @@ long IslandWindow::_calculateTotalSize(const bool isWidth, const long clientSize
|
|||
}
|
||||
break;
|
||||
}
|
||||
case WM_SYSCOMMAND:
|
||||
{
|
||||
if (wparam == SC_RESTORE && _fullscreen)
|
||||
{
|
||||
_ShouldExitFullscreenHandlers();
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case WM_MENUCOMMAND:
|
||||
{
|
||||
_NotifyNotificationIconMenuItemSelectedHandlers((HMENU)lparam, (UINT)wparam);
|
||||
|
@ -622,6 +613,11 @@ long IslandWindow::_calculateTotalSize(const bool isWidth, const long clientSize
|
|||
}
|
||||
case WM_SYSCOMMAND:
|
||||
{
|
||||
if (wparam == SC_RESTORE && _fullscreen)
|
||||
{
|
||||
_ShouldExitFullscreenHandlers();
|
||||
return 0;
|
||||
}
|
||||
auto search = _systemMenuItems.find(LOWORD(wparam));
|
||||
if (search != _systemMenuItems.end())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue