- win = wxSashLayoutWindow(self, self.ID_WINDOW_TOP, wxDefaultPosition,
- wxSize(200, 30), wxNO_BORDER|wxSW_3D)
- win.SetDefaultSize(wxSize(1000, 30))
- win.SetOrientation(wxLAYOUT_HORIZONTAL)
- win.SetAlignment(wxLAYOUT_TOP)
- win.SetBackgroundColour(wxColour(255, 0, 0))
- win.SetSashVisible(wxSASH_BOTTOM, True)
+ win = wx.SashLayoutWindow(
+ self, self.ID_WINDOW_TOP, wx.DefaultPosition, (200, 30),
+ wx.NO_BORDER|wx.SW_3D
+ )
+
+ win.SetDefaultSize((1000, 30))
+ win.SetOrientation(wx.LAYOUT_HORIZONTAL)
+ win.SetAlignment(wx.LAYOUT_TOP)
+ win.SetBackgroundColour(wx.Colour(255, 0, 0))
+ win.SetSashVisible(wx.SASH_BOTTOM, True)