some little fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-02-21 21:12:10 +00:00
parent 211a46cf82
commit 7a8b1590d5
2 changed files with 5 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ sit back and enjoy. Be sure to take a peek at the source code for each
demo item so you can learn how to use the classes yourself.</p> demo item so you can learn how to use the classes yourself.</p>
<p><b>wxPython</b> is brought to you by <b>Robin Dunn</b> and<br> <p><b>wxPython</b> is brought to you by <b>Robin Dunn</b> and<br>
<b>Total Control Software</b>, Copyright (c) 1997-2000.</p> <b>Total Control Software</b>, Copyright (c) 1997-2001.</p>
<p> <p>
<font size="-1">Please see <i>license.txt</i> for licensing information.</font> <font size="-1">Please see <i>license.txt</i> for licensing information.</font>

View File

@@ -60,7 +60,7 @@ class wxSizePtr :
def __str__(self): return str(self.asTuple()) def __str__(self): return str(self.asTuple())
def __repr__(self): return str(self.asTuple()) def __repr__(self): return str(self.asTuple())
def __len__(self): return len(self.asTuple() def __len__(self): return len(self.asTuple())
def __getitem__(self, index): return self.asTuple()[index] def __getitem__(self, index): return self.asTuple()[index]
def __setitem__(self, index, val): def __setitem__(self, index, val):
if index == 0: self.width = val if index == 0: self.width = val
@@ -118,7 +118,7 @@ class wxRealPointPtr :
def __str__(self): return str(self.asTuple()) def __str__(self): return str(self.asTuple())
def __repr__(self): return str(self.asTuple()) def __repr__(self): return str(self.asTuple())
def __len__(self): return len(self.asTuple() def __len__(self): return len(self.asTuple())
def __getitem__(self, index): return self.asTuple()[index] def __getitem__(self, index): return self.asTuple()[index]
def __setitem__(self, index, val): def __setitem__(self, index, val):
if index == 0: self.width = val if index == 0: self.width = val
@@ -176,7 +176,7 @@ class wxPointPtr :
def __str__(self): return str(self.asTuple()) def __str__(self): return str(self.asTuple())
def __repr__(self): return str(self.asTuple()) def __repr__(self): return str(self.asTuple())
def __len__(self): return len(self.asTuple() def __len__(self): return len(self.asTuple())
def __getitem__(self, index): return self.asTuple()[index] def __getitem__(self, index): return self.asTuple()[index]
def __setitem__(self, index, val): def __setitem__(self, index, val):
if index == 0: self.x = val if index == 0: self.x = val
@@ -299,7 +299,7 @@ class wxRectPtr :
def __str__(self): return str(self.asTuple()) def __str__(self): return str(self.asTuple())
def __repr__(self): return str(self.asTuple()) def __repr__(self): return str(self.asTuple())
def __len__(self): return len(self.asTuple() def __len__(self): return len(self.asTuple())
def __getitem__(self, index): return self.asTuple()[index] def __getitem__(self, index): return self.asTuple()[index]
def __setitem__(self, index, val): def __setitem__(self, index, val):
if index == 0: self.x = val if index == 0: self.x = val