It *has* to work with values in the second parameter. I just took
another look and I figured the right way to do make my code work:

my $toolbar = $self->CreateToolBar(wxTB_HORIZONTAL|wxTB_TEXT|wxTB_NOICONS);

I might switch to bitmap icons later, but I wanted to get a basic
toolbar working first.


On Wed, Aug 4, 2010 at 12:34 AM, herbert breunung <deirdre_s...@web.de> wrote:
> because it dont work on values in second parameter.
> chenge "saved" with "" and put a rel bitmap in next parameter, nullmitmap 
> comes after that.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Daniel Carrera <dcarr...@gmail.com>
> Gesendet: 4-ago-2010 0.03.20
> An: herbert breunung <deirdre_s...@web.de>
> Betreff: Re: ToolBar help
>
>>Hi Herbert,
>>
>>On Tue, Aug 3, 2010 at 11:47 PM, herbert breunung wrote:
>>> after anz change zou have to $bar->Realize;
>>
>>Doesn't seem to work:
>>
>>my $toolbar = $myFrame->CreateToolBar();
>>$toolbar->AddTool(wxID_SAVE, "Save", wxNullBitmap);
>>$toolbar->Realize();
>>
>>:-(
>>
>>Daniel.
>>--
>>Intolerant people should be shot.
> ___________________________________________________________
> Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
> Jetzt De-Mail-Adresse reservieren: https://produkte.web.de/go/demail02
>



-- 
Intolerant people should be shot.

Reply via email to