On Wed, Jul 16, 2008 at 1:40 PM, Johan Vromans <[EMAIL PROTECTED]> wrote:
> "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 );

that works!

> BTW: Did you use wxGlade?

no, I hand-write it

thanks
   Gabor

Reply via email to