Hi, Vadim,
On Tue, Jul 8, 2025 at 11:24 AM Vadim Zeitlin <
va...@wxwidgets.org> wrote:
>
> On Tue, 8 Jul 2025 11:22:52 -0400 Igor Korot wrote:
>
> IK> So what are my options?
> IK>
> IK> I want to use wxChoice as editor and start editing on the very first click,
> IK> displaying the list of choices.
>
> Use normal editor and call Popup() in your StartingClick().
The suggestion was good but it didn't wr
Tried t debug it and found that
[code]
void
wxGrid::DoGridCellLeftUp(wxMouseEvent& event,
const wxGridCellCoords& coords,
wxGridWindow* gridWindow)
{
if ( m_cursorMode == WXGRID_CURSOR_SELECT_CELL )
{
if ( coords == m_currentCellCoords && m_waitForSlowClick &&
CanEnableCellControl() )
{
ClearSelection();
if ( DoEnableCellEditControl(wxGridActivationSource::From(event)) )
GetCurrentCellEditorPtr()->StartingClick();
m_waitForSlowClick = false;
}
}
...
[/code]
the variable m_waitForSlowClick is false.
Also the positon f the editor is wrong. The popup
shows at the top left grid coordinate.
Use wx 3.2.6 on Windows.
Thank you.