X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b26e2dc41d9f5b387897a6cc6fba58d6957fd5cd..85bc0351f76f6d3f00460a167fc108b900e0725c:/utils/wxPython/src/__init__.py diff --git a/utils/wxPython/src/__init__.py b/utils/wxPython/src/__init__.py index c4dd7e571a..888f664d07 100644 --- a/utils/wxPython/src/__init__.py +++ b/utils/wxPython/src/__init__.py @@ -1,9 +1,7 @@ #---------------------------------------------------------------------------- # Name: __init__.py -# Purpose: The presence of this file turs this directory into a -# Python package. For simplicity, we import all of the -# wxPython package at this point, so users only need to -# import the package. +# Purpose: The presence of this file turns this directory into a +# Python package. # # Author: Robin Dunn # @@ -13,18 +11,14 @@ # Licence: wxWindows license #---------------------------------------------------------------------------- -from wxp import * +import __version__ +__version__ = __version__.ver -import wxp -__version__ = wxp.__version__ + +# Ensure the main extension module is loaded, in case the add-on modules +# (such as utils,) are used standalone. +import wxc +wxc.__version__ = __version__ #---------------------------------------------------------------------------- -# -# $Log$ -# Revision 1.2 1998/10/07 07:34:32 RD -# Version 0.4.1 for wxGTK -# -# Revision 1.1 1998/08/09 08:25:49 RD -# Initial version -# -# +