allow to be imported independently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -158,7 +158,7 @@ WXDLLVER = '%d%d' % (VER_MAJOR, VER_MINOR)
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
def msg(text):
|
||||
if sys.setup_is_main:
|
||||
if hasattr(sys, 'setup_is_main') and sys.setup_is_main:
|
||||
print text
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user