diff options
Diffstat (limited to 'win32/PlatWin.cxx')
-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); |