]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
and now fixed USE_CONTEXT_MENU definition as well
[wxWidgets.git] / wxPython / demo / Main.py
index ddce684930aff53bd51217c77d3c89dd07b90ad6..e04c32b2315db1848cedc877dae141cbe580af5c 100644 (file)
@@ -464,8 +464,8 @@ class wxPythonDemo(wx.Frame):
         self.Centre(wx.BOTH)
         self.CreateStatusBar(1, wx.ST_SIZEGRIP)
 
-        splitter = wx.SplitterWindow(self, -1)
-        splitter2 = wx.SplitterWindow(splitter, -1) ##, size=(20,20))
+        splitter = wx.SplitterWindow(self, -1, style=wx.CLIP_CHILDREN)
+        splitter2 = wx.SplitterWindow(splitter, -1, style=wx.CLIP_CHILDREN)
 
         # Set up a log on the View Log Notebook page
         self.log = wx.TextCtrl(splitter2, -1,