Use Destroy() instead of Close() to exit from the controls

dialog.
This commit is contained in:
riccardom 2010-03-15 10:38:30 +00:00
parent c85a15078c
commit 71db5c1c21
1 changed files with 1 additions and 1 deletions

View File

@ -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)