"Gabor Szabo" <[EMAIL PROTECTED]> writes:

> I have code like this:
> 
>  my $bar  = Wx::MenuBar->new;
>  my $file = Wx::Menu->new;
>  EVT_MENU(  $self, $file->Append( wxID_OPEN,   "&Open"       ), \&on_open    
> );

You can leave out "&Open" (make it an empty string) and Wx will choose
the right icon, text and shortcut. And translate it into the target
language as a bonus.

  EVT_MENU(  $self, $file->Append( wxID_OPEN, "" ), \&On_open );

BTW: Did you use wxGlade?

-- Johan

Reply via email to