X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/092f0ed782a4678d39e1037ab3816b9d4aaf3d04..a608c09d8533b09af952026203fb609703047843:/wxPython/src/msw/_core_wrap.cpp diff --git a/wxPython/src/msw/_core_wrap.cpp b/wxPython/src/msw/_core_wrap.cpp index 3bc52ef33d..97ad0b0386 100644 --- a/wxPython/src/msw/_core_wrap.cpp +++ b/wxPython/src/msw/_core_wrap.cpp @@ -2512,85 +2512,86 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxGIFHandler swig_types[50] #define SWIGTYPE_p_wxGridBagSizer swig_types[51] #define SWIGTYPE_p_wxGridSizer swig_types[52] -#define SWIGTYPE_p_wxICOHandler swig_types[53] -#define SWIGTYPE_p_wxIconizeEvent swig_types[54] -#define SWIGTYPE_p_wxIdleEvent swig_types[55] -#define SWIGTYPE_p_wxImage swig_types[56] -#define SWIGTYPE_p_wxImageHandler swig_types[57] -#define SWIGTYPE_p_wxImageHistogram swig_types[58] -#define SWIGTYPE_p_wxImage_HSVValue swig_types[59] -#define SWIGTYPE_p_wxImage_RGBValue swig_types[60] -#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[61] -#define SWIGTYPE_p_wxInitDialogEvent swig_types[62] -#define SWIGTYPE_p_wxInputStream swig_types[63] -#define SWIGTYPE_p_wxInternetFSHandler swig_types[64] -#define SWIGTYPE_p_wxItemContainer swig_types[65] -#define SWIGTYPE_p_wxJPEGHandler swig_types[66] -#define SWIGTYPE_p_wxKeyEvent swig_types[67] -#define SWIGTYPE_p_wxLayoutConstraints swig_types[68] -#define SWIGTYPE_p_wxMaximizeEvent swig_types[69] -#define SWIGTYPE_p_wxMemoryFSHandler swig_types[70] -#define SWIGTYPE_p_wxMenu swig_types[71] -#define SWIGTYPE_p_wxMenuBar swig_types[72] -#define SWIGTYPE_p_wxMenuBarBase swig_types[73] -#define SWIGTYPE_p_wxMenuEvent swig_types[74] -#define SWIGTYPE_p_wxMenuItem swig_types[75] -#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76] -#define SWIGTYPE_p_wxMouseEvent swig_types[77] -#define SWIGTYPE_p_wxMoveEvent swig_types[78] -#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[79] -#define SWIGTYPE_p_wxNcPaintEvent swig_types[80] -#define SWIGTYPE_p_wxNotifyEvent swig_types[81] -#define SWIGTYPE_p_wxObject swig_types[82] -#define SWIGTYPE_p_wxOutputStream swig_types[83] -#define SWIGTYPE_p_wxPCXHandler swig_types[84] -#define SWIGTYPE_p_wxPNGHandler swig_types[85] -#define SWIGTYPE_p_wxPNMHandler swig_types[86] -#define SWIGTYPE_p_wxPaintEvent swig_types[87] -#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[88] -#define SWIGTYPE_p_wxPaperSize swig_types[89] -#define SWIGTYPE_p_wxPoint swig_types[90] -#define SWIGTYPE_p_wxPoint2D swig_types[91] -#define SWIGTYPE_p_wxPropagateOnce swig_types[92] -#define SWIGTYPE_p_wxPropagationDisabler swig_types[93] -#define SWIGTYPE_p_wxPyApp swig_types[94] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[95] -#define SWIGTYPE_p_wxPyDropTarget swig_types[96] -#define SWIGTYPE_p_wxPyEvent swig_types[97] -#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[98] -#define SWIGTYPE_p_wxPyImageHandler swig_types[99] -#define SWIGTYPE_p_wxPyInputStream swig_types[100] -#define SWIGTYPE_p_wxPySizer swig_types[101] -#define SWIGTYPE_p_wxPyValidator swig_types[102] -#define SWIGTYPE_p_wxQuantize swig_types[103] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[104] -#define SWIGTYPE_p_wxRealPoint swig_types[105] -#define SWIGTYPE_p_wxRect swig_types[106] -#define SWIGTYPE_p_wxRegion swig_types[107] -#define SWIGTYPE_p_wxScrollEvent swig_types[108] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[109] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[110] -#define SWIGTYPE_p_wxShowEvent swig_types[111] -#define SWIGTYPE_p_wxSize swig_types[112] -#define SWIGTYPE_p_wxSizeEvent swig_types[113] -#define SWIGTYPE_p_wxSizer swig_types[114] -#define SWIGTYPE_p_wxSizerItem swig_types[115] -#define SWIGTYPE_p_wxStaticBox swig_types[116] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[117] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[118] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[119] -#define SWIGTYPE_p_wxTIFFHandler swig_types[120] -#define SWIGTYPE_p_wxToolTip swig_types[121] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[122] -#define SWIGTYPE_p_wxValidator swig_types[123] -#define SWIGTYPE_p_wxVisualAttributes swig_types[124] -#define SWIGTYPE_p_wxWindow swig_types[125] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[126] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[127] -#define SWIGTYPE_p_wxXPMHandler swig_types[128] -#define SWIGTYPE_p_wxZipFSHandler swig_types[129] -static swig_type_info *swig_types[131]; -static swig_module_info swig_module = {swig_types, 130, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxHelpEvent__Origin swig_types[53] +#define SWIGTYPE_p_wxICOHandler swig_types[54] +#define SWIGTYPE_p_wxIconizeEvent swig_types[55] +#define SWIGTYPE_p_wxIdleEvent swig_types[56] +#define SWIGTYPE_p_wxImage swig_types[57] +#define SWIGTYPE_p_wxImageHandler swig_types[58] +#define SWIGTYPE_p_wxImageHistogram swig_types[59] +#define SWIGTYPE_p_wxImage_HSVValue swig_types[60] +#define SWIGTYPE_p_wxImage_RGBValue swig_types[61] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[63] +#define SWIGTYPE_p_wxInputStream swig_types[64] +#define SWIGTYPE_p_wxInternetFSHandler swig_types[65] +#define SWIGTYPE_p_wxItemContainer swig_types[66] +#define SWIGTYPE_p_wxJPEGHandler swig_types[67] +#define SWIGTYPE_p_wxKeyEvent swig_types[68] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[69] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[70] +#define SWIGTYPE_p_wxMemoryFSHandler swig_types[71] +#define SWIGTYPE_p_wxMenu swig_types[72] +#define SWIGTYPE_p_wxMenuBar swig_types[73] +#define SWIGTYPE_p_wxMenuBarBase swig_types[74] +#define SWIGTYPE_p_wxMenuEvent swig_types[75] +#define SWIGTYPE_p_wxMenuItem swig_types[76] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77] +#define SWIGTYPE_p_wxMouseEvent swig_types[78] +#define SWIGTYPE_p_wxMoveEvent swig_types[79] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[81] +#define SWIGTYPE_p_wxNotifyEvent swig_types[82] +#define SWIGTYPE_p_wxObject swig_types[83] +#define SWIGTYPE_p_wxOutputStream swig_types[84] +#define SWIGTYPE_p_wxPCXHandler swig_types[85] +#define SWIGTYPE_p_wxPNGHandler swig_types[86] +#define SWIGTYPE_p_wxPNMHandler swig_types[87] +#define SWIGTYPE_p_wxPaintEvent swig_types[88] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[89] +#define SWIGTYPE_p_wxPaperSize swig_types[90] +#define SWIGTYPE_p_wxPoint swig_types[91] +#define SWIGTYPE_p_wxPoint2D swig_types[92] +#define SWIGTYPE_p_wxPropagateOnce swig_types[93] +#define SWIGTYPE_p_wxPropagationDisabler swig_types[94] +#define SWIGTYPE_p_wxPyApp swig_types[95] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[96] +#define SWIGTYPE_p_wxPyDropTarget swig_types[97] +#define SWIGTYPE_p_wxPyEvent swig_types[98] +#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[99] +#define SWIGTYPE_p_wxPyImageHandler swig_types[100] +#define SWIGTYPE_p_wxPyInputStream swig_types[101] +#define SWIGTYPE_p_wxPySizer swig_types[102] +#define SWIGTYPE_p_wxPyValidator swig_types[103] +#define SWIGTYPE_p_wxQuantize swig_types[104] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[105] +#define SWIGTYPE_p_wxRealPoint swig_types[106] +#define SWIGTYPE_p_wxRect swig_types[107] +#define SWIGTYPE_p_wxRegion swig_types[108] +#define SWIGTYPE_p_wxScrollEvent swig_types[109] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[110] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[111] +#define SWIGTYPE_p_wxShowEvent swig_types[112] +#define SWIGTYPE_p_wxSize swig_types[113] +#define SWIGTYPE_p_wxSizeEvent swig_types[114] +#define SWIGTYPE_p_wxSizer swig_types[115] +#define SWIGTYPE_p_wxSizerItem swig_types[116] +#define SWIGTYPE_p_wxStaticBox swig_types[117] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[118] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[119] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[120] +#define SWIGTYPE_p_wxTIFFHandler swig_types[121] +#define SWIGTYPE_p_wxToolTip swig_types[122] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[123] +#define SWIGTYPE_p_wxValidator swig_types[124] +#define SWIGTYPE_p_wxVisualAttributes swig_types[125] +#define SWIGTYPE_p_wxWindow swig_types[126] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[127] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[128] +#define SWIGTYPE_p_wxXPMHandler swig_types[129] +#define SWIGTYPE_p_wxZipFSHandler swig_types[130] +static swig_type_info *swig_types[132]; +static swig_module_info swig_module = {swig_types, 131, 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) @@ -3690,6 +3691,11 @@ SWIGINTERN int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){ return 0; #endif } +SWIGINTERN void wxKeyEvent_SetUnicodeKey(wxKeyEvent *self,int uniChar){ + #if wxUSE_UNICODE + self->m_uniChar = uniChar; + #endif + } SWIGINTERNINLINE PyObject * SWIG_From_unsigned_SS_int (unsigned int value) @@ -9636,9 +9642,7 @@ SWIGINTERN PyObject *_wrap_new_FSFile(PyObject *SWIGUNUSEDPARM(self), PyObject * wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_NEW); - } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFSFile, SWIG_POINTER_NEW | 0 ); { if (temp2) delete arg2; @@ -10062,7 +10066,7 @@ SWIGINTERN PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *SWIGUNUSEDPARM(s if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN); + resultobj = wxPyMake_wxObject(result, SWIG_POINTER_OWN); } { if (temp3) @@ -10616,7 +10620,7 @@ SWIGINTERN PyObject *_wrap_FileSystem_OpenFile(PyObject *SWIGUNUSEDPARM(self), P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN); + resultobj = wxPyMake_wxObject(result, SWIG_POINTER_OWN); } { if (temp2) @@ -10980,7 +10984,7 @@ SWIGINTERN PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *SWIGUNUSEDPARM(s if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN); + resultobj = wxPyMake_wxObject(result, SWIG_POINTER_OWN); } { if (temp3) @@ -11117,7 +11121,7 @@ SWIGINTERN PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *SWIGUNUSEDPARM(self), if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN); + resultobj = wxPyMake_wxObject(result, SWIG_POINTER_OWN); } { if (temp3) @@ -11540,7 +11544,7 @@ SWIGINTERN PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *SWIGUNUSEDPARM(sel if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN); + resultobj = wxPyMake_wxObject(result, SWIG_POINTER_OWN); } { if (temp3) @@ -11842,6 +11846,62 @@ fail: } +SWIGINTERN PyObject *_wrap_ImageHandler_CanReadStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxImageHandler *arg1 = (wxImageHandler *) 0 ; + wxInputStream *arg2 = 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + wxPyInputStream *temp2 ; + bool created2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "stream", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanReadStream",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxImageHandler, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ImageHandler_CanReadStream" "', expected argument " "1"" of type '" "wxImageHandler *""'"); + } + arg1 = reinterpret_cast< wxImageHandler * >(argp1); + { + if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) { + arg2 = temp2->m_wxis; + created2 = false; + } else { + PyErr_Clear(); // clear the failure of the wxPyConvert above + arg2 = wxPyCBInputStream_create(obj1, false); + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object."); + SWIG_fail; + } + created2 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->CanRead(*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (created2) delete arg2; + } + return resultobj; +fail: + { + if (created2) delete arg2; + } + return NULL; +} + + SWIGINTERN PyObject *_wrap_ImageHandler_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxImageHandler *arg1 = (wxImageHandler *) 0 ; @@ -22133,6 +22193,44 @@ fail: } +SWIGINTERN PyObject *_wrap_KeyEvent_SetUnicodeKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "uniChar", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_SetUnicodeKey",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxKeyEvent, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'"); + } + arg1 = reinterpret_cast< wxKeyEvent * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + wxKeyEvent_SetUnicodeKey(arg1,arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; @@ -36884,6 +36982,66 @@ fail: } +SWIGINTERN PyObject *_wrap_Window_GetHelpTextAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + wxPoint *arg2 = 0 ; + wxHelpEvent::Origin arg3 ; + wxString result; + void *argp1 = 0 ; + int res1 = 0 ; + wxPoint temp2 ; + void *argp3 ; + int res3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pt",(char *) "origin", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_GetHelpTextAtPoint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "1"" of type '" "wxWindow const *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpEvent__Origin, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'"); + } else { + wxHelpEvent::Origin * temp = reinterpret_cast< wxHelpEvent::Origin * >(argp3); + arg3 = *temp; + if (SWIG_IsNewObj(res3)) delete temp; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxWindow const *)arg1)->GetHelpTextAtPoint((wxPoint const &)*arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { +#if wxUSE_UNICODE + resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); +#else + resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); +#endif + } + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_Window_GetHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxWindow *arg1 = (wxWindow *) 0 ; @@ -52817,6 +52975,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"ImageHandler_GetType", (PyCFunction)_wrap_ImageHandler_GetType, METH_O, NULL}, { (char *)"ImageHandler_GetMimeType", (PyCFunction)_wrap_ImageHandler_GetMimeType, METH_O, NULL}, { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHandler_CanReadStream", (PyCFunction) _wrap_ImageHandler_CanReadStream, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -53131,6 +53290,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"KeyEvent_HasModifiers", (PyCFunction)_wrap_KeyEvent_HasModifiers, METH_O, NULL}, { (char *)"KeyEvent_GetKeyCode", (PyCFunction)_wrap_KeyEvent_GetKeyCode, METH_O, NULL}, { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction)_wrap_KeyEvent_GetUnicodeKey, METH_O, NULL}, + { (char *)"KeyEvent_SetUnicodeKey", (PyCFunction) _wrap_KeyEvent_SetUnicodeKey, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction)_wrap_KeyEvent_GetRawKeyCode, METH_O, NULL}, { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction)_wrap_KeyEvent_GetRawKeyFlags, METH_O, NULL}, { (char *)"KeyEvent_GetPosition", (PyCFunction)_wrap_KeyEvent_GetPosition, METH_O, NULL}, @@ -53619,6 +53779,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Window_PageDown", (PyCFunction)_wrap_Window_PageDown, METH_O, NULL}, { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetHelpTextAtPoint", (PyCFunction) _wrap_Window_GetHelpTextAtPoint, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Window_GetHelpText", (PyCFunction)_wrap_Window_GetHelpText, METH_O, NULL}, { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -54618,6 +54779,7 @@ static swig_type_info _swigt__p_wxGBSpan = {"_p_wxGBSpan", "wxGBSpan *", 0, 0, ( static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", "wxGridSizer *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxHelpEvent__Origin = {"_p_wxHelpEvent__Origin", "wxHelpEvent::Origin *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", "wxICOHandler *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, (void*)0, 0}; @@ -54750,6 +54912,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxGIFHandler, &_swigt__p_wxGridBagSizer, &_swigt__p_wxGridSizer, + &_swigt__p_wxHelpEvent__Origin, &_swigt__p_wxICOHandler, &_swigt__p_wxIconizeEvent, &_swigt__p_wxIdleEvent, @@ -54882,6 +55045,7 @@ static swig_cast_info _swigc__p_wxGBSpan[] = { {&_swigt__p_wxGBSpan, 0, 0, 0},{ static swig_cast_info _swigc__p_wxGIFHandler[] = { {&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxGridBagSizer[] = { {&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxGridSizer[] = { {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0}, {&_swigt__p_wxGridSizer, 0, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHelpEvent__Origin[] = { {&_swigt__p_wxHelpEvent__Origin, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxICOHandler[] = { {&_swigt__p_wxICOHandler, 0, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxICOHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxICOHandler, 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_wxIdleEvent[] = { {&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; @@ -55014,6 +55178,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxGIFHandler, _swigc__p_wxGridBagSizer, _swigc__p_wxGridSizer, + _swigc__p_wxHelpEvent__Origin, _swigc__p_wxICOHandler, _swigc__p_wxIconizeEvent, _swigc__p_wxIdleEvent, @@ -55535,11 +55700,11 @@ extern "C" { 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) {