X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/addd64eea4dd204b405892bd08b2b00fa49eeafa..4263de1e0586d20cb49d0dde23f0d227c5ef25cb:/wxPython/src/_defs.i diff --git a/wxPython/src/_defs.i b/wxPython/src/_defs.i index d7818e8883..689847ac6d 100644 --- a/wxPython/src/_defs.i +++ b/wxPython/src/_defs.i @@ -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); @@ -543,6 +544,13 @@ enum { }; +#ifdef __WXGTK__ +#define wxDEFAULT_STATUSBAR_STYLE wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE +#else +#define wxDEFAULT_STATUSBAR_STYLE wxST_SIZEGRIP +#endif + + enum wxGeometryCentre {