Ticket #10158 (closed defect: outdated)
wxOwnerDrawnComboBox assertion
| Reported by: | Trigve | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxMSW | Version: | 2.9-svn |
| Keywords: | wxOwnerDrawnComboBox assert | Cc: | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
When using wxOwnerDrawnComboBox and clicking to drop-down arrow, popup window is shown. Then clicking again on popup arrow (while popup window is shown) I get an assertion:
19:17:26: Debug: ..\..\src\common\combocmn.cpp(1842): assert "!IsPopupWindowState(Visible)" failed in wxComboCtrlBase::ShowPopup(): popup window already shown
stack:
...
wxbase290ud_vc_custom.dll!wxOnAssert(const char * szFile=0x03acfb28, int
nLine=1842, const char * szFunc=0x03acfb0c, const char * szCond=0x03acfaec,
const wchar_t * szMsg=0x03acfab4) Line 921 + 0x62 bytes C++
wxmsw290ud_core_vc_custom.dll!wxComboCtrlBase::ShowPopup() Line 1842 +
0x34 bytes C++
wxmsw290ud_core_vc_custom.dll!wxComboCtrlBase::OnButtonClick() Line
1836 + 0x12 bytes C++
wxmsw290ud_core_vc_custom.dll!wxComboCtrlBase::HandleButtonMouseEvent(
wxMouseEvent& event={...}, int flags=3) Line 1523 + 0x12 bytes C++
wxmsw290ud_core_vc_custom.dll!wxComboCtrl::OnMouseEvent(wxMouseEvent &
event={...}) Line 706 + 0x10 bytes C++
attaching example program
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

