Cleanup up the demo a bit

Added wxWave

Added another patch for SWIG that optimizes the generated code some
and eliminates some unused type mappings in the type registry.
(Reduces it by about half!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-05-18 21:59:59 +00:00
parent c20a12bd55
commit 493f1553fd
73 changed files with 3330 additions and 14483 deletions

View File

@@ -655,17 +655,9 @@ class wxTimer(wxPyTimer):
self.SetOwner(evtHandler, id)
#----------------------------------------------------------------------
# Some wxWin methods can take "NULL" as parameters, but the shadow classes
# expect an object with the SWIG pointer as a 'this' member. This class
# and instance fools the shadow into passing the NULL pointer.
## NOTE: This is not needed anymore as None can be passed instead and
# will be interpreted as NULL.
class _NullObj:
this = 'NULL' # SWIG converts this to (void*)0
NULL = _NullObj()
NULL = None # For backwards compatibility only. You should really be
# using None now.
#----------------------------------------------------------------------