Given:

my $title = "Foo & Bar";
my $widget = Wx::StaticText->new($pn, -1, $title,
                                  wxDefaultPosition, wxDefaultSize,
                                  wxALIGN_CENTER,
                                 );

Apparently, an & has a special meaning when used as $title in a
Wx::StaticText. According to the docs I need to escape & by substituting
&&.

This works on Windows, but on Linux I seem to need &&&& to get a single
&.

Is that correct or am I overlooking something?

-- Johan

Reply via email to