diff options
author | Neil <nyamatongwe@gmail.com> | 2017-03-30 07:42:52 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-03-30 07:42:52 +1100 |
commit | bf2afaf82b66f8a54d6a185eb95562ebb4c7c47f (patch) | |
tree | f63b28d34e5aafb0f9a1eeb0ed943e4157655221 /win32 | |
parent | 185e8b51cf67fe5d78b06aca50cd61c8015e851a (diff) | |
download | scintilla-mirror-bf2afaf82b66f8a54d6a185eb95562ebb4c7c47f.tar.gz |
Stop drawing a focus rectangle on the autocompletion list.
Raise the default list length to 9 items.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/PlatWin.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index cef6973d7..9afc14eaf 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -2069,7 +2069,7 @@ class ListBoxX : public ListBox { public: ListBoxX() : lineHeight(10), fontCopy(0), technology(0), lb(0), unicodeMode(false), - desiredVisibleRows(5), maxItemCharacters(0), aveCharWidth(8), + desiredVisibleRows(9), maxItemCharacters(0), aveCharWidth(8), parent(NULL), ctrlID(0), doubleClickAction(NULL), doubleClickActionData(NULL), widestItem(NULL), maxCharWidth(1), resizeHit(0), wheelDelta(0) { } @@ -2303,9 +2303,6 @@ void ListBoxX::Draw(DRAWITEMSTRUCT *pDrawItem) { } else { ::DrawTextA(pDrawItem->hDC, text, len, &rcText, DT_NOPREFIX|DT_END_ELLIPSIS|DT_SINGLELINE|DT_NOCLIP); } - if (pDrawItem->itemState & ODS_SELECTED) { - ::DrawFocusRect(pDrawItem->hDC, &rcBox); - } // Draw the image, if any RGBAImage *pimage = images.Get(pixId); |