/* Common SWIG API */
+#if PY_VERSION_HEX < 0x02050000
+typedef int Py_ssize_t;
+#endif
+
/* for raw pointers */
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
void *vptr = 0;
/* here we get the method pointer for callbacks */
- char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
+ const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
if (desc) {
desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
#define SWIGTYPE_p_wxBoxSizer swig_types[12]
#define SWIGTYPE_p_wxCURHandler swig_types[13]
#define SWIGTYPE_p_wxChildFocusEvent swig_types[14]
-#define SWIGTYPE_p_wxCloseEvent swig_types[15]
-#define SWIGTYPE_p_wxColour swig_types[16]
-#define SWIGTYPE_p_wxCommandEvent swig_types[17]
-#define SWIGTYPE_p_wxContextMenuEvent swig_types[18]
-#define SWIGTYPE_p_wxControl swig_types[19]
-#define SWIGTYPE_p_wxControlWithItems swig_types[20]
-#define SWIGTYPE_p_wxDateEvent swig_types[21]
-#define SWIGTYPE_p_wxDialog swig_types[22]
-#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
-#define SWIGTYPE_p_wxDropFilesEvent swig_types[24]
-#define SWIGTYPE_p_wxDuplexMode swig_types[25]
-#define SWIGTYPE_p_wxEraseEvent swig_types[26]
-#define SWIGTYPE_p_wxEvent swig_types[27]
-#define SWIGTYPE_p_wxEvtHandler swig_types[28]
-#define SWIGTYPE_p_wxFSFile swig_types[29]
-#define SWIGTYPE_p_wxFileSystem swig_types[30]
-#define SWIGTYPE_p_wxFlexGridSizer swig_types[31]
-#define SWIGTYPE_p_wxFocusEvent swig_types[32]
-#define SWIGTYPE_p_wxFont swig_types[33]
-#define SWIGTYPE_p_wxFrame swig_types[34]
-#define SWIGTYPE_p_wxGBSizerItem swig_types[35]
-#define SWIGTYPE_p_wxGIFHandler swig_types[36]
-#define SWIGTYPE_p_wxGridBagSizer swig_types[37]
-#define SWIGTYPE_p_wxGridSizer swig_types[38]
-#define SWIGTYPE_p_wxICOHandler swig_types[39]
-#define SWIGTYPE_p_wxIcon swig_types[40]
-#define SWIGTYPE_p_wxIconizeEvent swig_types[41]
-#define SWIGTYPE_p_wxIdleEvent swig_types[42]
-#define SWIGTYPE_p_wxImage swig_types[43]
-#define SWIGTYPE_p_wxImageHandler swig_types[44]
-#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[45]
-#define SWIGTYPE_p_wxInitDialogEvent swig_types[46]
-#define SWIGTYPE_p_wxInputStream swig_types[47]
-#define SWIGTYPE_p_wxJPEGHandler swig_types[48]
-#define SWIGTYPE_p_wxKeyEvent swig_types[49]
-#define SWIGTYPE_p_wxLayoutConstraints swig_types[50]
-#define SWIGTYPE_p_wxMaximizeEvent swig_types[51]
-#define SWIGTYPE_p_wxMenu swig_types[52]
-#define SWIGTYPE_p_wxMenuBar swig_types[53]
-#define SWIGTYPE_p_wxMenuEvent swig_types[54]
-#define SWIGTYPE_p_wxMenuItem swig_types[55]
-#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[56]
-#define SWIGTYPE_p_wxMouseEvent swig_types[57]
-#define SWIGTYPE_p_wxMoveEvent swig_types[58]
-#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[59]
-#define SWIGTYPE_p_wxNcPaintEvent swig_types[60]
-#define SWIGTYPE_p_wxNotifyEvent swig_types[61]
-#define SWIGTYPE_p_wxObject swig_types[62]
-#define SWIGTYPE_p_wxOutputStream swig_types[63]
-#define SWIGTYPE_p_wxPCXHandler swig_types[64]
-#define SWIGTYPE_p_wxPNGHandler swig_types[65]
-#define SWIGTYPE_p_wxPNMHandler swig_types[66]
-#define SWIGTYPE_p_wxPaintEvent swig_types[67]
-#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[68]
-#define SWIGTYPE_p_wxPanel swig_types[69]
-#define SWIGTYPE_p_wxPaperSize swig_types[70]
-#define SWIGTYPE_p_wxPoint swig_types[71]
-#define SWIGTYPE_p_wxPyApp swig_types[72]
-#define SWIGTYPE_p_wxPyCommandEvent swig_types[73]
-#define SWIGTYPE_p_wxPyEvent swig_types[74]
-#define SWIGTYPE_p_wxPyImageHandler swig_types[75]
-#define SWIGTYPE_p_wxPySizer swig_types[76]
-#define SWIGTYPE_p_wxPyValidator swig_types[77]
-#define SWIGTYPE_p_wxPyXmlResourceHandler swig_types[78]
-#define SWIGTYPE_p_wxPyXmlSubclassFactory swig_types[79]
-#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[80]
-#define SWIGTYPE_p_wxScrollEvent swig_types[81]
-#define SWIGTYPE_p_wxScrollWinEvent swig_types[82]
-#define SWIGTYPE_p_wxSetCursorEvent swig_types[83]
-#define SWIGTYPE_p_wxShowEvent swig_types[84]
-#define SWIGTYPE_p_wxSize swig_types[85]
-#define SWIGTYPE_p_wxSizeEvent swig_types[86]
-#define SWIGTYPE_p_wxSizer swig_types[87]
-#define SWIGTYPE_p_wxSizerItem swig_types[88]
-#define SWIGTYPE_p_wxStaticBoxSizer swig_types[89]
-#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[90]
-#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[91]
-#define SWIGTYPE_p_wxTIFFHandler swig_types[92]
-#define SWIGTYPE_p_wxUpdateUIEvent swig_types[93]
-#define SWIGTYPE_p_wxValidator swig_types[94]
-#define SWIGTYPE_p_wxWindow swig_types[95]
-#define SWIGTYPE_p_wxWindowCreateEvent swig_types[96]
-#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[97]
-#define SWIGTYPE_p_wxXPMHandler swig_types[98]
-#define SWIGTYPE_p_wxXmlDocument swig_types[99]
-#define SWIGTYPE_p_wxXmlNode swig_types[100]
-#define SWIGTYPE_p_wxXmlProperty swig_types[101]
-#define SWIGTYPE_p_wxXmlResource swig_types[102]
-static swig_type_info *swig_types[104];
-static swig_module_info swig_module = {swig_types, 103, 0, 0, 0, 0};
+#define SWIGTYPE_p_wxClipboardTextEvent swig_types[15]
+#define SWIGTYPE_p_wxCloseEvent swig_types[16]
+#define SWIGTYPE_p_wxColour swig_types[17]
+#define SWIGTYPE_p_wxCommandEvent swig_types[18]
+#define SWIGTYPE_p_wxContextMenuEvent swig_types[19]
+#define SWIGTYPE_p_wxControl swig_types[20]
+#define SWIGTYPE_p_wxControlWithItems swig_types[21]
+#define SWIGTYPE_p_wxDateEvent swig_types[22]
+#define SWIGTYPE_p_wxDialog swig_types[23]
+#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
+#define SWIGTYPE_p_wxDropFilesEvent swig_types[25]
+#define SWIGTYPE_p_wxDuplexMode swig_types[26]
+#define SWIGTYPE_p_wxEraseEvent swig_types[27]
+#define SWIGTYPE_p_wxEvent swig_types[28]
+#define SWIGTYPE_p_wxEvtHandler swig_types[29]
+#define SWIGTYPE_p_wxFSFile swig_types[30]
+#define SWIGTYPE_p_wxFileSystem swig_types[31]
+#define SWIGTYPE_p_wxFlexGridSizer swig_types[32]
+#define SWIGTYPE_p_wxFocusEvent swig_types[33]
+#define SWIGTYPE_p_wxFont swig_types[34]
+#define SWIGTYPE_p_wxFrame swig_types[35]
+#define SWIGTYPE_p_wxGBSizerItem swig_types[36]
+#define SWIGTYPE_p_wxGIFHandler swig_types[37]
+#define SWIGTYPE_p_wxGridBagSizer swig_types[38]
+#define SWIGTYPE_p_wxGridSizer swig_types[39]
+#define SWIGTYPE_p_wxICOHandler swig_types[40]
+#define SWIGTYPE_p_wxIcon swig_types[41]
+#define SWIGTYPE_p_wxIconizeEvent swig_types[42]
+#define SWIGTYPE_p_wxIdleEvent swig_types[43]
+#define SWIGTYPE_p_wxImage swig_types[44]
+#define SWIGTYPE_p_wxImageHandler swig_types[45]
+#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[46]
+#define SWIGTYPE_p_wxInitDialogEvent swig_types[47]
+#define SWIGTYPE_p_wxInputStream swig_types[48]
+#define SWIGTYPE_p_wxJPEGHandler swig_types[49]
+#define SWIGTYPE_p_wxKeyEvent swig_types[50]
+#define SWIGTYPE_p_wxLayoutConstraints swig_types[51]
+#define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
+#define SWIGTYPE_p_wxMenu swig_types[53]
+#define SWIGTYPE_p_wxMenuBar swig_types[54]
+#define SWIGTYPE_p_wxMenuEvent swig_types[55]
+#define SWIGTYPE_p_wxMenuItem swig_types[56]
+#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[57]
+#define SWIGTYPE_p_wxMouseEvent swig_types[58]
+#define SWIGTYPE_p_wxMoveEvent swig_types[59]
+#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[60]
+#define SWIGTYPE_p_wxNcPaintEvent swig_types[61]
+#define SWIGTYPE_p_wxNotifyEvent swig_types[62]
+#define SWIGTYPE_p_wxObject swig_types[63]
+#define SWIGTYPE_p_wxOutputStream swig_types[64]
+#define SWIGTYPE_p_wxPCXHandler swig_types[65]
+#define SWIGTYPE_p_wxPNGHandler swig_types[66]
+#define SWIGTYPE_p_wxPNMHandler swig_types[67]
+#define SWIGTYPE_p_wxPaintEvent swig_types[68]
+#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[69]
+#define SWIGTYPE_p_wxPanel swig_types[70]
+#define SWIGTYPE_p_wxPaperSize swig_types[71]
+#define SWIGTYPE_p_wxPoint swig_types[72]
+#define SWIGTYPE_p_wxPyApp swig_types[73]
+#define SWIGTYPE_p_wxPyCommandEvent swig_types[74]
+#define SWIGTYPE_p_wxPyEvent swig_types[75]
+#define SWIGTYPE_p_wxPyImageHandler swig_types[76]
+#define SWIGTYPE_p_wxPySizer swig_types[77]
+#define SWIGTYPE_p_wxPyValidator swig_types[78]
+#define SWIGTYPE_p_wxPyXmlResourceHandler swig_types[79]
+#define SWIGTYPE_p_wxPyXmlSubclassFactory swig_types[80]
+#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[81]
+#define SWIGTYPE_p_wxScrollEvent swig_types[82]
+#define SWIGTYPE_p_wxScrollWinEvent swig_types[83]
+#define SWIGTYPE_p_wxSetCursorEvent swig_types[84]
+#define SWIGTYPE_p_wxShowEvent swig_types[85]
+#define SWIGTYPE_p_wxSize swig_types[86]
+#define SWIGTYPE_p_wxSizeEvent swig_types[87]
+#define SWIGTYPE_p_wxSizer swig_types[88]
+#define SWIGTYPE_p_wxSizerItem swig_types[89]
+#define SWIGTYPE_p_wxStaticBoxSizer swig_types[90]
+#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[91]
+#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[92]
+#define SWIGTYPE_p_wxTIFFHandler swig_types[93]
+#define SWIGTYPE_p_wxUpdateUIEvent swig_types[94]
+#define SWIGTYPE_p_wxValidator swig_types[95]
+#define SWIGTYPE_p_wxWindow swig_types[96]
+#define SWIGTYPE_p_wxWindowCreateEvent swig_types[97]
+#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[98]
+#define SWIGTYPE_p_wxXPMHandler swig_types[99]
+#define SWIGTYPE_p_wxXmlDocument swig_types[100]
+#define SWIGTYPE_p_wxXmlNode swig_types[101]
+#define SWIGTYPE_p_wxXmlProperty swig_types[102]
+#define SWIGTYPE_p_wxXmlResource swig_types[103]
+static swig_type_info *swig_types[105];
+static swig_module_info swig_module = {swig_types, 104, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
SWIGINTERN PyObject *_wrap_XmlResource_GetXRCID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
PyObject *resultobj = 0;
wxString *arg1 = 0 ;
+ int arg2 = (int) wxID_NONE ;
int result;
bool temp1 = false ;
+ int val2 ;
+ int ecode2 = 0 ;
PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
char * kwnames[] = {
- (char *) "str_id", NULL
+ (char *) "str_id",(char *) "value_if_not_found", NULL
};
- if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResource_GetXRCID",kwnames,&obj0)) SWIG_fail;
+ if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:XmlResource_GetXRCID",kwnames,&obj0,&obj1)) SWIG_fail;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
temp1 = true;
}
+ if (obj1) {
+ ecode2 = SWIG_AsVal_int(obj1, &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XmlResource_GetXRCID" "', expected argument " "2"" of type '" "int""'");
+ }
+ arg2 = static_cast< int >(val2);
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)wxXmlResource::GetXRCID((wxString const &)*arg1);
+ result = (int)wxXmlResource::GetXRCID((wxString const &)*arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
}
+static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
+}
static void *_p_wxPaintEventTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
}
static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
-static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
-static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
-static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
&_swigt__p_wxBoxSizer,
&_swigt__p_wxCURHandler,
&_swigt__p_wxChildFocusEvent,
+ &_swigt__p_wxClipboardTextEvent,
&_swigt__p_wxCloseEvent,
&_swigt__p_wxColour,
&_swigt__p_wxCommandEvent,
static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxXmlDocument, _p_wxXmlDocumentTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyXmlResourceHandler, _p_wxPyXmlResourceHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxXmlResource, _p_wxXmlResourceTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxXmlDocument, _p_wxXmlDocumentTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyXmlResourceHandler, _p_wxPyXmlResourceHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxXmlResource, _p_wxXmlResourceTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
_swigc__p_wxBoxSizer,
_swigc__p_wxCURHandler,
_swigc__p_wxChildFocusEvent,
+ _swigc__p_wxClipboardTextEvent,
_swigc__p_wxCloseEvent,
_swigc__p_wxColour,
_swigc__p_wxCommandEvent,
swig_type_info **types_initial) {
size_t i;
for (i = 0; methods[i].ml_name; ++i) {
- char *c = methods[i].ml_doc;
+ const char *c = methods[i].ml_doc;
if (c && (c = strstr(c, "swig_ptr: "))) {
int j;
swig_const_info *ci = 0;
- char *name = c + 10;
+ const char *name = c + 10;
for (j = 0; const_table[j].type; ++j) {
if (strncmp(const_table[j].name, name,
strlen(const_table[j].name)) == 0) {