Skip to content

Commit

Permalink
Removed call to deprecated SplitterWindow.SetSashSize(). Fixes issue m…
Browse files Browse the repository at this point in the history
  • Loading branch information
joesavage-silabs committed May 19, 2020
1 parent 8624fe6 commit 836bea0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion runsnakerun/runsnake.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,11 @@ def CreateControls(self, config_parser):
self.tabs.AddPage(self.allCallerListControl, _('All Callers'), False)
if editor:
self.tabs.AddPage(self.sourceCodeControl, _('Source Code'), False)
self.rightSplitter.SetSashSize(10)

# SetSashSize has been removed since it didn't work correctly
# per https://github.com/wxWidgets/wxWidgets/commit/26696222ffb75ac8531207cf356a52b033c48d9e
#self.rightSplitter.SetSashSize(10)

# calculate size as proportional value for initial display...
self.LoadState(config_parser)
width, height = self.GetSize()
Expand Down

0 comments on commit 836bea0

Please sign in to comment.