Ticket #10157 (closed defect: fixed)
wxOwnerDrawnComboBox SetFocus problem
| Reported by: | Trigve | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxMSW | Version: | 2.9-svn |
| Keywords: | wxPopupWindow Vista wxOwnerDrawnComboBox SetFocus | Cc: | |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
When using wxOwnerDrawnComboBox (or wxComboCtrl) derived combo box, I've got a SetFocus error
when clicking to drop-down button:
19:17:25: Debug: ..\..\src\msw\window.cpp(655): 'SetFocus' failed with error 0x00000057 (The parameter is incorrect.).
stack:
wxmsw290ud_core_vc_custom.dll!wxWindow::SetFocus() Line 655 C++
wxmsw290ud_core_vc_custom.dll!wxPanel::SetFocus() Line 100 + 0x2b
bytes C++
wxmsw290ud_core_vc_custom.dll!wxPopupTransientWindow::Popup(wxWindow *
winFocus=0x04e36f08) Line 264 + 0x1e bytes C++
wxmsw290ud_core_vc_custom.dll!wxComboCtrlBase::DoShowPopup(const wxRect
&
rect={...}, int __formal=2) Line 2036 + 0x1c bytes C++
wxmsw290ud_core_vc_custom.dll!wxComboCtrl::OnTimerEvent(wxTimerEvent &
__formal={...}) Line 813 + 0x25 bytes C++
The behaviour can be obtained from samples/widgets example.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

