@@ -25,15 +25,15 @@ def OnCreateClient(self, cp, context):
2525 splitter .CreateView (browserView , 0 , 0 , (0 , 0 ))
2626 sub_splitter .CreateView (view2 , 0 , 0 , (0 , 0 ))
2727
28- ## print "First view is", context.doc.GetFirstView()
29- ## print "Views are", view, view2, browserView
30- ## print "Parents are", view.GetParent(), view2.GetParent(), browserView.GetParent()
31- ## print "Splitter is", splitter
32- ## print "sub splitter is", sub_splitter
33- ## Old
34- ## splitter.CreateStatic (self, 1, 2)
35- ## splitter.CreateView(view, 0, 1, (0,0)) # size ignored.
36- ## splitter.CreateView (browserView, 0, 0, (0, 0))
28+ # print( "First view is", context.doc.GetFirstView() )
29+ # print( "Views are", view, view2, browserView)
30+ # print( "Parents are", view.GetParent(), view2.GetParent(), browserView.GetParent() )
31+ # print( "Splitter is", splitter)
32+ # print( "sub splitter is", sub_splitter)
33+ # Old
34+ # splitter.CreateStatic (self, 1, 2)
35+ # splitter.CreateView(view, 0, 1, (0,0)) # size ignored.
36+ # splitter.CreateView (browserView, 0, 0, (0, 0))
3737
3838 # Restrict the size of the browser splitter (and we can avoid filling
3939 # it until it is shown)
@@ -62,8 +62,8 @@ def GetBrowserView(self):
6262 def OnClose (self ):
6363 doc = self .GetActiveDocument ()
6464 if not doc .SaveModified ():
65- ## Cancel button selected from Save dialog, do not actually close
66- ## print ' close cancelled'
65+ # Cancel button selected from Save dialog, do not actually close
66+ # print(" close cancelled")
6767 return 0
6868 ## So the 'Save' dialog doesn't come up twice
6969 doc ._obj_ .SetModifiedFlag (False )
0 commit comments