Changes needed to get upto date with the latest wx CVS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-09-24 20:09:53 +00:00
parent e04fe03d0f
commit 1a10a058d5
8 changed files with 57 additions and 28 deletions

View File

@@ -465,7 +465,7 @@ public:
%pragma(python) addtoclass = "asTuple = Get
def __str__(self): return str(self.asTuple())
def __repr__(self): return 'wxColour:' + str(self.asTuple())
def __repr__(self): return 'wxColour' + str(self.asTuple())
def __nonzero__(self): return self.Ok()
def __getinitargs__(self): return ()
def __getstate__(self): return self.asTuple()
@@ -1210,6 +1210,10 @@ public:
void Next() {
(*self) ++;
}
bool __nonzero__() {
return self->operator bool();
}
};
};