diff options
author | nyamatongwe <unknown> | 2003-08-12 10:55:26 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-08-12 10:55:26 +0000 |
commit | ee2451870f6fde9f71cedc63d50f62acc2343cf8 (patch) | |
tree | 1c0d3a0e066d1943a6da1cdfbd6ab3b1fb11d1cc | |
parent | a28505c543091f967dc3eee21fb633bd5126e5c3 (diff) | |
download | scintilla-mirror-ee2451870f6fde9f71cedc63d50f62acc2343cf8.tar.gz |
Fixed display of pixmaps in autocompletion lists.
-rw-r--r-- | win32/PlatWin.cxx | 6 |
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); |