Some typos and such

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-12-31 22:09:18 +00:00
parent 133a84d281
commit 83ab6406d6
3 changed files with 8 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
# The SWIG module is named dllwidget_ to avoid name clashes, so
# this stub just imports everything in it so the firendly module
# this stub just imports everything in it so the friendly module
# name can be used elsewhere.
from dllwidget_ import *

View File

@@ -132,6 +132,10 @@ class EventManager:
except AttributeError:
pass
# Some aliases for Register
Bind = Register
Subscribe = Register
def DeregisterWindow(self, win):
"""
@@ -167,8 +171,7 @@ class EventManager:
def GetStats(self):
"""
Return a dictionary with data about
my state.
Return a dictionary with data about my state.
"""
stats = {}
stats['Adapters: Message'] = reduce(lambda x,y: x+y, map(len, self.messageAdapterDict.values()))
@@ -352,7 +355,7 @@ class FakeWindow:
FakeWindow is the most important component of the
macro-info utility: it implements the Connect()
protocol of wxWindow, but instead of registering
for events, it keeps track of what parameters where
for events, it keeps track of what parameters were
passed to it.
"""
def __init__(self):

View File

@@ -248,7 +248,7 @@ class Publisher:
#
# The only flaw with this approach is that you can't derive a new
# class from Publisher without jumping through hoops. If this ever
# becomes an issue then a new Sing;eton implementaion will need to be
# becomes an issue then a new Singleton implementaion will need to be
# employed.
Publisher = Publisher()