Ticket #2628 (closed defect: fixed)
Can't close the parent frame when wxGridCellChoiceEditor is shown in wxGTK
| Reported by: | mkab | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxGTK | Version: | |
| Keywords: | wxGrid | Cc: | mkab |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
wxGridCellChoiceEditor misbehaves in two issues under
wxGTK.
1. If one binds an editor to a cell with SetEditor()
the first string in the wxString[] is selected
automatically.
But if one creates a wxGridCellAttr and sets the Editor
as attribute, and then assign it to a column or row
using SetColAttr() , there is nothing selected on
initialization.
2. The choicebox dissapears when the mouse button is
released. Even keeping the mouse button pressed and
moving to select an item fails.
One might expect to work as a normal wxChoice.
Instead, when you click on the arrow that appears, if
you leave the mouse button, the choice folds back in.
All these are true in wxGTK-2.6.1 unicode build, with
gtk2-2.4.9
