Fix close button on simulator frame.
Fixes https://gitlab.com/kicad/code/kicad/issues/14551
This commit is contained in:
parent
b4938f5198
commit
02c5a31b99
|
@ -457,6 +457,12 @@ private:
|
|||
};
|
||||
|
||||
|
||||
BEGIN_EVENT_TABLE( SIMULATOR_FRAME, SIMULATOR_FRAME_BASE )
|
||||
EVT_MENU( wxID_EXIT, SIMULATOR_FRAME::onExit )
|
||||
EVT_MENU( wxID_CLOSE, SIMULATOR_FRAME::onExit )
|
||||
END_EVENT_TABLE()
|
||||
|
||||
|
||||
SIMULATOR_FRAME::SIMULATOR_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
|
||||
SIMULATOR_FRAME_BASE( aParent ),
|
||||
m_SuppressGridEvents( 0 ),
|
||||
|
|
|
@ -245,6 +245,8 @@ public:
|
|||
|
||||
void OnModify() override;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
private:
|
||||
void setupTools();
|
||||
void doReCreateMenuBar() override;
|
||||
|
|
Loading…
Reference in New Issue