]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_defs.i
Fix compilation errors due to recent typedef changes
[wxWidgets.git] / wxPython / src / _defs.i
index d7818e8883dcbe9ea7f280ffee08ef454ce45b48..5bf1501ace0761c708f788c71cba653dfa9ce701 100644 (file)
@@ -40,13 +40,14 @@ typedef unsigned char   byte;
 //----------------------------------------------------------------------
 // Various SWIG macros and such
 
-#define %addtofunc      %feature("addtofunc")
+#define %pythonAppend   %feature("pythonappend")
+#define %pythonPrepend  %feature("pythonprepend")
 #define %kwargs         %feature("kwargs")
 #define %nokwargs       %feature("nokwargs")
 
-#ifndef %shadow
-#define %shadow         %insert("shadow")
-#endif
+//#ifndef %shadow
+//#define %shadow         %insert("shadow")
+//#endif
 
 #ifndef %pythoncode
 #define %pythoncode     %insert("python")
@@ -236,7 +237,7 @@ FORWARD_DECLARE(wxColour,         Colour);
 FORWARD_DECLARE(wxFont,           Font);
 FORWARD_DECLARE(wxCaret,          Caret);
 FORWARD_DECLARE(wxToolTip,        ToolTip);
-FORWARD_DECLARE(wxPyDropTarget,   PyDropTarget);
+FORWARD_DECLARE(wxPyDropTarget,   DropTarget);
 FORWARD_DECLARE(wxImageList,      ImageList);
 FORWARD_DECLARE(wxMemoryDC,       MemoryDC);
 FORWARD_DECLARE(wxHtmlTagHandler, HtmlTagHandler);