[newbie]StaticBox resize -> core dump
Tomasz Sienkiewicz
azgaard at poczta.onet.pl
Tue Aug 29 09:26:10 PDT 2006
On Tue, 29 Aug 2006 17:31:35 +0200, Robin Dunn <robin at alldunn.com> wrote:
> Tomasz Sienkiewicz wrote:
>
>> if I leave this -> StaticBox -> SetSize( this-> Panel
>> ->GetSize().GetWidth - 100 ,
>
> This is ok.
>
>> this-StaticBox->GetSize().GetHeight())
>
> But here you have just a "-" instead of "->", so you are subtracting
> your StaticBox pointer from your this pointer...
>
hmm it was snippet not copy paste from a source so consider it as typo, i
have -> there ;)
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
More information about the wx-users
mailing list