Set the version number to 4.0.0 and update comments and other text about not keeping in sync with wxWidgets version anymore.

This commit is contained in:
Robin Dunn
2017-04-07 12:24:36 -07:00
parent 9754a8e15a
commit f4e2104adc
4 changed files with 29 additions and 25 deletions

View File

@@ -1,13 +1,10 @@
import sys as _sys
# Load version numbers from __version__... Ensure that major and minor
# versions are the same for both wxPython and wxWidgets.
# Load version numbers from __version__ and some other initialization tasks...
if 'wxEVT_NULL' in dir():
from wx.__version__ import *
import wx._core
__version__ = VERSION_STRING
assert MAJOR_VERSION == wx._core.MAJOR_VERSION, "wxPython/wxWidgets version mismatch"
assert MINOR_VERSION == wx._core.MINOR_VERSION, "wxPython/wxWidgets version mismatch"
# Register a function to be called when Python terminates that will clean
# up and release all system resources that wxWidgets allocated.