from wxPython.help import *
 
 #----------------------------------------------------------------------
-# We first have to set an application wide help provider.  Normally you
+# We first have to set an application-wide help provider.  Normally you
 # would do this in your app's OnInit or in other startup code...
 
 provider = wxSimpleHelpProvider()
         border = wxBoxSizer(wxVERTICAL)
         border.Add(sizer, 0, wxALL, 25)
 
-        self.SetAutoLayout(true)
+        self.SetAutoLayout(True)
         self.SetSizer(border)
         self.Layout()
 
 
 
     def OnCtxHelp2(self, evt):
-         self.log.write("OnCtxHelp: %s" % evt)
+         self.log.write("OnCtxHelp: %s\n" % evt)
          tip = wxTipWindow(self, "This is a wxTipWindow")