Sim spice fix: the frame size was not the last stored size (like for other frames) but a default fixed value.

The frame size (and its subframes) is now the last used.
This commit is contained in:
jean-pierre charras 2018-04-27 18:33:13 +02:00
parent cfd2f1d001
commit a9dd5b5335
1 changed files with 0 additions and 2 deletions

View File

@ -203,8 +203,6 @@ SIM_PLOT_FRAME::SIM_PLOT_FRAME( KIWAY* aKiway, wxWindow* aParent )
// instead of being behind the dialog frame (as it does) // instead of being behind the dialog frame (as it does)
m_settingsDlg = NULL; m_settingsDlg = NULL;
SetSize( ConvertDialogToPixels( wxSize( 400, 300 ) ) );
// resize the subwindows size. At least on Windows, calling wxSafeYield before // resize the subwindows size. At least on Windows, calling wxSafeYield before
// resizing the subwindows forces the wxSplitWindows size events automatically generated // resizing the subwindows forces the wxSplitWindows size events automatically generated
// by wxWidgets to be executed before our resize code. // by wxWidgets to be executed before our resize code.