]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ContextHelp.py
Removed deprecation warnings in OGL and Gizmos
[wxWidgets.git] / wxPython / demo / ContextHelp.py
index 6985790b696160615a4d789e9c232454e8c14063..c115f22c443495c7ac741ba910a308070d9a7756 100644 (file)
@@ -3,7 +3,7 @@ from wxPython.wx import *
 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()
@@ -53,7 +53,7 @@ class TestPanel(wxPanel):
         border = wxBoxSizer(wxVERTICAL)
         border.Add(sizer, 0, wxALL, 25)
 
-        self.SetAutoLayout(true)
+        self.SetAutoLayout(True)
         self.SetSizer(border)
         self.Layout()
 
@@ -64,7 +64,7 @@ class TestPanel(wxPanel):
 
 
     def OnCtxHelp2(self, evt):
-         self.log.write("OnCtxHelp: %s" % evt)
+         self.log.write("OnCtxHelp: %s\n" % evt)
          tip = wxTipWindow(self, "This is a wxTipWindow")