Browse Source

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 8 months ago
parent
commit
52fa5a3b8a
  1. 1435
      PowerEditor/src/WinControls/Grid/BabyGrid.cpp
  2. 4
      PowerEditor/src/WinControls/Grid/BabyGridWrapper.cpp

1435
PowerEditor/src/WinControls/Grid/BabyGrid.cpp

File diff suppressed because it is too large Load Diff

4
PowerEditor/src/WinControls/Grid/BabyGridWrapper.cpp

@ -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;
}

Loading…
Cancel
Save