");
class wxPyDataObjectSimple : public wxDataObjectSimple {
public:
- %pythonAppend wxPyDataObjectSimple "self._setCallbackInfo(self, PyDataObjectSimple)"
+ %pythonAppend wxPyDataObjectSimple setCallbackInfo(PyDataObjectSimple)
wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid);
void _setCallbackInfo(PyObject* self, PyObject* _class);
fly you may wish to override this function (via
`wx.PyTextDataObject`.)", "");
+ %property(Text, GetText, SetText, doc="See `GetText` and `SetText`");
+ %property(TextLength, GetTextLength, doc="See `GetTextLength`");
};
class wxPyTextDataObject : public wxTextDataObject {
public:
- %pythonAppend wxPyTextDataObject "self._setCallbackInfo(self, PyTextDataObject)"
+ %pythonAppend wxPyTextDataObject setCallbackInfo(PyTextDataObject)
wxPyTextDataObject(const wxString& text = wxPyEmptyString);
void _setCallbackInfo(PyObject* self, PyObject* _class);
class wxPyBitmapDataObject : public wxBitmapDataObject {
public:
- %pythonAppend wxPyBitmapDataObject "self._setCallbackInfo(self, PyBitmapDataObject)"
+ %pythonAppend wxPyBitmapDataObject setCallbackInfo(PyBitmapDataObject)
wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap);
void _setCallbackInfo(PyObject* self, PyObject* _class);
void , AddFile(const wxString &filename),
"Adds a file to the list of files represented by this data object.", "");
+ %property(Filenames, GetFilenames, doc="See `GetFilenames`");
};
//---------------------------------------------------------------------------
void , SetURL(const wxString& url),
"Set the URL.", "");
+ %property(URL, GetURL, SetURL, doc="See `GetURL` and `SetURL`");
};
//---------------------------------------------------------------------------