aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-08-12 10:55:26 +0000
committernyamatongwe <devnull@localhost>2003-08-12 10:55:26 +0000
commitc438f1ef7a8c63182ca931fc57cb2a6ae44611a7 (patch)
tree1c0d3a0e066d1943a6da1cdfbd6ab3b1fb11d1cc
parenta94d282b9755b0ba701cd291631b977a403fb06e (diff)
downloadscintilla-mirror-c438f1ef7a8c63182ca931fc57cb2a6ae44611a7.tar.gz
Fixed display of pixmaps in autocompletion lists.rel-1-54
-rw-r--r--win32/PlatWin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 291d40fd9..83ab47983 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -1116,9 +1116,9 @@ void ListBoxX::Draw(DRAWITEMSTRUCT *pDrawItem) {
if (pxpm) {
Surface *surfaceItem = Surface::Allocate();
if (surfaceItem) {
- surfaceItem->Init(pDrawItem->hDC);
- //surf->SetUnicodeMode(unicodeMode);
- //surf->SetDBCSMode(codePage);
+ surfaceItem->Init(pDrawItem->hDC, pDrawItem->hwndItem);
+ //surfaceItem->SetUnicodeMode(unicodeMode);
+ //surfaceItem->SetDBCSMode(codePage);
int left = pDrawItem->rcItem.left;
PRectangle rc(left + 1, pDrawItem->rcItem.top,
left + 1 + widthPix, pDrawItem->rcItem.bottom);