return list;
}
}
-
- //void AddFile(const wxString &filename);
+#ifdef __WXMSW__
+ void AddFile(const wxString &filename);
+#endif
};
}
size_t GetSize();
+
//void *GetData();
%addmethods {
PyObject* GetData() {
//----------------------------------------------------------------------
//----------------------------------------------------------------------
-class wxClipboard {
+class wxClipboard : public wxObject {
public:
wxClipboard();
%init %{
wxPyTheClipboard = wxTheClipboard;
-
+ wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
+ wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
+ wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
%}
//----------------------------------------------------------------------