]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
info about removal of wxhtml.rc
[wxWidgets.git] / wxPython / demo / Main.py
index 4f4a52a1ec6c12f058466e453ce81e9f6900f099..a741bc01ffa0c5272f500908fb784a409ae3164b 100644 (file)
@@ -25,6 +25,7 @@ _treeList = [
                                 'wxImageFromStream',
                                 'RowColSizer',
                                 'Unicode',
+                                'wxFileHistory',
                                 ]),
 
     ('Windows', ['wxFrame', 'wxDialog', 'wxMiniFrame',
@@ -64,7 +65,7 @@ _treeList = [
                         'ActiveXWrapper_Acrobat', 'ActiveXWrapper_IE',
                         'wxDragImage', "wxProcess", "FancyText", "OOR", "wxWave",
                         'wxJoystick', 'DrawXXXList', 'ErrorDialogs', 'wxMimeTypesManager',
-                        'ContextHelp', 'SplitTree', 'Unicode',
+                        'ContextHelp', 'SplitTree', 'Unicode', 'wxFileHistory',
                         ]),
 
     ('wxPython Library', ['Layoutf', 'wxScrolledMessageDialog',
@@ -245,8 +246,11 @@ class wxPythonDemo(wxFrame):
         # Set up a log on the View Log Notebook page
         self.log = wxTextCtrl(splitter2, -1,
                               style = wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL)
+
         # Set the wxWindows log target to be this textctrl
         #wxLog_SetActiveTarget(wxLogTextCtrl(self.log))
+
+        # But instead of the above we want to show how to use our own wxLog class
         wxLog_SetActiveTarget(MyLog(self.log))