From: <no...@so...> - 2002-05-02 00:23:17
|
Bugs item #551219, was opened at 2002-05-02 00:23 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=115655&aid=551219&group_id=15655 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: D.H. (crazyinsomniac) Assigned to: Nobody/Anonymous (nobody) Summary: Wx::Icon appears broken Initial Comment: Wx::Icon is appears broken. I do not Believe it to be a user-error. FOr example, if i have a Wx::Frame, and try to load and set an icon with the following code (which should work) ## use Wx::Icon; # $frame->{wxMorseIcon} = Wx::GetWxPerlIcon(); $frame->{wxMorseIcon} = new Wx::Icon; $frame->{wxMorseIcon}->LoadFile ('wxMorse.xbm',wxBITMAP_TYPE_XBM); $frame->SetIcon($frame->{wxMorseIcon}); nothing happens. if this is something i'm doing wrong on my part, I deeply apologize, and I request that yo delete this post ASAP, but if not, it'd be nice if you'd look into getting this working in the next release (i'd be real glad, and probably a few others too ;) I attached a sample file, with the .xbm contained after __DATA__ ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=115655&aid=551219&group_id=15655 |