diff options
| author | nyamatongwe <unknown> | 2003-03-08 22:51:12 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2003-03-08 22:51:12 +0000 | 
| commit | fc4ce601c44f0bc0ac7529d76597e482be9b97e4 (patch) | |
| tree | 2ecc11a5c197a388a704ec95246d28d020045cd6 | |
| parent | 39423285f19cd5ea17985fe0c75fe9801538f4da (diff) | |
| download | scintilla-mirror-fc4ce601c44f0bc0ac7529d76597e482be9b97e4.tar.gz | |
Fix to autocompletion lists where clicking on the list caused focus to
shift to the list which then led to it being cancelled.
| -rw-r--r-- | win32/ScintillaWin.cxx | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 6f0204362..b303db27a 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -667,7 +667,10 @@ sptr_t ScintillaWin::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam  		return DLGC_HASSETSEL | DLGC_WANTALLKEYS;  	case WM_KILLFOCUS: -		SetFocusState(false); +		if (!IsChild(reinterpret_cast<HWND>(wMain.GetID()),  +			reinterpret_cast<HWND>(wParam))) { +			SetFocusState(false); +		}  		//RealizeWindowPalette(true);  		break;  | 
