]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/ErrorDialogs.py
Moved config.py to the root because if wxPython hasn't been built yet
[wxWidgets.git] / wxPython / wx / lib / ErrorDialogs.py
index 5be4ea7119fff4a7536dc9d802675bea50455267..bff5bb01734606e7658a2c69472bf213923fecb2 100644 (file)
@@ -142,6 +142,23 @@ FOR INTERNATIONAL [NON-ENGLISH-SPEAKING] USE:
 
 """
 
+
+#----------------------------------------------------------------------
+import warnings
+
+warningmsg = r"""\
+
+##############################################################\
+# THIS MODULE IS DEPRECATED                                   |
+##############################################################/
+
+"""
+
+warnings.warn(warningmsg, DeprecationWarning, stacklevel=2)
+
+#----------------------------------------------------------------------
+
+
 _debug = 0
 #_debug = 1 # uncomment to display some information (to stdout)
 Version = 1.3