]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/__init__.py
test for special keys first, before testing for alphanumeric ones as even keys such...
[wxWidgets.git] / wxPython / src / __init__.py
CommitLineData
7bf85405
RD
1#----------------------------------------------------------------------------
2# Name: __init__.py
b8b8dda7
RD
3# Purpose: The presence of this file turns this directory into a
4# Python package.
7bf85405
RD
5#
6# Author: Robin Dunn
7#
d14a1e28 8# Created: 8-Aug-1998
7bf85405
RD
9# RCS-ID: $Id$
10# Copyright: (c) 1998 by Total Control Software
11# Licence: wxWindows license
12#----------------------------------------------------------------------------
13
2f90df85 14import __version__
d14a1e28 15__version__ = __version__.VERSION_STRING
2f90df85
RD
16
17
54f9ee45
RD
18__all__ = [
19 # Sub-packages
20 'build',
21 'lib',
22 'py',
23 'tools',
24
25 # other modules
894699b6 26 'animate',
febb39df 27 'aui',
54f9ee45 28 'calendar',
894699b6 29 'combo',
54f9ee45
RD
30 'grid',
31 'html',
ac5abdd6 32 'media',
febb39df 33 'richtext',
ac5abdd6 34 'webkit',
99109c0f 35 'wizard',
ac5abdd6 36 'xrc',
99109c0f
RD
37
38 # contribs (need a better way to find these...)
99109c0f
RD
39 'gizmos',
40 'glcanvas',
99109c0f 41 'stc',
54f9ee45 42 ]
d14a1e28 43
54f9ee45
RD
44# Load the package namespace with the core classes and such
45from wx._core import *
d14a1e28 46del wx
b26e2dc4 47
4701b681
RD
48if 'wxMSW' in PlatformInfo:
49 __all__ += ['activex']
50
54f9ee45
RD
51# Load up __all__ with all the names of items that should appear to be
52# defined in this pacakge so epydoc will document them that way.
53import wx._core
99109c0f 54__docfilter__ = wx._core.__DocFilter(globals())
54f9ee45 55
6aaca5ba 56__all__ += [name for name in dir(wx._core) if not name.startswith('_')]
54f9ee45
RD
57
58
59
7bf85405 60#----------------------------------------------------------------------------
bb0054cd 61