How to set icon to wx.ComboBox

How I can set the icon or bitmap Image to wx.ComboBox. I am not found any property or function to set it.

Hi @sudarshankapse,

I don’t think you can do that with the standard wx.ComboBox.

Perhaps you could use wx.adv.OwnerDrawnComboBox instead?


The wxPython Demo has an example of using the OwnerDrawnComboBox class to graphically display the various pen styles that are available. That example may give you clues on how to show images instead.