Fix recent regression in grid sample

Changes of 3719ab3725 (Add support for rearranging wxGrid rows order
interactively, 2022-04-02) broke TabularGridFrame in the sample, fix it
by removing the duplicate call to wxSizer::Add().

See #22260.

Closes #22296.
This commit is contained in:
DietmarSchwertberger
2022-04-10 17:37:27 +02:00
committed by Vadim Zeitlin
parent 2d675acd6b
commit a6cc2c7238

View File

@@ -2698,12 +2698,12 @@ TabularGridFrame::TabularGridFrame()
"Allow row reordering");
m_chkEnableRowMove->SetValue(true);
sizerStyles->Add(m_chkEnableRowMove, wxSizerFlags().Border());
sizerControls->Add(sizerStyles);
m_chkEnableColMove = new wxCheckBox(panel, Id_Check_EnableColMove,
"Allow column re&ordering");
m_chkEnableColMove->SetValue(true);
sizerStyles->Add(m_chkEnableColMove, wxSizerFlags().Border());
sizerControls->Add(sizerStyles);
sizerControls->AddSpacer(FromDIP(10));