Add IsOk's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -617,8 +617,10 @@ public:
|
||||
|
||||
// is the date valid (True even for non initialized objects)?
|
||||
inline bool IsValid() const;
|
||||
%pythoncode { Ok = IsValid }
|
||||
%pythoncode { def __nonzero__(self): return self.Ok() };
|
||||
%pythoncode { IsOk = IsValid }
|
||||
%pythoncode { Ok = IsOk }
|
||||
|
||||
%pythoncode { def __nonzero__(self): return self.IsOk() };
|
||||
|
||||
|
||||
// get the number of seconds since the Unix epoch - returns (time_t)-1
|
||||
|
Reference in New Issue
Block a user