Ignore:
Timestamp:
Jan 8, 2010, 4:41:15 PM (14 years ago)
Author:
ronosman
Message:

Feature 1369 added : no longer use relative path to access resource and locale directories.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/src/Uploader/GUI/wxImageListCtrl.pm

    r4588 r4632  
    4646             wxLIST_STATE_FOCUSED
    4747             wxIMAGE_LIST_SMALL
     48             wxTheApp
    4849         /;
    4950use Wx::Event qw/
     
    9091    );
    9192    $self->wx_img->Add(
    92         Wx::Bitmap->new( '../res/image.png', wxBITMAP_TYPE_PNG )   
     93        Wx::Bitmap->new( wxTheApp->resource_path('image.png'), wxBITMAP_TYPE_PNG )   
    9394    );
    9495
Note: See TracChangeset for help on using the changeset viewer.