Free memory after closing the preview and the setting windows

This commit is contained in:
Alessandro Ranellucci 2013-11-12 21:49:34 +01:00
parent 2c416cc4ac
commit 4be1e5702a
3 changed files with 8 additions and 5 deletions

View file

@ -29,6 +29,7 @@ sub new {
$self->{materials}->Closing;
$self->EndModal(wxID_OK);
$self->Destroy;
});
my $sizer = Wx::BoxSizer->new(wxVERTICAL);