]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/About.py
Updated build files.
[wxWidgets.git] / wxPython / demo / About.py
index b457bef92ee5418b53a51b718edf6ac3fb02b5aa..db49ecad94bff5cdc29f8cf2bd652ddcd5ebe93f 100644 (file)
@@ -50,10 +50,11 @@ demo item so you can learn how to use the classes yourself.</p>
         if "gtk2" in wx.PlatformInfo:
             html.SetStandardFonts()
         py_version = sys.version.split()[0]
-        html.SetPage(self.text % (wx.VERSION_STRING,
-                                  ", ".join(wx.PlatformInfo[1:]),
-                                  py_version
-                                  ))
+        txt = self.text % (wx.VERSION_STRING,
+                           ", ".join(wx.PlatformInfo[1:]),
+                           py_version
+                           )
+        html.SetPage(txt)
         btn = html.FindWindowById(wx.ID_OK)
         ir = html.GetInternalRepresentation()
         html.SetSize( (ir.GetWidth()+25, ir.GetHeight()+25) )