in reply to Re^2: Wx::ProgressDialog, please help
in thread Wx::ProgressDialog, please help
BTW - for posterity, I have WXMSW-2.5.2, Wx-0.20 .package crap; use strict; use warnings; use Wx qw[ wxPD_CAN_ABORT wxPD_APP_MODAL wxPD_ELAPSED_TIME wxPD_EST +IMATED_TIME wxPD_REMAINING_TIME ]; use base qw(Wx::ProgressDialog); sub new { my $class = shift; my $max = shift || 10; my $vars = (wxPD_CAN_ABORT| wxPD_APP_MODAL|wxPD_ELAPSED_TIME| wx +PD_ESTIMATED_TIME| wxPD_REMAINING_TIME); my $this = $class->SUPER::new("xp6 progres ($max)", "the progres +s ($max)", $max, undef, $vars); $this->Show(1); return $this; } my $c = crap->new(); for(0 .. 10){ $c->Update($_,"the progress ($_/10)",); select undef,undef,undef,0.3; }
It could be a wxGtk bug, you should ask on the wxper-users list.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Wx::ProgressDialog, please help
by jettero (Monsignor) on Jul 27, 2004 at 13:26 UTC | |
by PodMaster (Abbot) on Jul 27, 2004 at 13:41 UTC | |
by jettero (Monsignor) on Jul 27, 2004 at 14:05 UTC | |
by jettero (Monsignor) on Jul 27, 2004 at 13:49 UTC | |
by jettero (Monsignor) on Jul 27, 2004 at 13:53 UTC | |
by PodMaster (Abbot) on Jul 27, 2004 at 14:42 UTC | |
|