using splitterWindow to splitt a frame

Hi,

is it possible to use SplitterWindow to split a frame into two? I am asking this because I have problem doing this. In the attached code if I use wx.SplitterWindow(self) instead of wx.SplitterWindow(self.panel) it looks fine, otherwise it get ugly.

Thanks,

Mohsen

test.py (1.95 KB)

Got this from DevPlayer. Hope this helps.

twowaysplitter.py (1.18 KB)

ยทยทยท

On Friday, November 15, 2013 10:34:20 AM UTC-6, mohsen jadidi wrote:

Hi,

is it possible to use SplitterWindow to split a frame into two? I am asking this because I have problem doing this. In the attached code if I use wx.SplitterWindow(self) instead of wx.SplitterWindow(self.panel) it looks fine, otherwise it get ugly.

Thanks,

Mohsen