Make auto-grow of in-place editor in generic wxListCtrl work again

Auto-growing of the editor has not worked since the changes of
a8a8915453 (Made code more similar to
wxTreeCtrl' code, 2008-01-10).

Closes #24293.
This commit is contained in:
taler21 2024-02-08 14:44:20 +01:00 committed by Vadim Zeitlin
parent bfc3fcf0f4
commit e7dba90bd0

View file

@ -1468,7 +1468,7 @@ bool wxListTextCtrlWrapper::CheckForEndEditKey(const wxKeyEvent& event)
void wxListTextCtrlWrapper::OnKeyUp( wxKeyEvent &event )
{
if (m_aboutToFinish)
if ( !m_aboutToFinish )
{
// auto-grow the textctrl:
wxSize parentSize = m_owner->GetSize();