Hi, Are you on Windows? SetTextColour is only available on wxMSW. Assuming the code below is not a direct copy paste, are you sure you're using SetTextColour and not SetTextColor Regards Mark On 27/02/2013 23:15, Dave Hayes wrote: > This is odd... > > $ perl > use Wx qw(:everything); > my $menuitem = Wx::MenuItem->new($menu, Wx::NewId(), '', '', > wxITEM_SEPARATOR); > $menuitem->SetTextColour(); > Can't locate object method "SetTextColour" via package "Wx::MenuItem" > at - line 3. > > I see this function in the XS file so...I'm curious why this doesn't work?Thread Previous | Thread Next