Changeset 10575 for trunk/Padre/lib/Padre/Task.pm
- Timestamp:
- 02/07/10 03:31:29 (2 years ago)
- File:
-
- 1 edited
-
trunk/Padre/lib/Padre/Task.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Task.pm
r10574 r10575 169 169 if (not $event_hooks_initialized) { 170 170 $event_hooks_initialized = 1; 171 my $main = Padre->ide->wx ->main;171 my $main = Padre->ide->wx; 172 172 Wx::Event::EVT_COMMAND( 173 173 $main, … … 425 425 # The main-thread stdout hook 426 426 sub _on_stdout { 427 my ( $ main, $event ) = @_;427 my ( $wx, $event ) = @_; 428 428 @_ = (); # hack to avoid "Scalars leaked" 429 my $main = $wx->main; 429 430 my $out = $main->output(); 430 431 $main->show_output(1); … … 436 437 # The main-thread stderr hook 437 438 sub _on_stderr { 438 my ( $ main, $event ) = @_;439 my ( $wx, $event ) = @_; 439 440 @_ = (); # hack to avoid "Scalars leaked" 441 my $main = $wx->main; 440 442 my $out = $main->output(); 441 443 $main->show_output(1); … … 532 534 533 535 Wx::PostEvent( 534 $Padre::TaskManager::_main,536 Padre->ide->wx, 535 537 Wx::PlThreadEvent->new( -1, $eventid, $data ), 536 538 );
Note: See TracChangeset
for help on using the changeset viewer.
