]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/_misc.py
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _misc.py
index c99fc56b369ecb2a7026e72c590043acdbb4300d..6ac360873b78f25c4e74cb6c35b46f48caf5aae5 100644 (file)
@@ -924,7 +924,7 @@ class BusyInfo(_core.Object):
     thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
     __repr__ = _swig_repr
     def __init__(self, *args, **kwargs): 
-        """__init__(self, String message) -> BusyInfo"""
+        """__init__(self, String message, Window parent=None) -> BusyInfo"""
         _misc_.BusyInfo_swiginit(self,_misc_.new_BusyInfo(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_BusyInfo
     __del__ = lambda self : None;
@@ -1277,7 +1277,7 @@ class Timer(_core.EvtHandler):
     def __init__(self, *args, **kwargs): 
         """__init__(self, EvtHandler owner=None, int id=ID_ANY) -> Timer"""
         _misc_.Timer_swiginit(self,_misc_.new_Timer(*args, **kwargs))
-        self._setOORInfo(self, 0);Timer._setCallbackInfo(self, self, Timer)
+        self._setOORInfo(self,0); self.this.own(True); Timer._setCallbackInfo(self, self, Timer)
 
     __swig_destroy__ = _misc_.delete_Timer
     __del__ = lambda self : None;
@@ -3639,6 +3639,10 @@ class DateTime(object):
         """ResetTime(self) -> DateTime"""
         return _misc_.DateTime_ResetTime(*args, **kwargs)
 
+    def GetDateOnly(*args, **kwargs):
+        """GetDateOnly(self) -> DateTime"""
+        return _misc_.DateTime_GetDateOnly(*args, **kwargs)
+
     def SetYear(*args, **kwargs):
         """SetYear(self, int year) -> DateTime"""
         return _misc_.DateTime_SetYear(*args, **kwargs)
@@ -4684,14 +4688,15 @@ class DataFormat(object):
         """
         return _misc_.DataFormat_GetType(*args, **kwargs)
 
-    def GetId(*args, **kwargs):
-        """
-        GetId(self) -> String
+    def _GetId(*args, **kwargs):
+        """_GetId(self) -> String"""
+        return _misc_.DataFormat__GetId(*args, **kwargs)
 
-        Returns the name of a custom format (this function will fail for a
-        standard format).
-        """
-        return _misc_.DataFormat_GetId(*args, **kwargs)
+    def GetId(self):
+        """Returns the name of a custom format (this function will fail for a
+     format)."""
+        nolog = wx.LogNull()
+        return self._GetId()
 
     def SetId(*args, **kwargs):
         """
@@ -5682,7 +5687,6 @@ class Clipboard(_core.Object):
         return _misc_.Clipboard_Get(*args, **kwargs)
 
     Get = staticmethod(Get)
-    Data = property(GetData,SetData,doc="See `GetData` and `SetData`") 
 _misc_.Clipboard_swigregister(Clipboard)
 
 def Clipboard_Get(*args):