title: wxPython: How to get sizer from wx.StaticText?
body: <p>The widget is in one of many sizers I make, but how to get sizer of one of these widgets, for example in <code>wx.StaticText</code>. First, I though wx.StaticText have a method <code>GetSizer()</code> because it derived from <code>wx.Window</code>, but it always return <code>None</code>, is there a way?</p>
  
  <p>Sorry for my poor language.</p>
  
  <p><strong>EDIT (08/23/2012)</strong> Solution from Mike Driscoll:</p>
  
  <p>Using <code>self.sizer.GetChildren()</code> to get <code>SizerItemList</code> from some sizer, then using <code>GetWindow()</code> to get actual widget from the list</p>