Fix mistaken use of `m_width`

This is a protected var in Linux but doesn't exist in Mac/MSW.  We use
the new m_fieldsSize
This commit is contained in:
Seth Hillbrand 2022-01-25 12:45:09 -08:00
parent f651e31965
commit b6ecbc596e
1 changed files with 1 additions and 2 deletions

View File

@ -797,8 +797,7 @@ void DIALOG_SYMBOL_PROPERTIES::OnGridEditorShown( wxGridEvent& aEvent )
/// Queue up an event to ensure the widget gets resized if the editor needs it
wxSizeEvent *evt = new wxSizeEvent();
evt->SetSize( wxSize( m_width + 1, -1 ) );
evt->SetSize( m_fieldsSize + wxSize( 1, 1 ) );
wxQueueEvent( m_fieldsGrid, evt );
wxSizeEvent *frmEvt = new wxSizeEvent();