diff options
author | nyamatongwe <unknown> | 2003-01-31 21:56:35 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-01-31 21:56:35 +0000 |
commit | 4e62df1da1150f0cfa156cd9c64b80fb43fb7d2c (patch) | |
tree | 633ce248d6beceee0d0f8a262d473e6bfb6bdea4 | |
parent | df01e0589ec970d12ef3f7a3014d71796ce5e5d4 (diff) | |
download | scintilla-mirror-4e62df1da1150f0cfa156cd9c64b80fb43fb7d2c.tar.gz |
Fixes to autocompletion pixmaps from Mauritius Thinnes.
-rw-r--r-- | win32/PlatWin.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index a65ff4a9c..aa1a4d656 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -133,6 +133,7 @@ static void SetLogFont(LOGFONT &lf, const char *faceName, int characterSet, int lf.lfItalic = static_cast<BYTE>(italic ? 1 : 0); lf.lfCharSet = static_cast<BYTE>(characterSet); strncpy(lf.lfFaceName, faceName, sizeof(lf.lfFaceName)); + lf.lfQuality = NONANTIALIASED_QUALITY; } /** @@ -964,6 +965,7 @@ int ListBoxX::CaretFromEdge() { void ListBoxX::Clear() { ::SendMessage(lb, LB_RESETCONTENT, 0, 0); maxItemCharacters = 0; + ltt.Clear(); } void ListBoxX::Append(char *s, int type) { @@ -972,7 +974,7 @@ void ListBoxX::Append(char *s, int type) { if (maxItemCharacters < len) maxItemCharacters = len; int count = ::SendMessage(lb, LB_GETCOUNT, 0, 0); - ltt.Add(count, type); + ltt.Add(count-1, type); } int ListBoxX::Length() { |