//----------------------------------------------------------------------
// 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")
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);
};
+#ifdef __WXGTK__
+#define wxDEFAULT_STATUSBAR_STYLE wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE
+#else
+#define wxDEFAULT_STATUSBAR_STYLE wxST_SIZEGRIP
+#endif
+
+
enum wxGeometryCentre
{
// menu and toolbar item kinds
enum wxItemKind
{
- wxITEM_SEPARATOR = -1,
+ wxITEM_SEPARATOR,
wxITEM_NORMAL,
wxITEM_CHECK,
wxITEM_RADIO,