On Fri, Aug 1, 2008 at 12:41 AM, Mark Dootson <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Try using Wx::Colour objects for background, foreground params.

That worked.
Thanks

Gabor

>
> Mark
>
> Gabor Szabo wrote:
>>
>> I am probably too tired but I don't understand what can be the problem:
>>
>> $page is a Wx::StyledTextCtrl object
>>
>> this line works:
>>
>>    $page->MarkerAdd($line_number-1, 0);
>>
>> though I don't see any visible change on the margin.
>>
>> This line
>>    $page->MarkerDefine(0, wxSTC_MARK_ARROW, "#000000", "#FFFFFF");
>>
>> give me
>> "the invocant must be a reference at lib/Padre/Frame.pm line 659."
>> exception.
>>
>> Wx version 0.84
>> wxWidgets 2.8.7
>> Perl 5.8.8
>> Ubuntu 8.04
>>
>> So what's the problem?
>>
>> Gabor

Reply via email to