Attempt to prevent a selection change from currupting the log

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7297 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2021-08-18 23:48:20 +00:00
parent d4306769b9
commit 7fce1681df
9 changed files with 53 additions and 5 deletions

View file

@ -197,6 +197,9 @@ void EnableToolBarButton(int cmdid, BOOL enabled)
static bool IsRTL(HWND hWnd) { return (((UINT) GetWindowLongPtr(hWnd, GWL_EXSTYLE)) & (WS_EX_LAYOUTRTL)) != 0; } // WS_EX_RIGHT? WS_EX_RTLREADING?
#ifndef TPM_LAYOUTRTL
#define TPM_LAYOUTRTL 0x8000 // For MinGW (w32api-4.0.3-1)
#endif
static UINT GetToolbarDropdownMenuPos(HWND hTB, UINT Id, POINT&pt)
{
RECT r;