develooper Front page | perl.wxperl.users | Postings from March 2013

Re: SetTextColor on Wx::MenuItem?

Thread Previous
From:
Dave Hayes
Date:
March 1, 2013 04:27
Subject:
Re: SetTextColor on Wx::MenuItem?
Message ID:
51302E45.1070509@jetcafe.org
On 02/27/13 16:23, Mark Dootson wrote:
> Are you on Windows? SetTextColour is only available on wxMSW.

I thought GTK too, but I guess not.

> Assuming the code below is not a direct copy paste, are you sure you're
> using
>
> SetTextColour
>
> and not
>
> SetTextColor

Yes. That spelling has bitten me before so I check for it now. ;)

So this leads to the next question. If I want to put a menu heading in 
my popup menu that is not selectable but does not display in greyed out 
text, how do I do this?
-- 
Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org
>>>> *The opinions expressed above are entirely my own* <<<<

The difference between a moral man and a man of honor is
that the latter regrets a discreditable act, even when it
has worked and he has not been caught.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About