Fix Mouse Wheel Scrolling in Shortcut Mapper even nothing to scroll

Reduce also Shortcut Mapper memory use.

Fix #14895, close #14896
pull/14903/head
Don Ho 2024-03-22 16:22:59 +01:00
parent 71a12c4289
commit 52fa5a3b8a
2 changed files with 792 additions and 795 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@
#include "BabyGridWrapper.h"
const TCHAR *babyGridClassName = TEXT("BABYGRID");
const wchar_t* babyGridClassName = L"BABYGRID";
bool BabyGridWrapper::_isRegistered = false;
@ -37,4 +37,6 @@ void BabyGridWrapper::init(HINSTANCE hInst, HWND parent, int16_t id)
reinterpret_cast<HMENU>(id),
_hInst,
NULL);
_isRegistered = true;
}