From: Michele B. <mb...@io...> - 2002-01-29 23:00:23
|
Hello! > > my $dialog = Wx::MessageDialog($this, 'message', 'Exiting Worms GUI', > > wxOK | wxCANCEL, wxDefaultPosition); > my $dialog = Wx::MessageDialog->new( .... ); > ^^^^^ Er, of course, I actually wrote the previous email to correct THAT, but then I just did a cut&paste of the previous code forgetting to add the "->new". :-( > > I tried myself the code and, oddly enough, it only works under MSl Windoze. > I'm really surprised it works at all... Ok, with the proper syntax it only works under Windows and still dies with a segmentation fault (error described in previous email) under GNU/Linux. Quite odd. Michele. -- Michele Beltrame http://www.italpro.net/mb/ ICQ# 76660101 - e-mail: mb...@it... |