Add note to some module docstrings about importing before creating wx.App

This commit is contained in:
Robin Dunn
2016-07-13 12:23:04 -07:00
parent a1083594be
commit db8957f995
3 changed files with 9 additions and 1 deletions

View File

@@ -19,6 +19,10 @@ renderer. It supports only a subset of the HTML standards, and no Javascript
or CSS, but it is relatively lightweight and has no platform dependencies. It
is suitable for displaying simple HTML documents, such as the application's
documentation or built-in help pages.
.. note:: Due to some internal dynamic initialization in wxWidgets, this
module should be imported **before** the :class:`wx.App` object is
created.
"""
# The classes and/or the basename of the Doxygen XML files to be processed by

View File

@@ -18,6 +18,10 @@ The :class:`RichTextCtrl` is a generic, ground-up implementation of a rich
text control capable of showing multiple text styles and images. This module
contains the control and many supporting classes needed for using the features
of the :class:`RichTextCtrl`.
.. note:: Due to some internal dynamic initialization in wxWidgets, this
module should be imported **before** the :class:`wx.App` object is
created.
"""
# The classes and/or the basename of the Doxygen XML files to be processed by