]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_event.i
default id's where possible
[wxWidgets.git] / wxPython / src / _event.i
index 3ddc61936a0777eaa7e4385e058afd34274a6d21..115650bc6d38dfb321f6510c0e7f126446760e9a 100644 (file)
@@ -1211,7 +1211,7 @@ public:
 
 class wxPyEvent : public wxEvent {
 public:
-    %addtofunc wxPyEvent     "self.SetSelf(self)"
+    %pythonAppend wxPyEvent     "self.SetSelf(self)"
     wxPyEvent(int winid=0, wxEventType commandType = wxEVT_NULL );
     ~wxPyEvent();
 
@@ -1223,7 +1223,7 @@ public:
 
 class wxPyCommandEvent : public wxCommandEvent {
 public:
-    %addtofunc wxPyCommandEvent     "self.SetSelf(self)"
+    %pythonAppend wxPyCommandEvent     "self.SetSelf(self)"
     wxPyCommandEvent(wxEventType commandType = wxEVT_NULL, int id=0);
     ~wxPyCommandEvent();