[newbie]StaticBox resize -> core dump

Robin Dunn robin at alldunn.com
Tue Aug 29 08:31:35 PDT 2006


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...

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-users mailing list