|
From: Dave R. <dav...@ma...> - 2002-06-19 17:56:05
|
> However, when I call
>
> Wx::Frame->SetStatusText("Success", 1);
>
> from the subroutine, the app dies. No errors, warnings, or anything.
> What
> am I doing wrong?
you should probably get a reference to the statusbar and work with that.
assuming $frame is your reference to the application frame:
my $sb = $frame->GetStatusBar();
> Also, is there a way to format the font color for the text in the status
> bar? For example, I want success messages to be in blue, and errors in
> red.
never tried, but $sb->SetForegroundColour(new Wx::Colour('Red')) might
work.
/dave
|