Added wxDateTime, wxTimeSpan, and wxDateSpan to wxPython.utils.

Added wxCalendarCtrl.

Other tweaks and fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-05-24 14:57:52 +00:00
parent c777c58b76
commit 37bb827fa9
58 changed files with 12895 additions and 1415 deletions

View File

@@ -221,6 +221,41 @@ class wxDragImage(wxDragImagePtr):
class wxPyTimerPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,misc2c=misc2c):
if self.thisown == 1 :
misc2c.delete_wxPyTimer(self)
def GetInterval(self, *_args, **_kwargs):
val = apply(misc2c.wxPyTimer_GetInterval,(self,) + _args, _kwargs)
return val
def IsOneShot(self, *_args, **_kwargs):
val = apply(misc2c.wxPyTimer_IsOneShot,(self,) + _args, _kwargs)
return val
def IsRunning(self, *_args, **_kwargs):
val = apply(misc2c.wxPyTimer_IsRunning,(self,) + _args, _kwargs)
return val
def SetOwner(self, *_args, **_kwargs):
val = apply(misc2c.wxPyTimer_SetOwner,(self,) + _args, _kwargs)
return val
def Start(self, *_args, **_kwargs):
val = apply(misc2c.wxPyTimer_Start,(self,) + _args, _kwargs)
return val
def Stop(self, *_args, **_kwargs):
val = apply(misc2c.wxPyTimer_Stop,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPyTimer instance at %s>" % (self.this,)
class wxPyTimer(wxPyTimerPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(misc2c.new_wxPyTimer,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------