X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fea018f8019cdbb6f3150de91d23b83c10a178b3..72594e90b2da8c167ba63b89b2c168c57a19cab4:/wxPython/demo/Main.py diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 5eebb35137..aa32a418d0 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -119,7 +119,7 @@ class wxPythonDemo(wxFrame): EVT_ERASE_BACKGROUND(splitter, EmptyHandler) EVT_ERASE_BACKGROUND(splitter2, EmptyHandler) - # Prevent TreeCtrl from displaying all items after destruction + # Prevent TreeCtrl from displaying all items after destruction when true self.dying = false # Make a File menu @@ -210,7 +210,6 @@ class wxPythonDemo(wxFrame): # Set up a TextCtrl on the Demo Code Notebook page self.txt = wxTextCtrl(self.nb, -1, style = wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL) - self.txt.SetFont(wxFont(9, wxMODERN, wxNORMAL, wxNORMAL, false)) self.nb.AddPage(self.txt, "Demo Code")