Changeset 5637


Ignore:
Timestamp:
06/26/09 21:30:48 (3 years ago)
Author:
submersible_toaster
Message:

cast_to_icon back as standalone function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Wx/Icon.pm

    r5636 r5637  
    100100} 
    101101 
     102# Some things like Wx::AboutDialogInfo want a _real_ Wx::Icon 
     103sub cast_to_icon{ 
     104    my $icon = Wx::Icon->new; 
     105    $icon->CopyFromBitmap( shift ); 
     106    return $icon; 
     107} 
     108 
    1021091; 
    103110 
Note: See TracChangeset for help on using the changeset viewer.