reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-14 21:38:16 +00:00
parent 1a10485f79
commit db3e571a39
18 changed files with 803 additions and 289 deletions

View File

@@ -4362,6 +4362,16 @@ def CustomDataFormat(*args, **kwargs):
return val
class DataObject(object):
"""
A wxDataObject represents data that can be copied to or from the
clipboard, or dragged and dropped. The important thing about
wxDataObject is that this is a 'smart' piece of data unlike usual
'dumb' data containers such as memory buffers or files. Being 'smart'
here means that the data object itself should know what data formats
it supports and how to render itself in each of supported formats.
"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)