[wx-dev] generic bitmapcombobox
Jaakko Salli
jaakko.salli at pp.inet.fi
Thu May 1 08:41:22 PDT 2008
Igor Korot wrote:
> Hi, (Jaakko),
> I found a problem with the wxBitmapComboBox - generic.
> In my program I have a dialog. On it I have a notebook. On it I have a
> bitmapcombobox in a sizer.
>
> The course of actions:
> 1. Open dialog
> 2. Click to show combo box popup.
> 3. Hit an Esc key.
>
> At this time the program crashes with the last line on backtrace from:
>
> void wxButton::UnsetTmpDefault()
>
> wxCHECK_RET( tlw, _T("button without top level window?");
>
> This is on WinXP using VC++ and wx 2.8.
>
> I didn't check the trunk, but looking at the bmpcbox files
> it looks like the crash will be there.
>
> There is a patch that solves kind of the same issue:
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1931423&group_id=9863&atid=309863, but it is
> against the trunk, and it was not been applied yet.
>
> Do you know how I can solve it in 2.8?
Sorry, no (although I can hazard guess the solution would be very similar
in both branches). Note that I can't reproduce it using dialog in combo
sample,
so I guess it requires more specific condition than what you describe.
Jaakko
More information about the wx-dev
mailing list