Use Destroy() instead of Close() to exit from the controls
dialog.
This commit is contained in:
parent
c85a15078c
commit
71db5c1c21
|
@ -402,7 +402,7 @@ void PADConfigDialogSimple::OnClose(wxCloseEvent& event)
|
||||||
void PADConfigDialogSimple::OnCloseClick(wxCommandEvent& event)
|
void PADConfigDialogSimple::OnCloseClick(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
SaveConfig();
|
SaveConfig();
|
||||||
Close();
|
Destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PADConfigDialogSimple::OnShow(wxShowEvent& event)
|
void PADConfigDialogSimple::OnShow(wxShowEvent& event)
|
||||||
|
|
Loading…
Reference in New Issue