X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7403ad2d154a8e2974fdc5fc215258f3a75cdde..609b563c8b9ade4fcde9160f11c7deaf16a9f7b6:/wxPython/wx/lib/multisash.py diff --git a/wxPython/wx/lib/multisash.py b/wxPython/wx/lib/multisash.py index f984175997..34ed2599a4 100644 --- a/wxPython/wx/lib/multisash.py +++ b/wxPython/wx/lib/multisash.py @@ -16,7 +16,7 @@ # 12/20/2003 - Jeff Grimmett (grimmtooth@softhome.net) # # o wxMultiSash -> MultiSash -# o wxMultiSplit -> MultiSplit wxMultiViewLeaf +# o wxMultiSplit -> MultiSplit # o wxMultiViewLeaf -> MultiViewLeaf # @@ -302,6 +302,9 @@ class MultiViewLeaf(wx.Window): self.Bind(wx.EVT_SIZE,self.OnSize) + self.SetBackgroundColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_3DFACE)) + + def GetSaveData(self): saveData = {} saveData['detailClass'] = str(self.detail.child.__class__) @@ -450,6 +453,9 @@ class MultiSizer(wx.Window): self.Bind(wx.EVT_LEFT_DOWN,self.OnPress) self.Bind(wx.EVT_LEFT_UP,self.OnRelease) + self.SetBackgroundColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_3DFACE)) + + def CalcSizePos(self,parent): pw,ph = parent.GetSize() if self.side == MV_HOR: