title: wx.Panel scales to fit entire parent Frame despite giving it a size
body: <p>I am a newbie to <code>wxpython</code>.
  I am trying to have a Frame and within that a small panel area which I am coloring blue.
  However no matter what I do the wx.Panel using the size attribute, the single panel snaps to the size of its parent frame.
  If I add another panel (pane2 in code below) both panes are drawn in the correct size.</p>
  
  <p>I know I can control these panels using sizers. But I was trying to understand why the <code>wx.Panel</code> bject behaves the way it does when it's all alone.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>import wx
  
      class PlateGui(wx.Frame):
  
      def __init__(self, *args , **kwds):
          self.frame = wx.Frame.__init__(self,*args, **kwds)
          print "Made frame"
  
  
  if __name__ == "__main__":
      an_app = wx.PySimpleApp()
      aframe = PlateGui(parent=None,id=-1,title="Test Frame",size=(300, 300))
      pane = wx.Panel(parent=aframe,size=(100,100),style=wx.RAISED_BORDER)
      pane.SetBackgroundColour(wx.Colour(0,0,255))
   #  pane2 = wx.Panel(parent=aframe,size=(200,100),style=wx.RAISED_BORDER)
   # Commenting out the second pane makes the first pane fit 
   # entire frame regardless of size specified  
      aframe.Show()
      an_app.MainLoop()
  </code></pre>