fix 'instance' typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -662,7 +662,7 @@ false otherwise (if it was).", "");
|
||||
DocStr(wxScrollEvent,
|
||||
"A scroll event holds information about events sent from stand-alone
|
||||
scrollbars and sliders. Note that scrolled windows do not send
|
||||
instnaces of this event class, but send the `wx.ScrollWinEvent`
|
||||
instances of this event class, but send the `wx.ScrollWinEvent`
|
||||
instead.", "
|
||||
|
||||
Events
|
||||
|
@@ -731,7 +731,7 @@ the item to be found.", "");
|
||||
"""
|
||||
if isinstance(olditem, wx.Window):
|
||||
return self._ReplaceWin(olditem, item, recursive)
|
||||
elif isinstnace(olditem, wx.Sizer):
|
||||
elif isinstance(olditem, wx.Sizer):
|
||||
return self._ReplaceSizer(olditem, item, recursive)
|
||||
elif isinstnace(olditem, int):
|
||||
return self._ReplaceItem(olditem, item)
|
||||
|
Reference in New Issue
Block a user