AUI MANAGER

Hi All.
i am very new to the python programming.

i am using wx.aui.
and my code is

import wx
import wx.aui
class MyFrame(wx.Frame):

    def __init__(self, parent, id=-1, title="AUI Test",
pos=wx.DefaultPosition,
                 size=(800, 600), style=wx.DEFAULT_FRAME_STYLE):

        wx.Frame.__init__(self, parent, id, title, pos, size, style)
        height = wx.SystemSettings.GetMetric(getattr(wx,
'SYS_SCREEN_Y'))
        self._mgr = wx.aui.AuiManager()

        # notify AUI which frame to use
        self._mgr.SetManagedWindow(self)
        auiPaneInfo = wx.aui.AuiPaneInfo()

        # create several text controls
        text1 = wx.TextCtrl(self, -1, "Pane 1 - sample text",
                            wx.DefaultPosition, wx.Size(200,150),
                            wx.NO_BORDER | wx.TE_MULTILINE)

        text2 = wx.TextCtrl(self, -1, "Pane 2 - sample text",
                            wx.DefaultPosition, wx.Size(200,150),
                            wx.NO_BORDER | wx.TE_MULTILINE)

        text3 = wx.TextCtrl(self, -1, "Main content window",
                            wx.DefaultPosition, wx.Size(200,150),
                            wx.NO_BORDER | wx.TE_MULTILINE)

        # add the panes to the manager

        self._mgr.AddPane(text1, auiPaneInfo.Left().Caption("Pane
Number One"))

        self._mgr.AddPane(text2, auiPaneInfo.Bottom().Caption("Pane
Number Two").MinSize(wx.Size(100,200)))

        self._mgr.AddPane(text3, auiPaneInfo.CenterPane())

        # tell the manager to "commit" all the changes just made
        self._mgr.Update()

        self.Bind(wx.EVT_CLOSE, self.OnClose)

    def OnClose(self, event):

        # deinitialize the frame manager
        self._mgr.UnInit()

        self.Destroy()
        event.Skip()

# our normal wxApp-derived class, as usual

app = wx.PySimpleApp()

frame = MyFrame(None)
app.SetTopWindow(frame)
frame.Show()

app.MainLoop()

and attached one is the output for this programme.

my problem is when i drag the bottom pane sash towards the bottom it
has restriction with minsize()method

as "self._mgr.AddPane(text2, auiPaneInfo.Bottom().Caption("Pane Number
Two").MinSize(wx.Size(100,200)))"

where as when i put maxsize(),it is not caring.i mean i am not able to
restrict it towards the top side.

why??

can any body help me please?

Thanks