From 17e96cbccf7ea9b84c591ed56d49b28ec32afd9a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 7 Feb 2014 03:05:04 +0000 Subject: [PATCH] Add SashInvisible property git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- etg/splitter.py | 3 +++ unittests/test_splitter.py | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/etg/splitter.py b/etg/splitter.py index 6bcf797a..18666edc 100644 --- a/etg/splitter.py +++ b/etg/splitter.py @@ -44,6 +44,9 @@ def run(): c.find('OnDoubleClickSash').ignore() c.find('OnSashPositionChange').ignore() c.find('OnUnsplit').ignore() + + c.addAutoProperties() + c.addProperty('SashInvisible', 'IsSashInvisible', 'SetSashInvisible') c = module.find('wxSplitterEvent') diff --git a/unittests/test_splitter.py b/unittests/test_splitter.py index f782ab29..4bd0f7aa 100644 --- a/unittests/test_splitter.py +++ b/unittests/test_splitter.py @@ -19,7 +19,12 @@ class splitter_Tests(wtc.WidgetTestCase): sw.SetMinimumPaneSize(25) sw.SetSashPosition(150) sw.SetSashGravity(0.75) + + + def test_splitterProperties(self): + sw = wx.SplitterWindow(self.frame) + # just checks if they exist sw.MinimumPaneSize sw.SashGravity sw.SashPosition @@ -27,6 +32,7 @@ class splitter_Tests(wtc.WidgetTestCase): sw.SplitMode sw.Window1 sw.Window2 + sw.SashInvisible def test_splitterFlags(self):