[wxPython-users] Bitmaps on wx.combo.OwnerDrawnComboBox
Robin Dunn
robin at alldunn.com
Fri Jun 29 15:43:25 PDT 2007
Anthony M. Floyd wrote:
> It's Friday afternoon just before a long weekend and my brain is mush.
Been there, done that.
>
> Any thoughts? What am I doing wrong?
You need to do your drawing within the rectangle passed to OnDrawItem.
The rest of the dc is clipped. So perhaps this will help:
drawX = rect.x + 48
drawY = rect.y + 3
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list