title: Equivalent for SWT's .pack() in wxPython?
body: <p>In wxPython, is there a short form of:</p>
  
  <pre><code>size = object.GetBestSize()
  object.SetSize(size)
  </code></pre>
  
  <p>(For controls or for frames and dialogs.) <code>.Layout()</code> only adjusts the sizes of the child controls.</p>
  
  <p>In <a href="http://www.eclipse.org/swt/" rel="nofollow">SWT</a> there's <code>.pack()</code> for this.</p>