# -*- coding: UTF-8 -*-
#
# generated by wxGlade
#

import wx

# begin wxGlade: dependencies
# end wxGlade

# begin wxGlade: extracode
# end wxGlade


class YPanel(wx.Panel):
    def __init__(self, *args, **kwds):
        # begin wxGlade: YPanel.__init__
        kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL
        wx.Panel.__init__(self, *args, **kwds)
        self.Layout()
        # end wxGlade

# end of class YPanel

class XPanel(wx.Panel):
    def __init__(self, *args, **kwds):
        # begin wxGlade: XPanel.__init__
        kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL
        wx.Panel.__init__(self, *args, **kwds)
        self.Layout()
        # end wxGlade

# end of class XPanel

class MyFrame(wx.Frame):
    def __init__(self, *args, **kwds):
        # begin wxGlade: MyFrame.__init__
        kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_FRAME_STYLE
        wx.Frame.__init__(self, *args, **kwds)
        self.SetSize((400, 300))
        self.SetTitle("frame")

        sizer_1 = wx.BoxSizer(wx.VERTICAL)

        self.notebook_1 = wx.Notebook(self, wx.ID_ANY)
        sizer_1.Add(self.notebook_1, 1, wx.EXPAND, 0)

        self.panel_1 = YPanel(self.notebook_1, wx.ID_ANY)
        self.notebook_1.AddPage(self.panel_1, "Panel 1")

        self.panel_2 = XPanel(self.notebook_1, wx.ID_ANY)
        self.notebook_1.AddPage(self.panel_2, "Panel 2")

        self.SetSizer(sizer_1)

        self.Layout()
        # end wxGlade

# end of class MyFrame

class MyFrame(wx.Frame):
    def __init__(self, *args, **kwds):
        # begin wxGlade: MyFrame.__init__
        kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_FRAME_STYLE
        wx.Frame.__init__(self, *args, **kwds)
        self.SetSize((400, 300))
        self.SetTitle("frame")
        self.Layout()
        # end wxGlade

# end of class MyFrame
