From 02226aee689caad4d05e65448ec7640d33e8f659 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 5 Dec 2005 03:08:36 +0000 Subject: listboxcontent: add support for pixmaps in list --- lib/gdi/grc.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/gdi/grc.cpp') diff --git a/lib/gdi/grc.cpp b/lib/gdi/grc.cpp index 7f884024..f54f1604 100644 --- a/lib/gdi/grc.cpp +++ b/lib/gdi/grc.cpp @@ -1,5 +1,5 @@ // for debugging use: -// #define SYNC_PAINT + #define SYNC_PAINT #include #ifndef SYNC_PAINT #include @@ -227,6 +227,8 @@ void gPainter::blit(gPixmap *pixmap, ePoint pos, const eRect &clip, int flags) { gOpcode o; + ASSERT(pixmap); + o.opcode=gOpcode::blit; o.dc = m_dc.grabRef(); pixmap->AddRef(); -- cgit v1.2.3