Larry and I have been hand coding our forms.  The process goes something like:

add a panel
add a sizer 
hand code some controls
run and review the results.

continue until you have the form UI complete.

But recently we have been running the forms and upon closing the form we get a 
segment fault.  Well both Larry and I discovered that during our cut and 
paste sessions we did not clean up the code completely.  In the code below we 
created a dabo horizontal sizer (hs) and added it to another dabo vertical 
sizer (self.Sizer) without putting anything in the first sizer (hs).  


self.Sizer.append(lineGrd)
hs = dabo.ui.dSizer("h")
self.Sizer.append(hs,'x')  #this is was causing the seg fault.

Just removing the last line stopped the segment faults.

Of course adding an empty sizer to another sizer did nothing for our forms but 
it caused some issue with python or wxPython.

I hope this helps someone.


-- 
John Fabiani


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to