[ wxwindows-Bugs-1667563 ] wxBitmapComboBox doesn't display bitmap when first appearing

SourceForge.net noreply at sourceforge.net
Mon Apr 9 09:53:44 PDT 2007


Bugs item #1667563, was opened at 2007-02-24 01:54
Message generated for change (Comment added) made by jmsalli
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1667563&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Blake Madden (blizzymadden)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxBitmapComboBox doesn't display bitmap when first appearing

Initial Comment:
When a dialog first appears, the bitmap next to the string in a wxBitmapComboBox will not be shown.  Basically, you fill the control with values (a string and a respective bitmap), but when it rendered it just shows the string that you called from SetValue()--it's respective bitmap is not shown.

In the attached screenshot, I would have expected for the Portuguese flag to be next to the word "Portuguese" in the wxBitmapComboBox text field.

You actually have to select an item from the wxBitmapComboBox before you can get it to show the bitmap next to the string (inside the text field).

I tried adding the values using either Insert() and Append() and then calling SetValue(), but same problem.

----------------------------------------------------------------------

Comment By: Jaakko Salli (jmsalli)
Date: 2007-04-09 19:53

Message:
Logged In: YES 
user_id=1193883
Originator: NO


Hi,

Try commenting out line "if ( m_valueString != value )" in
wxComboCtrlBase::SetValueWithEvent in common/combocmn.cpp.


----------------------------------------------------------------------

Comment By: Blake Madden (blizzymadden)
Date: 2007-04-09 19:26

Message:
Logged In: YES 
user_id=561696
Originator: YES

With 2.8.3 it is sort of fixed, but not entirely.  If the first item in
the combobox is selected then the icons is still NOT shown.  If any other
item is selected then it is fine.

----------------------------------------------------------------------

Comment By: Vadim Zeitlin (vadz)
Date: 2007-03-08 01:45

Message:
Logged In: YES 
user_id=71618
Originator: NO

Should be fixed by the patch 1669275 (in both 2.8.2 and HEAD), thanks for
reporting!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1667563&group_id=9863




More information about the wx-dev mailing list