Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -209,6 +209,7 @@ _treeList = [
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Show how to derive a custom wxLog class
|
||||
|
||||
class MyLog(wx.PyLog):
|
||||
def __init__(self, textCtrl, logTime=0):
|
||||
@@ -232,6 +233,7 @@ class MyTP(wx.PyTipProvider):
|
||||
# A class to be used to display source code in the demo. Try using the
|
||||
# wxSTC in the wxStyledTextCtrl_2 sample first, fall back to wxTextCtrl
|
||||
# if there is an error, such as the stc module not being present.
|
||||
#
|
||||
|
||||
try:
|
||||
##raise ImportError
|
||||
|
Reference in New Issue
Block a user