From: Robin Dunn Date: Thu, 12 Apr 2007 00:56:21 +0000 (+0000) Subject: reSWIGged X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8c3a71838a18a06bc0ec088746d5dabc0ae3f36b?hp=cc8ce392c535b7a614337e3bdba04b670e2e34d0 reSWIGged git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/gtk/_controls.py b/wxPython/src/gtk/_controls.py index 8cc31cd75b..57b51c1d5c 100644 --- a/wxPython/src/gtk/_controls.py +++ b/wxPython/src/gtk/_controls.py @@ -99,7 +99,7 @@ class Button(_core.Control): def SetDefault(*args, **kwargs): """ - SetDefault(self) + SetDefault(self) -> Window This sets the button to be the default item for the panel or dialog box. """ diff --git a/wxPython/src/gtk/_controls_wrap.cpp b/wxPython/src/gtk/_controls_wrap.cpp index 09bab23608..990643e265 100644 --- a/wxPython/src/gtk/_controls_wrap.cpp +++ b/wxPython/src/gtk/_controls_wrap.cpp @@ -3733,6 +3733,7 @@ fail: SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxButton *arg1 = (wxButton *) 0 ; + wxWindow *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -3746,11 +3747,13 @@ SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyO arg1 = reinterpret_cast< wxButton * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetDefault(); + result = (wxWindow *)(arg1)->SetDefault(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + { + resultobj = wxPyMake_wxObject(result, 0); + } return resultobj; fail: return NULL; diff --git a/wxPython/src/gtk/_core.py b/wxPython/src/gtk/_core.py index d57326521b..275563cf2f 100644 --- a/wxPython/src/gtk/_core.py +++ b/wxPython/src/gtk/_core.py @@ -1908,6 +1908,73 @@ class Rect2D(object): _core_.Rect2D_swigregister(Rect2D) +class Position(object): + """Proxy of C++ Position class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """__init__(self, int row=0, int col=0) -> Position""" + _core_.Position_swiginit(self,_core_.new_Position(*args, **kwargs)) + __swig_destroy__ = _core_.delete_Position + __del__ = lambda self : None; + def GetRow(*args, **kwargs): + """GetRow(self) -> int""" + return _core_.Position_GetRow(*args, **kwargs) + + def GetColumn(*args, **kwargs): + """GetColumn(self) -> int""" + return _core_.Position_GetColumn(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol(self) -> int""" + return _core_.Position_GetCol(*args, **kwargs) + + def SetRow(*args, **kwargs): + """SetRow(self, int row)""" + return _core_.Position_SetRow(*args, **kwargs) + + def SetColumn(*args, **kwargs): + """SetColumn(self, int column)""" + return _core_.Position_SetColumn(*args, **kwargs) + + def SetCol(*args, **kwargs): + """SetCol(self, int column)""" + return _core_.Position_SetCol(*args, **kwargs) + + def __eq__(*args, **kwargs): + """ + __eq__(self, PyObject other) -> bool + + Test for equality of wx.Position objects. + """ + return _core_.Position___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """ + __ne__(self, PyObject other) -> bool + + Test for inequality of wx.Position objects. + """ + return _core_.Position___ne__(*args, **kwargs) + + def __add__(*args): + """ + __add__(self, Position p) -> Position + __add__(self, Size s) -> Position + """ + return _core_.Position___add__(*args) + + def __sub__(*args): + """ + __sub__(self, Position p) -> Position + __sub__(self, Size s) -> Position + """ + return _core_.Position___sub__(*args) + + row = property(GetRow,SetRow) + col = property(GetCol,SetCol) +_core_.Position_swigregister(Position) + #--------------------------------------------------------------------------- FromStart = _core_.FromStart @@ -8140,9 +8207,21 @@ class VisualAttributes(object): _core_.VisualAttributes_swiginit(self,_core_.new_VisualAttributes(*args, **kwargs)) __swig_destroy__ = _core_.delete_VisualAttributes __del__ = lambda self : None; - font = property(_core_.VisualAttributes_font_get, _core_.VisualAttributes_font_set) - colFg = property(_core_.VisualAttributes_colFg_get, _core_.VisualAttributes_colFg_set) - colBg = property(_core_.VisualAttributes_colBg_get, _core_.VisualAttributes_colBg_set) + def _get_font(*args, **kwargs): + """_get_font(self) -> Font""" + return _core_.VisualAttributes__get_font(*args, **kwargs) + + def _get_colFg(*args, **kwargs): + """_get_colFg(self) -> Colour""" + return _core_.VisualAttributes__get_colFg(*args, **kwargs) + + def _get_colBg(*args, **kwargs): + """_get_colBg(self) -> Colour""" + return _core_.VisualAttributes__get_colBg(*args, **kwargs) + + font = property(_get_font) + colFg = property(_get_colFg) + colBg = property(_get_colBg) _core_.VisualAttributes_swigregister(VisualAttributes) NullAcceleratorTable = cvar.NullAcceleratorTable PanelNameStr = cvar.PanelNameStr @@ -9091,6 +9170,10 @@ class Window(EvtHandler): """ return _core_.Window_CanAcceptFocusFromKeyboard(*args, **kwargs) + def SetCanFocus(*args, **kwargs): + """SetCanFocus(self, bool canFocus)""" + return _core_.Window_SetCanFocus(*args, **kwargs) + def NavigateIn(*args, **kwargs): """ NavigateIn(self, int flags=NavigationKeyEvent.IsForward) -> bool diff --git a/wxPython/src/gtk/_core_wrap.cpp b/wxPython/src/gtk/_core_wrap.cpp index d88306aa7b..f5d1fc42cc 100644 --- a/wxPython/src/gtk/_core_wrap.cpp +++ b/wxPython/src/gtk/_core_wrap.cpp @@ -2559,49 +2559,50 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxPaperSize swig_types[93] #define SWIGTYPE_p_wxPoint swig_types[94] #define SWIGTYPE_p_wxPoint2D swig_types[95] -#define SWIGTYPE_p_wxPropagateOnce swig_types[96] -#define SWIGTYPE_p_wxPropagationDisabler swig_types[97] -#define SWIGTYPE_p_wxPyApp swig_types[98] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[99] -#define SWIGTYPE_p_wxPyDropTarget swig_types[100] -#define SWIGTYPE_p_wxPyEvent swig_types[101] -#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[102] -#define SWIGTYPE_p_wxPyImageHandler swig_types[103] -#define SWIGTYPE_p_wxPyInputStream swig_types[104] -#define SWIGTYPE_p_wxPySizer swig_types[105] -#define SWIGTYPE_p_wxPyValidator swig_types[106] -#define SWIGTYPE_p_wxQuantize swig_types[107] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[108] -#define SWIGTYPE_p_wxRealPoint swig_types[109] -#define SWIGTYPE_p_wxRect swig_types[110] -#define SWIGTYPE_p_wxRect2D swig_types[111] -#define SWIGTYPE_p_wxRegion swig_types[112] -#define SWIGTYPE_p_wxScrollEvent swig_types[113] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[114] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[115] -#define SWIGTYPE_p_wxShowEvent swig_types[116] -#define SWIGTYPE_p_wxSize swig_types[117] -#define SWIGTYPE_p_wxSizeEvent swig_types[118] -#define SWIGTYPE_p_wxSizer swig_types[119] -#define SWIGTYPE_p_wxSizerFlags swig_types[120] -#define SWIGTYPE_p_wxSizerItem swig_types[121] -#define SWIGTYPE_p_wxStaticBox swig_types[122] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[123] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[125] -#define SWIGTYPE_p_wxTGAHandler swig_types[126] -#define SWIGTYPE_p_wxTIFFHandler swig_types[127] -#define SWIGTYPE_p_wxToolTip swig_types[128] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[129] -#define SWIGTYPE_p_wxValidator swig_types[130] -#define SWIGTYPE_p_wxVisualAttributes swig_types[131] -#define SWIGTYPE_p_wxWindow swig_types[132] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[133] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[134] -#define SWIGTYPE_p_wxXPMHandler swig_types[135] -#define SWIGTYPE_p_wxZipFSHandler swig_types[136] -static swig_type_info *swig_types[138]; -static swig_module_info swig_module = {swig_types, 137, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxPosition swig_types[96] +#define SWIGTYPE_p_wxPropagateOnce swig_types[97] +#define SWIGTYPE_p_wxPropagationDisabler swig_types[98] +#define SWIGTYPE_p_wxPyApp swig_types[99] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[100] +#define SWIGTYPE_p_wxPyDropTarget swig_types[101] +#define SWIGTYPE_p_wxPyEvent swig_types[102] +#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[103] +#define SWIGTYPE_p_wxPyImageHandler swig_types[104] +#define SWIGTYPE_p_wxPyInputStream swig_types[105] +#define SWIGTYPE_p_wxPySizer swig_types[106] +#define SWIGTYPE_p_wxPyValidator swig_types[107] +#define SWIGTYPE_p_wxQuantize swig_types[108] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[109] +#define SWIGTYPE_p_wxRealPoint swig_types[110] +#define SWIGTYPE_p_wxRect swig_types[111] +#define SWIGTYPE_p_wxRect2D swig_types[112] +#define SWIGTYPE_p_wxRegion swig_types[113] +#define SWIGTYPE_p_wxScrollEvent swig_types[114] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[115] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[116] +#define SWIGTYPE_p_wxShowEvent swig_types[117] +#define SWIGTYPE_p_wxSize swig_types[118] +#define SWIGTYPE_p_wxSizeEvent swig_types[119] +#define SWIGTYPE_p_wxSizer swig_types[120] +#define SWIGTYPE_p_wxSizerFlags swig_types[121] +#define SWIGTYPE_p_wxSizerItem swig_types[122] +#define SWIGTYPE_p_wxStaticBox swig_types[123] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[124] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[125] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126] +#define SWIGTYPE_p_wxTGAHandler swig_types[127] +#define SWIGTYPE_p_wxTIFFHandler swig_types[128] +#define SWIGTYPE_p_wxToolTip swig_types[129] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[130] +#define SWIGTYPE_p_wxValidator swig_types[131] +#define SWIGTYPE_p_wxVisualAttributes swig_types[132] +#define SWIGTYPE_p_wxWindow swig_types[133] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[134] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[135] +#define SWIGTYPE_p_wxXPMHandler swig_types[136] +#define SWIGTYPE_p_wxZipFSHandler swig_types[137] +static swig_type_info *swig_types[139]; +static swig_module_info swig_module = {swig_types, 138, 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) @@ -2899,7 +2900,8 @@ static wxPyCoreAPI API = { wxArrayDouble2PyList_helper, wxPoint2D_LIST_helper, wxRect2D_helper, - + wxPosition_helper, + }; #endif @@ -3208,6 +3210,24 @@ SWIGINTERN PyObject *wxRect2D_Get(wxRect2D *self){ //wxPyEndBlockThreads(blocked); return tup; } +SWIGINTERN bool wxPosition___eq__(wxPosition *self,PyObject *other){ + wxPosition temp, *obj = &temp; + if ( other == Py_None ) return false; + if ( ! wxPosition_helper(other, &obj) ) { + PyErr_Clear(); + return false; + } + return self->operator==(*obj); + } +SWIGINTERN bool wxPosition___ne__(wxPosition *self,PyObject *other){ + wxPosition temp, *obj = &temp; + if ( other == Py_None ) return true; + if ( ! wxPosition_helper(other, &obj)) { + PyErr_Clear(); + return true; + } + return self->operator!=(*obj); + } #include "wx/wxPython/pyistream.h" @@ -3882,6 +3902,9 @@ public: static const wxString wxPyPanelNameStr(wxPanelNameStr); SWIGINTERN wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; } SWIGINTERN void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; } +SWIGINTERN wxFont wxVisualAttributes__get_font(wxVisualAttributes *self){ return self->font; } +SWIGINTERN wxColour wxVisualAttributes__get_colFg(wxVisualAttributes *self){ return self->colFg; } +SWIGINTERN wxColour wxVisualAttributes__get_colBg(wxVisualAttributes *self){ return self->colBg; } SWIGINTERN PyObject *wxWindow_GetChildren(wxWindow *self){ wxWindowList& list = self->GetChildren(); return wxPy_ConvertList(&list); @@ -11470,6 +11493,520 @@ SWIGINTERN PyObject *Rect2D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *a return SWIG_Python_InitShadowInstance(args); } +SWIGINTERN PyObject *_wrap_new_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + int arg1 = (int) 0 ; + int arg2 = (int) 0 ; + wxPosition *result = 0 ; + int val1 ; + int ecode1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "row",(char *) "col", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Position",kwnames,&obj0,&obj1)) SWIG_fail; + if (obj0) { + ecode1 = SWIG_AsVal_int(obj0, &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Position" "', expected argument " "1"" of type '" "int""'"); + } + arg1 = static_cast< int >(val1); + } + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Position" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + { + result = (wxPosition *)new wxPosition(arg1,arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPosition, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Position" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + delete arg1; + + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_GetRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_GetRow" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + result = (int)((wxPosition const *)arg1)->GetRow(); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_GetColumn" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + result = (int)((wxPosition const *)arg1)->GetColumn(); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_GetCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_GetCol" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + result = (int)((wxPosition const *)arg1)->GetCol(); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_SetRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 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 *) "row", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position_SetRow",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_SetRow" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Position_SetRow" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + (arg1)->SetRow(arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 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 *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_SetColumn" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Position_SetColumn" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + (arg1)->SetColumn(arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_SetCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 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 *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position_SetCol",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_SetCol" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Position_SetCol" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + (arg1)->SetCol(arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "other", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position___eq__",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___eq__" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + arg2 = obj1; + { + result = (bool)wxPosition___eq__(arg1,arg2); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "other", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position___ne__",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___ne__" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + arg2 = obj1; + { + result = (bool)wxPosition___ne__(arg1,arg2); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___add____SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + wxPosition *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___add__" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Position___add__" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Position___add__" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + result = ((wxPosition const *)arg1)->operator +((wxPosition const &)*arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + wxPosition *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___sub__" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Position___sub__" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Position___sub__" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + result = ((wxPosition const *)arg1)->operator -((wxPosition const &)*arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___add____SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + wxSize *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + wxSize temp2 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___add__" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + arg2 = &temp2; + if ( ! wxSize_helper(swig_obj[1], &arg2)) SWIG_fail; + } + { + result = ((wxPosition const *)arg1)->operator +((wxSize const &)*arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___add__(PyObject *self, PyObject *args) { + int argc; + PyObject *argv[3]; + + if (!(argc = SWIG_Python_UnpackTuple(args,"Position___add__",0,2,argv))) SWIG_fail; + --argc; + if (argc == 2) { + int _v = 0; + { + int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_wxPosition, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_Position___add____SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + return _wrap_Position___add____SWIG_1(self, argc, argv); + } + +fail: + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +SWIGINTERN PyObject *_wrap_Position___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + wxSize *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + wxSize temp2 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___sub__" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + arg2 = &temp2; + if ( ! wxSize_helper(swig_obj[1], &arg2)) SWIG_fail; + } + { + result = ((wxPosition const *)arg1)->operator -((wxSize const &)*arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___sub__(PyObject *self, PyObject *args) { + int argc; + PyObject *argv[3]; + + if (!(argc = SWIG_Python_UnpackTuple(args,"Position___sub__",0,2,argv))) SWIG_fail; + --argc; + if (argc == 2) { + int _v = 0; + { + int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_wxPosition, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_Position___sub____SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + return _wrap_Position___sub____SWIG_1(self, argc, argv); + } + +fail: + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +SWIGINTERN PyObject *Position_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxPosition, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *Position_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + SWIGINTERN int DefaultPosition_set(PyObject *) { SWIG_Error(SWIG_AttributeError,"Variable DefaultPosition is read-only."); return 1; @@ -32693,40 +33230,10 @@ fail: } -SWIGINTERN PyObject *_wrap_VisualAttributes_font_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxFont *arg2 = (wxFont *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; - - if (!SWIG_Python_UnpackTuple(args,"VisualAttributes_font_set",2,2,swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); - } - arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFont, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'"); - } - arg2 = reinterpret_cast< wxFont * >(argp2); - if (arg1) (arg1)->font = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_VisualAttributes_font_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VisualAttributes__get_font(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxFont *result = 0 ; + wxFont result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -32735,51 +33242,26 @@ SWIGINTERN PyObject *_wrap_VisualAttributes_font_get(PyObject *SWIGUNUSEDPARM(se swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); - } - arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - result = (wxFont *)& ((arg1)->font); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_VisualAttributes_colFg_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour *arg2 = (wxColour *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; - - if (!SWIG_Python_UnpackTuple(args,"VisualAttributes_colFg_set",2,2,swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes__get_font" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); } arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxColour, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'"); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxVisualAttributes__get_font(arg1); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } - arg2 = reinterpret_cast< wxColour * >(argp2); - if (arg1) (arg1)->colFg = *arg2; - - resultobj = SWIG_Py_Void(); + resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VisualAttributes_colFg_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VisualAttributes__get_colFg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour *result = 0 ; + wxColour result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -32788,51 +33270,26 @@ SWIGINTERN PyObject *_wrap_VisualAttributes_colFg_get(PyObject *SWIGUNUSEDPARM(s swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); - } - arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - result = (wxColour *)& ((arg1)->colFg); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_VisualAttributes_colBg_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour *arg2 = (wxColour *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; - - if (!SWIG_Python_UnpackTuple(args,"VisualAttributes_colBg_set",2,2,swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes__get_colFg" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); } arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxColour, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'"); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxVisualAttributes__get_colFg(arg1); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } - arg2 = reinterpret_cast< wxColour * >(argp2); - if (arg1) (arg1)->colBg = *arg2; - - resultobj = SWIG_Py_Void(); + resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VisualAttributes_colBg_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VisualAttributes__get_colBg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour *result = 0 ; + wxColour result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -32841,11 +33298,16 @@ SWIGINTERN PyObject *_wrap_VisualAttributes_colBg_get(PyObject *SWIGUNUSEDPARM(s swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes__get_colBg" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); } arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - result = (wxColour *)& ((arg1)->colBg); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxVisualAttributes__get_colBg(arg1); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -36464,6 +36926,44 @@ fail: } +SWIGINTERN PyObject *_wrap_Window_SetCanFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "canFocus", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCanFocus",kwnames,&obj0,&obj1)) 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_SetCanFocus" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Window_SetCanFocus" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetCanFocus(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_Window_NavigateIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxWindow *arg1 = (wxWindow *) 0 ; @@ -58059,6 +58559,20 @@ static PyMethodDef SwigMethods[] = { { (char *)"Rect2D_Get", (PyCFunction)_wrap_Rect2D_Get, METH_O, NULL}, { (char *)"Rect2D_swigregister", Rect2D_swigregister, METH_VARARGS, NULL}, { (char *)"Rect2D_swiginit", Rect2D_swiginit, METH_VARARGS, NULL}, + { (char *)"new_Position", (PyCFunction) _wrap_new_Position, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_Position", (PyCFunction)_wrap_delete_Position, METH_O, NULL}, + { (char *)"Position_GetRow", (PyCFunction)_wrap_Position_GetRow, METH_O, NULL}, + { (char *)"Position_GetColumn", (PyCFunction)_wrap_Position_GetColumn, METH_O, NULL}, + { (char *)"Position_GetCol", (PyCFunction)_wrap_Position_GetCol, METH_O, NULL}, + { (char *)"Position_SetRow", (PyCFunction) _wrap_Position_SetRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position_SetColumn", (PyCFunction) _wrap_Position_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position_SetCol", (PyCFunction) _wrap_Position_SetCol, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position___eq__", (PyCFunction) _wrap_Position___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position___ne__", (PyCFunction) _wrap_Position___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position___add__", _wrap_Position___add__, METH_VARARGS, NULL}, + { (char *)"Position___sub__", _wrap_Position___sub__, METH_VARARGS, NULL}, + { (char *)"Position_swigregister", Position_swigregister, METH_VARARGS, NULL}, + { (char *)"Position_swiginit", Position_swiginit, METH_VARARGS, NULL}, { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_InputStream", (PyCFunction)_wrap_delete_InputStream, METH_O, NULL}, { (char *)"InputStream_close", (PyCFunction)_wrap_InputStream_close, METH_O, NULL}, @@ -58772,12 +59286,9 @@ static PyMethodDef SwigMethods[] = { { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit, METH_VARARGS, NULL}, { (char *)"new_VisualAttributes", (PyCFunction)_wrap_new_VisualAttributes, METH_NOARGS, NULL}, { (char *)"delete_VisualAttributes", (PyCFunction)_wrap_delete_VisualAttributes, METH_O, NULL}, - { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set, METH_VARARGS, NULL}, - { (char *)"VisualAttributes_font_get", (PyCFunction)_wrap_VisualAttributes_font_get, METH_O, NULL}, - { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set, METH_VARARGS, NULL}, - { (char *)"VisualAttributes_colFg_get", (PyCFunction)_wrap_VisualAttributes_colFg_get, METH_O, NULL}, - { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set, METH_VARARGS, NULL}, - { (char *)"VisualAttributes_colBg_get", (PyCFunction)_wrap_VisualAttributes_colBg_get, METH_O, NULL}, + { (char *)"VisualAttributes__get_font", (PyCFunction)_wrap_VisualAttributes__get_font, METH_O, NULL}, + { (char *)"VisualAttributes__get_colFg", (PyCFunction)_wrap_VisualAttributes__get_colFg, METH_O, NULL}, + { (char *)"VisualAttributes__get_colBg", (PyCFunction)_wrap_VisualAttributes__get_colBg, METH_O, NULL}, { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS, NULL}, { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit, METH_VARARGS, NULL}, { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -58877,6 +59388,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Window_CanAcceptFocus", (PyCFunction)_wrap_Window_CanAcceptFocus, METH_O, NULL}, { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction)_wrap_Window_AcceptsFocusFromKeyboard, METH_O, NULL}, { (char *)"Window_CanAcceptFocusFromKeyboard", (PyCFunction)_wrap_Window_CanAcceptFocusFromKeyboard, METH_O, NULL}, + { (char *)"Window_SetCanFocus", (PyCFunction) _wrap_Window_SetCanFocus, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Window_NavigateIn", (PyCFunction) _wrap_Window_NavigateIn, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -60086,6 +60598,7 @@ static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEve static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPoint2D = {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxPosition = {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPropagateOnce = {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPropagationDisabler = {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0}; @@ -60225,6 +60738,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxPaperSize, &_swigt__p_wxPoint, &_swigt__p_wxPoint2D, + &_swigt__p_wxPosition, &_swigt__p_wxPropagateOnce, &_swigt__p_wxPropagationDisabler, &_swigt__p_wxPyApp, @@ -60364,6 +60878,7 @@ static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = { {&_swigt__p_wxPalet static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPoint2D[] = { {&_swigt__p_wxPoint2D, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPosition[] = { {&_swigt__p_wxPosition, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPropagateOnce[] = { {&_swigt__p_wxPropagateOnce, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPropagationDisabler[] = { {&_swigt__p_wxPropagationDisabler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyApp[] = { {&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; @@ -60503,6 +61018,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxPaperSize, _swigc__p_wxPoint, _swigc__p_wxPoint2D, + _swigc__p_wxPosition, _swigc__p_wxPropagateOnce, _swigc__p_wxPropagationDisabler, _swigc__p_wxPyApp, diff --git a/wxPython/src/gtk/_gdi.py b/wxPython/src/gtk/_gdi.py index eee7429773..0868c4acfe 100644 --- a/wxPython/src/gtk/_gdi.py +++ b/wxPython/src/gtk/_gdi.py @@ -1230,19 +1230,73 @@ class IconBundle(object): _gdi_.IconBundle_swiginit(self,_gdi_.new_IconBundle(*args, **kwargs)) __swig_destroy__ = _gdi_.delete_IconBundle __del__ = lambda self : None; + def IsOk(*args, **kwargs): + """IsOk(self) -> bool""" + return _gdi_.IconBundle_IsOk(*args, **kwargs) + + def __nonzero__(self): return self.IsOk() def AddIcon(*args, **kwargs): - """AddIcon(self, Icon icon)""" + """ + AddIcon(self, Icon icon) + + Adds the icon to the collection, if the collection already contains an + icon with the same width and height, it is replaced + """ return _gdi_.IconBundle_AddIcon(*args, **kwargs) def AddIconFromFile(*args, **kwargs): - """AddIconFromFile(self, String file, long type)""" + """ + AddIconFromFile(self, String file, long type) + + Adds all the icons contained in the file to the collection, if the + collection already contains icons with the same width and height, they + are replaced + """ return _gdi_.IconBundle_AddIconFromFile(*args, **kwargs) def GetIcon(*args, **kwargs): - """GetIcon(self, Size size) -> Icon""" + """ + GetIcon(self, Size size) -> Icon + + Returns the icon with the given size; if no such icon exists, returns + the icon with size wxSYS_ICON_[XY]; if no such icon exists, returns + the first icon in the bundle + """ return _gdi_.IconBundle_GetIcon(*args, **kwargs) - Icon = property(GetIcon,doc="See `GetIcon`") + def GetIconOfExactSize(*args, **kwargs): + """ + GetIconOfExactSize(self, Size size) -> Icon + + Returns the icon exactly of the specified size or wxNullIcon if no + icon of exactly given size are available. + """ + return _gdi_.IconBundle_GetIconOfExactSize(*args, **kwargs) + + def GetIconCount(*args, **kwargs): + """ + GetIconCount(self) -> size_t + + return the number of available icons + """ + return _gdi_.IconBundle_GetIconCount(*args, **kwargs) + + def GetIconByIndex(*args, **kwargs): + """ + GetIconByIndex(self, size_t n) -> Icon + + Return the icon at index (must be < GetIconCount()) + """ + return _gdi_.IconBundle_GetIconByIndex(*args, **kwargs) + + def IsEmpty(*args, **kwargs): + """ + IsEmpty(self) -> bool + + Check if we have any icons at all + """ + return _gdi_.IconBundle_IsEmpty(*args, **kwargs) + _gdi_.IconBundle_swigregister(IconBundle) def IconBundleFromFile(*args, **kwargs): @@ -6258,6 +6312,7 @@ NullBrush = cvar.NullBrush NullPalette = cvar.NullPalette NullFont = cvar.NullFont NullColour = cvar.NullColour +NullIconBundle = cvar.NullIconBundle class PenList(GDIObjListBase): """Proxy of C++ PenList class""" diff --git a/wxPython/src/gtk/_gdi_wrap.cpp b/wxPython/src/gtk/_gdi_wrap.cpp index b055a6547a..d4b785e4a4 100644 --- a/wxPython/src/gtk/_gdi_wrap.cpp +++ b/wxPython/src/gtk/_gdi_wrap.cpp @@ -3243,6 +3243,23 @@ SWIGINTERN int wxIconLocation_GetIndex(wxIconLocation *self){ return -1; } + +SWIGINTERNINLINE PyObject * +SWIG_From_size_t (size_t value) +{ + return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); +} + + +SWIGINTERNINLINE int +SWIG_AsVal_size_t (PyObject * obj, size_t *val) +{ + unsigned long v; + int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); + if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); + return res; +} + SWIGINTERN wxCursor *new_wxCursor(wxString const &cursorName,long type,int hotSpotX=0,int hotSpotY=0){ #ifdef __WXGTK__ wxImage img(cursorName, type); @@ -3278,23 +3295,6 @@ SWIGINTERN wxString wxNativeFontInfo___str__(wxNativeFontInfo *self){ return NULL; } - -SWIGINTERNINLINE PyObject * -SWIG_From_size_t (size_t value) -{ - return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); -} - - -SWIGINTERNINLINE int -SWIG_AsVal_size_t (PyObject * obj, size_t *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); - if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); - return res; -} - SWIGINTERN PyObject *wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,wxString const &facename=wxPyEmptyString,bool interactive=true){ wxFontEncoding alt_enc; if (self->GetAltForEncoding(encoding, &alt_enc, facename, interactive)) @@ -9980,6 +9980,36 @@ fail: } +SWIGINTERN PyObject *_wrap_IconBundle_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_IsOk" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxIconBundle const *)arg1)->IsOk(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_IconBundle_AddIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxIconBundle *arg1 = (wxIconBundle *) 0 ; @@ -10118,6 +10148,140 @@ fail: } +SWIGINTERN PyObject *_wrap_IconBundle_GetIconOfExactSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + wxSize *arg2 = 0 ; + wxIcon result; + void *argp1 = 0 ; + int res1 = 0 ; + wxSize temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "size", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIconOfExactSize",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_GetIconOfExactSize" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + { + arg2 = &temp2; + if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxIconBundle const *)arg1)->GetIconOfExactSize((wxSize const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IconBundle_GetIconCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_GetIconCount" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxIconBundle const *)arg1)->GetIconCount(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IconBundle_GetIconByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + size_t arg2 ; + wxIcon result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "n", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIconByIndex",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxIconBundle const *)arg1)->GetIconByIndex(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IconBundle_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_IsEmpty" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxIconBundle const *)arg1)->IsEmpty(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *IconBundle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; @@ -32276,6 +32440,20 @@ SWIGINTERN PyObject *NullColour_get(void) { } +SWIGINTERN int NullIconBundle_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable NullIconBundle is read-only."); + return 1; +} + + +SWIGINTERN PyObject *NullIconBundle_get(void) { + PyObject *pyobj = 0; + + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIconBundle), SWIGTYPE_p_wxIconBundle, 0 ); + return pyobj; +} + + SWIGINTERN PyObject *_wrap_new_GDIObjListBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxGDIObjListBase *result = 0 ; @@ -38667,9 +38845,14 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_IconBundleFromFile", (PyCFunction) _wrap_new_IconBundleFromFile, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_IconBundleFromIcon", (PyCFunction) _wrap_new_IconBundleFromIcon, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_IconBundle", (PyCFunction)_wrap_delete_IconBundle, METH_O, NULL}, + { (char *)"IconBundle_IsOk", (PyCFunction)_wrap_IconBundle_IsOk, METH_O, NULL}, { (char *)"IconBundle_AddIcon", (PyCFunction) _wrap_IconBundle_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"IconBundle_AddIconFromFile", (PyCFunction) _wrap_IconBundle_AddIconFromFile, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"IconBundle_GetIcon", (PyCFunction) _wrap_IconBundle_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IconBundle_GetIconOfExactSize", (PyCFunction) _wrap_IconBundle_GetIconOfExactSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IconBundle_GetIconCount", (PyCFunction)_wrap_IconBundle_GetIconCount, METH_O, NULL}, + { (char *)"IconBundle_GetIconByIndex", (PyCFunction) _wrap_IconBundle_GetIconByIndex, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IconBundle_IsEmpty", (PyCFunction)_wrap_IconBundle_IsEmpty, METH_O, NULL}, { (char *)"IconBundle_swigregister", IconBundle_swigregister, METH_VARARGS, NULL}, { (char *)"IconBundle_swiginit", IconBundle_swiginit, METH_VARARGS, NULL}, { (char *)"new_Cursor", (PyCFunction) _wrap_new_Cursor, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -41522,6 +41705,7 @@ SWIGEXPORT void SWIG_init(void) { SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get, NullPalette_set); SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get, NullFont_set); SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get, NullColour_set); + SWIG_addvarlink(SWIG_globals(),(char*)"NullIconBundle",NullIconBundle_get, NullIconBundle_set); SWIG_Python_SetConstant(d, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED))); SWIG_Python_SetConstant(d, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED))); SWIG_Python_SetConstant(d, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED))); diff --git a/wxPython/src/gtk/_misc.py b/wxPython/src/gtk/_misc.py index b47baf4d0e..5c368ee831 100644 --- a/wxPython/src/gtk/_misc.py +++ b/wxPython/src/gtk/_misc.py @@ -1986,6 +1986,8 @@ EXEC_SYNC = _misc_.EXEC_SYNC EXEC_NOHIDE = _misc_.EXEC_NOHIDE EXEC_MAKE_GROUP_LEADER = _misc_.EXEC_MAKE_GROUP_LEADER EXEC_NODISABLE = _misc_.EXEC_NODISABLE +EXEC_NOEVENTS = _misc_.EXEC_NOEVENTS +EXEC_BLOCK = _misc_.EXEC_BLOCK def Execute(*args, **kwargs): """Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long""" @@ -2712,6 +2714,16 @@ class ArtProvider(object): return _misc_.ArtProvider_GetIcon(*args, **kwargs) GetIcon = staticmethod(GetIcon) + def GetIconBundle(*args, **kwargs): + """ + GetIconBundle(wxArtID id, wxArtClient client=wxART_OTHER) -> wxIconBundle + + Query the providers for iconbundle with given ID and return it. Return + wx.NullIconBundle if no provider provides it. + """ + return _misc_.ArtProvider_GetIconBundle(*args, **kwargs) + + GetIconBundle = staticmethod(GetIconBundle) def GetSizeHint(*args, **kwargs): """ GetSizeHint(String client, bool platform_dependent=False) -> Size @@ -2735,6 +2747,7 @@ ART_CMN_DIALOG = cvar.ART_CMN_DIALOG ART_HELP_BROWSER = cvar.ART_HELP_BROWSER ART_MESSAGE_BOX = cvar.ART_MESSAGE_BOX ART_BUTTON = cvar.ART_BUTTON +ART_LIST = cvar.ART_LIST ART_OTHER = cvar.ART_OTHER ART_ADD_BOOKMARK = cvar.ART_ADD_BOOKMARK ART_DEL_BOOKMARK = cvar.ART_DEL_BOOKMARK @@ -2838,6 +2851,15 @@ def ArtProvider_GetIcon(*args, **kwargs): """ return _misc_.ArtProvider_GetIcon(*args, **kwargs) +def ArtProvider_GetIconBundle(*args, **kwargs): + """ + ArtProvider_GetIconBundle(wxArtID id, wxArtClient client=wxART_OTHER) -> wxIconBundle + + Query the providers for iconbundle with given ID and return it. Return + wx.NullIconBundle if no provider provides it. + """ + return _misc_.ArtProvider_GetIconBundle(*args, **kwargs) + def ArtProvider_GetSizeHint(*args, **kwargs): """ ArtProvider_GetSizeHint(String client, bool platform_dependent=False) -> Size diff --git a/wxPython/src/gtk/_misc_wrap.cpp b/wxPython/src/gtk/_misc_wrap.cpp index fc0d3c4ea9..acd06368b2 100644 --- a/wxPython/src/gtk/_misc_wrap.cpp +++ b/wxPython/src/gtk/_misc_wrap.cpp @@ -2475,171 +2475,174 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxAcceleratorTable swig_types[9] #define SWIGTYPE_p_wxActivateEvent swig_types[10] #define SWIGTYPE_p_wxArrayString swig_types[11] -#define SWIGTYPE_p_wxBMPHandler swig_types[12] -#define SWIGTYPE_p_wxBitmap swig_types[13] -#define SWIGTYPE_p_wxBitmapDataObject swig_types[14] -#define SWIGTYPE_p_wxBoxSizer swig_types[15] -#define SWIGTYPE_p_wxBusyCursor swig_types[16] -#define SWIGTYPE_p_wxBusyInfo swig_types[17] -#define SWIGTYPE_p_wxCURHandler swig_types[18] -#define SWIGTYPE_p_wxCaret swig_types[19] -#define SWIGTYPE_p_wxChar swig_types[20] -#define SWIGTYPE_p_wxChildFocusEvent swig_types[21] -#define SWIGTYPE_p_wxClipboard swig_types[22] -#define SWIGTYPE_p_wxClipboardLocker swig_types[23] -#define SWIGTYPE_p_wxClipboardTextEvent swig_types[24] -#define SWIGTYPE_p_wxCloseEvent swig_types[25] -#define SWIGTYPE_p_wxColour swig_types[26] -#define SWIGTYPE_p_wxCommandEvent swig_types[27] -#define SWIGTYPE_p_wxConfig swig_types[28] -#define SWIGTYPE_p_wxConfigBase swig_types[29] -#define SWIGTYPE_p_wxConfigPathChanger swig_types[30] -#define SWIGTYPE_p_wxContextMenuEvent swig_types[31] -#define SWIGTYPE_p_wxControl swig_types[32] -#define SWIGTYPE_p_wxControlWithItems swig_types[33] -#define SWIGTYPE_p_wxCursor swig_types[34] -#define SWIGTYPE_p_wxCustomDataObject swig_types[35] -#define SWIGTYPE_p_wxDC swig_types[36] -#define SWIGTYPE_p_wxDataFormat swig_types[37] -#define SWIGTYPE_p_wxDataObject swig_types[38] -#define SWIGTYPE_p_wxDataObjectComposite swig_types[39] -#define SWIGTYPE_p_wxDataObjectSimple swig_types[40] -#define SWIGTYPE_p_wxDateEvent swig_types[41] -#define SWIGTYPE_p_wxDateSpan swig_types[42] -#define SWIGTYPE_p_wxDateTime swig_types[43] -#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[44] -#define SWIGTYPE_p_wxDisplay swig_types[45] -#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46] -#define SWIGTYPE_p_wxDropFilesEvent swig_types[47] -#define SWIGTYPE_p_wxDuplexMode swig_types[48] -#define SWIGTYPE_p_wxEraseEvent swig_types[49] -#define SWIGTYPE_p_wxEvent swig_types[50] -#define SWIGTYPE_p_wxEventBlocker swig_types[51] -#define SWIGTYPE_p_wxEvtHandler swig_types[52] -#define SWIGTYPE_p_wxFSFile swig_types[53] -#define SWIGTYPE_p_wxFileConfig swig_types[54] -#define SWIGTYPE_p_wxFileDataObject swig_types[55] -#define SWIGTYPE_p_wxFileHistory swig_types[56] -#define SWIGTYPE_p_wxFileSystem swig_types[57] -#define SWIGTYPE_p_wxFileType swig_types[58] -#define SWIGTYPE_p_wxFileTypeInfo swig_types[59] -#define SWIGTYPE_p_wxFlexGridSizer swig_types[60] -#define SWIGTYPE_p_wxFocusEvent swig_types[61] -#define SWIGTYPE_p_wxFont swig_types[62] -#define SWIGTYPE_p_wxFrame swig_types[63] -#define SWIGTYPE_p_wxGBSizerItem swig_types[64] -#define SWIGTYPE_p_wxGIFHandler swig_types[65] -#define SWIGTYPE_p_wxGridBagSizer swig_types[66] -#define SWIGTYPE_p_wxGridSizer swig_types[67] -#define SWIGTYPE_p_wxICOHandler swig_types[68] -#define SWIGTYPE_p_wxIcon swig_types[69] -#define SWIGTYPE_p_wxIconizeEvent swig_types[70] -#define SWIGTYPE_p_wxIdleEvent swig_types[71] -#define SWIGTYPE_p_wxImage swig_types[72] -#define SWIGTYPE_p_wxImageHandler swig_types[73] -#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[74] -#define SWIGTYPE_p_wxInitDialogEvent swig_types[75] -#define SWIGTYPE_p_wxJPEGHandler swig_types[76] -#define SWIGTYPE_p_wxJoystick swig_types[77] -#define SWIGTYPE_p_wxJoystickEvent swig_types[78] -#define SWIGTYPE_p_wxKeyEvent swig_types[79] -#define SWIGTYPE_p_wxKillError swig_types[80] -#define SWIGTYPE_p_wxLayoutConstraints swig_types[81] -#define SWIGTYPE_p_wxLog swig_types[82] -#define SWIGTYPE_p_wxLogBuffer swig_types[83] -#define SWIGTYPE_p_wxLogChain swig_types[84] -#define SWIGTYPE_p_wxLogGui swig_types[85] -#define SWIGTYPE_p_wxLogNull swig_types[86] -#define SWIGTYPE_p_wxLogStderr swig_types[87] -#define SWIGTYPE_p_wxLogTextCtrl swig_types[88] -#define SWIGTYPE_p_wxLogWindow swig_types[89] -#define SWIGTYPE_p_wxMaximizeEvent swig_types[90] -#define SWIGTYPE_p_wxMenu swig_types[91] -#define SWIGTYPE_p_wxMenuBar swig_types[92] -#define SWIGTYPE_p_wxMenuEvent swig_types[93] -#define SWIGTYPE_p_wxMenuItem swig_types[94] -#define SWIGTYPE_p_wxMetafileDataObject swig_types[95] -#define SWIGTYPE_p_wxMimeTypesManager swig_types[96] -#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[97] -#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[98] -#define SWIGTYPE_p_wxMouseEvent swig_types[99] -#define SWIGTYPE_p_wxMouseState swig_types[100] -#define SWIGTYPE_p_wxMoveEvent swig_types[101] -#define SWIGTYPE_p_wxMutexGuiLocker swig_types[102] -#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103] -#define SWIGTYPE_p_wxNcPaintEvent swig_types[104] -#define SWIGTYPE_p_wxNotifyEvent swig_types[105] -#define SWIGTYPE_p_wxObject swig_types[106] -#define SWIGTYPE_p_wxOutputStream swig_types[107] -#define SWIGTYPE_p_wxPCXHandler swig_types[108] -#define SWIGTYPE_p_wxPNGHandler swig_types[109] -#define SWIGTYPE_p_wxPNMHandler swig_types[110] -#define SWIGTYPE_p_wxPaintEvent swig_types[111] -#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112] -#define SWIGTYPE_p_wxPaperSize swig_types[113] -#define SWIGTYPE_p_wxPlatformInfo swig_types[114] -#define SWIGTYPE_p_wxPoint swig_types[115] -#define SWIGTYPE_p_wxPowerEvent swig_types[116] -#define SWIGTYPE_p_wxProcessEvent swig_types[117] -#define SWIGTYPE_p_wxPyApp swig_types[118] -#define SWIGTYPE_p_wxPyArtProvider swig_types[119] -#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[120] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[121] -#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[122] -#define SWIGTYPE_p_wxPyDropSource swig_types[123] -#define SWIGTYPE_p_wxPyDropTarget swig_types[124] -#define SWIGTYPE_p_wxPyEvent swig_types[125] -#define SWIGTYPE_p_wxPyFileDropTarget swig_types[126] -#define SWIGTYPE_p_wxPyImageHandler swig_types[127] -#define SWIGTYPE_p_wxPyLog swig_types[128] -#define SWIGTYPE_p_wxPyProcess swig_types[129] -#define SWIGTYPE_p_wxPySizer swig_types[130] -#define SWIGTYPE_p_wxPyTextDataObject swig_types[131] -#define SWIGTYPE_p_wxPyTextDropTarget swig_types[132] -#define SWIGTYPE_p_wxPyTimer swig_types[133] -#define SWIGTYPE_p_wxPyTipProvider swig_types[134] -#define SWIGTYPE_p_wxPyValidator swig_types[135] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[136] -#define SWIGTYPE_p_wxRect swig_types[137] -#define SWIGTYPE_p_wxScrollEvent swig_types[138] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[139] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[140] -#define SWIGTYPE_p_wxShowEvent swig_types[141] -#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[142] -#define SWIGTYPE_p_wxSize swig_types[143] -#define SWIGTYPE_p_wxSizeEvent swig_types[144] -#define SWIGTYPE_p_wxSizer swig_types[145] -#define SWIGTYPE_p_wxSizerItem swig_types[146] -#define SWIGTYPE_p_wxSound swig_types[147] -#define SWIGTYPE_p_wxStandardPaths swig_types[148] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[149] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150] -#define SWIGTYPE_p_wxStopWatch swig_types[151] -#define SWIGTYPE_p_wxString swig_types[152] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153] -#define SWIGTYPE_p_wxSystemOptions swig_types[154] -#define SWIGTYPE_p_wxSystemSettings swig_types[155] -#define SWIGTYPE_p_wxTGAHandler swig_types[156] -#define SWIGTYPE_p_wxTIFFHandler swig_types[157] -#define SWIGTYPE_p_wxTextCtrl swig_types[158] -#define SWIGTYPE_p_wxTextDataObject swig_types[159] -#define SWIGTYPE_p_wxTimeSpan swig_types[160] -#define SWIGTYPE_p_wxTimer swig_types[161] -#define SWIGTYPE_p_wxTimerEvent swig_types[162] -#define SWIGTYPE_p_wxTimerRunner swig_types[163] -#define SWIGTYPE_p_wxTipProvider swig_types[164] -#define SWIGTYPE_p_wxToolTip swig_types[165] -#define SWIGTYPE_p_wxURLDataObject swig_types[166] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[167] -#define SWIGTYPE_p_wxValidator swig_types[168] -#define SWIGTYPE_p_wxVideoMode swig_types[169] -#define SWIGTYPE_p_wxWindow swig_types[170] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[171] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[172] -#define SWIGTYPE_p_wxWindowDisabler swig_types[173] -#define SWIGTYPE_p_wxXPMHandler swig_types[174] -static swig_type_info *swig_types[176]; -static swig_module_info swig_module = {swig_types, 175, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxArtClient swig_types[12] +#define SWIGTYPE_p_wxArtID swig_types[13] +#define SWIGTYPE_p_wxBMPHandler swig_types[14] +#define SWIGTYPE_p_wxBitmap swig_types[15] +#define SWIGTYPE_p_wxBitmapDataObject swig_types[16] +#define SWIGTYPE_p_wxBoxSizer swig_types[17] +#define SWIGTYPE_p_wxBusyCursor swig_types[18] +#define SWIGTYPE_p_wxBusyInfo swig_types[19] +#define SWIGTYPE_p_wxCURHandler swig_types[20] +#define SWIGTYPE_p_wxCaret swig_types[21] +#define SWIGTYPE_p_wxChar swig_types[22] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[23] +#define SWIGTYPE_p_wxClipboard swig_types[24] +#define SWIGTYPE_p_wxClipboardLocker swig_types[25] +#define SWIGTYPE_p_wxClipboardTextEvent swig_types[26] +#define SWIGTYPE_p_wxCloseEvent swig_types[27] +#define SWIGTYPE_p_wxColour swig_types[28] +#define SWIGTYPE_p_wxCommandEvent swig_types[29] +#define SWIGTYPE_p_wxConfig swig_types[30] +#define SWIGTYPE_p_wxConfigBase swig_types[31] +#define SWIGTYPE_p_wxConfigPathChanger swig_types[32] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[33] +#define SWIGTYPE_p_wxControl swig_types[34] +#define SWIGTYPE_p_wxControlWithItems swig_types[35] +#define SWIGTYPE_p_wxCursor swig_types[36] +#define SWIGTYPE_p_wxCustomDataObject swig_types[37] +#define SWIGTYPE_p_wxDC swig_types[38] +#define SWIGTYPE_p_wxDataFormat swig_types[39] +#define SWIGTYPE_p_wxDataObject swig_types[40] +#define SWIGTYPE_p_wxDataObjectComposite swig_types[41] +#define SWIGTYPE_p_wxDataObjectSimple swig_types[42] +#define SWIGTYPE_p_wxDateEvent swig_types[43] +#define SWIGTYPE_p_wxDateSpan swig_types[44] +#define SWIGTYPE_p_wxDateTime swig_types[45] +#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[46] +#define SWIGTYPE_p_wxDisplay swig_types[47] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[48] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[49] +#define SWIGTYPE_p_wxDuplexMode swig_types[50] +#define SWIGTYPE_p_wxEraseEvent swig_types[51] +#define SWIGTYPE_p_wxEvent swig_types[52] +#define SWIGTYPE_p_wxEventBlocker swig_types[53] +#define SWIGTYPE_p_wxEvtHandler swig_types[54] +#define SWIGTYPE_p_wxFSFile swig_types[55] +#define SWIGTYPE_p_wxFileConfig swig_types[56] +#define SWIGTYPE_p_wxFileDataObject swig_types[57] +#define SWIGTYPE_p_wxFileHistory swig_types[58] +#define SWIGTYPE_p_wxFileSystem swig_types[59] +#define SWIGTYPE_p_wxFileType swig_types[60] +#define SWIGTYPE_p_wxFileTypeInfo swig_types[61] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[62] +#define SWIGTYPE_p_wxFocusEvent swig_types[63] +#define SWIGTYPE_p_wxFont swig_types[64] +#define SWIGTYPE_p_wxFrame swig_types[65] +#define SWIGTYPE_p_wxGBSizerItem swig_types[66] +#define SWIGTYPE_p_wxGIFHandler swig_types[67] +#define SWIGTYPE_p_wxGridBagSizer swig_types[68] +#define SWIGTYPE_p_wxGridSizer swig_types[69] +#define SWIGTYPE_p_wxICOHandler swig_types[70] +#define SWIGTYPE_p_wxIcon swig_types[71] +#define SWIGTYPE_p_wxIconBundle swig_types[72] +#define SWIGTYPE_p_wxIconizeEvent swig_types[73] +#define SWIGTYPE_p_wxIdleEvent swig_types[74] +#define SWIGTYPE_p_wxImage swig_types[75] +#define SWIGTYPE_p_wxImageHandler swig_types[76] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[77] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[78] +#define SWIGTYPE_p_wxJPEGHandler swig_types[79] +#define SWIGTYPE_p_wxJoystick swig_types[80] +#define SWIGTYPE_p_wxJoystickEvent swig_types[81] +#define SWIGTYPE_p_wxKeyEvent swig_types[82] +#define SWIGTYPE_p_wxKillError swig_types[83] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[84] +#define SWIGTYPE_p_wxLog swig_types[85] +#define SWIGTYPE_p_wxLogBuffer swig_types[86] +#define SWIGTYPE_p_wxLogChain swig_types[87] +#define SWIGTYPE_p_wxLogGui swig_types[88] +#define SWIGTYPE_p_wxLogNull swig_types[89] +#define SWIGTYPE_p_wxLogStderr swig_types[90] +#define SWIGTYPE_p_wxLogTextCtrl swig_types[91] +#define SWIGTYPE_p_wxLogWindow swig_types[92] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[93] +#define SWIGTYPE_p_wxMenu swig_types[94] +#define SWIGTYPE_p_wxMenuBar swig_types[95] +#define SWIGTYPE_p_wxMenuEvent swig_types[96] +#define SWIGTYPE_p_wxMenuItem swig_types[97] +#define SWIGTYPE_p_wxMetafileDataObject swig_types[98] +#define SWIGTYPE_p_wxMimeTypesManager swig_types[99] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100] +#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101] +#define SWIGTYPE_p_wxMouseEvent swig_types[102] +#define SWIGTYPE_p_wxMouseState swig_types[103] +#define SWIGTYPE_p_wxMoveEvent swig_types[104] +#define SWIGTYPE_p_wxMutexGuiLocker swig_types[105] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[107] +#define SWIGTYPE_p_wxNotifyEvent swig_types[108] +#define SWIGTYPE_p_wxObject swig_types[109] +#define SWIGTYPE_p_wxOutputStream swig_types[110] +#define SWIGTYPE_p_wxPCXHandler swig_types[111] +#define SWIGTYPE_p_wxPNGHandler swig_types[112] +#define SWIGTYPE_p_wxPNMHandler swig_types[113] +#define SWIGTYPE_p_wxPaintEvent swig_types[114] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115] +#define SWIGTYPE_p_wxPaperSize swig_types[116] +#define SWIGTYPE_p_wxPlatformInfo swig_types[117] +#define SWIGTYPE_p_wxPoint swig_types[118] +#define SWIGTYPE_p_wxPowerEvent swig_types[119] +#define SWIGTYPE_p_wxProcessEvent swig_types[120] +#define SWIGTYPE_p_wxPyApp swig_types[121] +#define SWIGTYPE_p_wxPyArtProvider swig_types[122] +#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[123] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[124] +#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[125] +#define SWIGTYPE_p_wxPyDropSource swig_types[126] +#define SWIGTYPE_p_wxPyDropTarget swig_types[127] +#define SWIGTYPE_p_wxPyEvent swig_types[128] +#define SWIGTYPE_p_wxPyFileDropTarget swig_types[129] +#define SWIGTYPE_p_wxPyImageHandler swig_types[130] +#define SWIGTYPE_p_wxPyLog swig_types[131] +#define SWIGTYPE_p_wxPyProcess swig_types[132] +#define SWIGTYPE_p_wxPySizer swig_types[133] +#define SWIGTYPE_p_wxPyTextDataObject swig_types[134] +#define SWIGTYPE_p_wxPyTextDropTarget swig_types[135] +#define SWIGTYPE_p_wxPyTimer swig_types[136] +#define SWIGTYPE_p_wxPyTipProvider swig_types[137] +#define SWIGTYPE_p_wxPyValidator swig_types[138] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[139] +#define SWIGTYPE_p_wxRect swig_types[140] +#define SWIGTYPE_p_wxScrollEvent swig_types[141] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[142] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[143] +#define SWIGTYPE_p_wxShowEvent swig_types[144] +#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[145] +#define SWIGTYPE_p_wxSize swig_types[146] +#define SWIGTYPE_p_wxSizeEvent swig_types[147] +#define SWIGTYPE_p_wxSizer swig_types[148] +#define SWIGTYPE_p_wxSizerItem swig_types[149] +#define SWIGTYPE_p_wxSound swig_types[150] +#define SWIGTYPE_p_wxStandardPaths swig_types[151] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[152] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153] +#define SWIGTYPE_p_wxStopWatch swig_types[154] +#define SWIGTYPE_p_wxString swig_types[155] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[156] +#define SWIGTYPE_p_wxSystemOptions swig_types[157] +#define SWIGTYPE_p_wxSystemSettings swig_types[158] +#define SWIGTYPE_p_wxTGAHandler swig_types[159] +#define SWIGTYPE_p_wxTIFFHandler swig_types[160] +#define SWIGTYPE_p_wxTextCtrl swig_types[161] +#define SWIGTYPE_p_wxTextDataObject swig_types[162] +#define SWIGTYPE_p_wxTimeSpan swig_types[163] +#define SWIGTYPE_p_wxTimer swig_types[164] +#define SWIGTYPE_p_wxTimerEvent swig_types[165] +#define SWIGTYPE_p_wxTimerRunner swig_types[166] +#define SWIGTYPE_p_wxTipProvider swig_types[167] +#define SWIGTYPE_p_wxToolTip swig_types[168] +#define SWIGTYPE_p_wxURLDataObject swig_types[169] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[170] +#define SWIGTYPE_p_wxValidator swig_types[171] +#define SWIGTYPE_p_wxVideoMode swig_types[172] +#define SWIGTYPE_p_wxWindow swig_types[173] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[174] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175] +#define SWIGTYPE_p_wxWindowDisabler swig_types[176] +#define SWIGTYPE_p_wxXPMHandler swig_types[177] +static swig_type_info *swig_types[179]; +static swig_module_info swig_module = {swig_types, 178, 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) @@ -3466,6 +3469,7 @@ SWIGINTERN PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *sel static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER); static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX); static const wxString wxPyART_BUTTON(wxART_BUTTON); + static const wxString wxPyART_LIST(wxART_LIST); static const wxString wxPyART_OTHER(wxART_OTHER); static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK); static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK); @@ -3545,6 +3549,30 @@ public: return rval; } + virtual wxIconBundle CreateIconBundle(const wxArtID& id, + const wxArtClient& client) + { + wxIconBundle rval = wxNullIconBundle; + wxPyBlock_t blocked = wxPyBeginBlockThreads(); + if ((wxPyCBH_findCallback(m_myInst, "CreateIconBundle"))) { + PyObject* ro; + wxIconBundle* ptr; + PyObject* s1, *s2; + s1 = wx2PyString(id); + s2 = wx2PyString(client); + ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OO)", s1, s2)); + Py_DECREF(s1); + Py_DECREF(s2); + if (ro) { + if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxIconBundle"))) + rval = *ptr; + Py_DECREF(ro); + } + } + wxPyEndBlockThreads(blocked); + return rval; + } + PYPRIVATE; }; @@ -19433,6 +19461,26 @@ SWIGINTERN PyObject *ART_BUTTON_get(void) { } +SWIGINTERN int ART_LIST_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable ART_LIST is read-only."); + return 1; +} + + +SWIGINTERN PyObject *ART_LIST_get(void) { + PyObject *pyobj = 0; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_LIST)->c_str(), (&wxPyART_LIST)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_LIST)->c_str(), (&wxPyART_LIST)->Len()); +#endif + } + return pyobj; +} + + SWIGINTERN int ART_OTHER_set(PyObject *) { SWIG_Error(SWIG_AttributeError,"Variable ART_OTHER is read-only."); return 1; @@ -20735,6 +20783,54 @@ fail: } +SWIGINTERN PyObject *_wrap_ArtProvider_GetIconBundle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxArtID *arg1 = 0 ; + wxArtClient const &arg2_defvalue = wxART_OTHER ; + wxArtClient *arg2 = (wxArtClient *) &arg2_defvalue ; + wxIconBundle result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "id",(char *) "client", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetIconBundle",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxArtID, 0 | 0); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ArtProvider_GetIconBundle" "', expected argument " "1"" of type '" "wxArtID const &""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ArtProvider_GetIconBundle" "', expected argument " "1"" of type '" "wxArtID const &""'"); + } + arg1 = reinterpret_cast< wxArtID * >(argp1); + if (obj1) { + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxArtClient, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ArtProvider_GetIconBundle" "', expected argument " "2"" of type '" "wxArtClient const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ArtProvider_GetIconBundle" "', expected argument " "2"" of type '" "wxArtClient const &""'"); + } + arg2 = reinterpret_cast< wxArtClient * >(argp2); + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxPyArtProvider::GetIconBundle((wxArtID const &)*arg1,(wxArtClient const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxIconBundle(static_cast< const wxIconBundle& >(result))), SWIGTYPE_p_wxIconBundle, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxString *arg1 = 0 ; @@ -39619,6 +39715,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"ArtProvider_Delete", (PyCFunction) _wrap_ArtProvider_Delete, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ArtProvider_GetIconBundle", (PyCFunction) _wrap_ArtProvider_GetIconBundle, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_Destroy", (PyCFunction)_wrap_ArtProvider_Destroy, METH_O, NULL}, { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL}, @@ -40687,6 +40784,8 @@ static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned l static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxAboutDialogInfo = {"_p_wxAboutDialogInfo", "wxAboutDialogInfo *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxArtClient = {"_p_wxArtClient", "wxArtClient *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxArtID = {"_p_wxArtID", "wxArtID *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBitmapDataObject = {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBusyCursor = {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0}; @@ -40766,6 +40865,7 @@ static swig_type_info _swigt__p_wxFileTypeInfo = {"_p_wxFileTypeInfo", "wxFileTy static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxJoystick = {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxKillError = {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0}; @@ -40867,6 +40967,8 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxAcceleratorTable, &_swigt__p_wxActivateEvent, &_swigt__p_wxArrayString, + &_swigt__p_wxArtClient, + &_swigt__p_wxArtID, &_swigt__p_wxBMPHandler, &_swigt__p_wxBitmap, &_swigt__p_wxBitmapDataObject, @@ -40925,6 +41027,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxGridSizer, &_swigt__p_wxICOHandler, &_swigt__p_wxIcon, + &_swigt__p_wxIconBundle, &_swigt__p_wxIconizeEvent, &_swigt__p_wxIdleEvent, &_swigt__p_wxImage, @@ -41041,6 +41144,8 @@ static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxAboutDialogInfo[] = { {&_swigt__p_wxAboutDialogInfo, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArtClient[] = { {&_swigt__p_wxArtClient, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArtID[] = { {&_swigt__p_wxArtID, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBitmapDataObject[] = { {&_swigt__p_wxBitmapDataObject, 0, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBusyCursor[] = { {&_swigt__p_wxBusyCursor, 0, 0, 0},{0, 0, 0, 0}}; @@ -41120,6 +41225,7 @@ static swig_cast_info _swigc__p_wxFileTypeInfo[] = { {&_swigt__p_wxFileTypeInfo static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxJoystick[] = { {&_swigt__p_wxJoystick, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxJoystickEvent[] = { {&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxKillError[] = { {&_swigt__p_wxKillError, 0, 0, 0},{0, 0, 0, 0}}; @@ -41221,6 +41327,8 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxAcceleratorTable, _swigc__p_wxActivateEvent, _swigc__p_wxArrayString, + _swigc__p_wxArtClient, + _swigc__p_wxArtID, _swigc__p_wxBMPHandler, _swigc__p_wxBitmap, _swigc__p_wxBitmapDataObject, @@ -41279,6 +41387,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxGridSizer, _swigc__p_wxICOHandler, _swigc__p_wxIcon, + _swigc__p_wxIconBundle, _swigc__p_wxIconizeEvent, _swigc__p_wxIdleEvent, _swigc__p_wxImage, @@ -42091,6 +42200,8 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE))); SWIG_Python_SetConstant(d, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER))); SWIG_Python_SetConstant(d, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE))); + SWIG_Python_SetConstant(d, "EXEC_NOEVENTS",SWIG_From_int(static_cast< int >(wxEXEC_NOEVENTS))); + SWIG_Python_SetConstant(d, "EXEC_BLOCK",SWIG_From_int(static_cast< int >(wxEXEC_BLOCK))); wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess"); @@ -42121,6 +42232,7 @@ SWIGEXPORT void SWIG_init(void) { SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get, ART_HELP_BROWSER_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get, ART_MESSAGE_BOX_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get, ART_BUTTON_set); + SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST",ART_LIST_get, ART_LIST_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get, ART_OTHER_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get, ART_ADD_BOOKMARK_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get, ART_DEL_BOOKMARK_set); diff --git a/wxPython/src/gtk/_windows.py b/wxPython/src/gtk/_windows.py index ccf6b92382..35df2b8110 100644 --- a/wxPython/src/gtk/_windows.py +++ b/wxPython/src/gtk/_windows.py @@ -1797,7 +1797,219 @@ _windows_.TipWindow_swigregister(TipWindow) #--------------------------------------------------------------------------- -class VScrolledWindow(Panel): +class VarScrollHelperBase(object): + """Proxy of C++ VarScrollHelperBase class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + def __init__(self): raise AttributeError, "No constructor defined" + __repr__ = _swig_repr + def EnablePhysicalScrolling(*args, **kwargs): + """EnablePhysicalScrolling(self, bool scrolling=True)""" + return _windows_.VarScrollHelperBase_EnablePhysicalScrolling(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(self, int coord) -> int""" + return _windows_.VarScrollHelperBase_HitTest(*args, **kwargs) + + def RefreshAll(*args, **kwargs): + """RefreshAll(self)""" + return _windows_.VarScrollHelperBase_RefreshAll(*args, **kwargs) + + def GetVisibleBegin(*args, **kwargs): + """GetVisibleBegin(self) -> size_t""" + return _windows_.VarScrollHelperBase_GetVisibleBegin(*args, **kwargs) + + def GetVisibleEnd(*args, **kwargs): + """GetVisibleEnd(self) -> size_t""" + return _windows_.VarScrollHelperBase_GetVisibleEnd(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(self, size_t unit) -> bool""" + return _windows_.VarScrollHelperBase_IsVisible(*args, **kwargs) + + def CalcScrolledPosition(*args, **kwargs): + """CalcScrolledPosition(self, int coord) -> int""" + return _windows_.VarScrollHelperBase_CalcScrolledPosition(*args, **kwargs) + + def CalcUnscrolledPosition(*args, **kwargs): + """CalcUnscrolledPosition(self, int coord) -> int""" + return _windows_.VarScrollHelperBase_CalcUnscrolledPosition(*args, **kwargs) + + def UpdateScrollbar(*args, **kwargs): + """UpdateScrollbar(self)""" + return _windows_.VarScrollHelperBase_UpdateScrollbar(*args, **kwargs) + + def RemoveScrollbar(*args, **kwargs): + """RemoveScrollbar(self)""" + return _windows_.VarScrollHelperBase_RemoveScrollbar(*args, **kwargs) + + def SetTargetWindow(*args, **kwargs): + """SetTargetWindow(self, Window target)""" + return _windows_.VarScrollHelperBase_SetTargetWindow(*args, **kwargs) + + def GetTargetWindow(*args, **kwargs): + """GetTargetWindow(self) -> Window""" + return _windows_.VarScrollHelperBase_GetTargetWindow(*args, **kwargs) + + def GetOrientationTargetSize(*args, **kwargs): + """GetOrientationTargetSize(self) -> int""" + return _windows_.VarScrollHelperBase_GetOrientationTargetSize(*args, **kwargs) + + def GetNonOrientationTargetSize(*args, **kwargs): + """GetNonOrientationTargetSize(self) -> int""" + return _windows_.VarScrollHelperBase_GetNonOrientationTargetSize(*args, **kwargs) + + def GetOrientation(*args, **kwargs): + """GetOrientation(self) -> int""" + return _windows_.VarScrollHelperBase_GetOrientation(*args, **kwargs) + +_windows_.VarScrollHelperBase_swigregister(VarScrollHelperBase) + +class VarVScrollHelper(VarScrollHelperBase): + """Proxy of C++ VarVScrollHelper class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + def __init__(self): raise AttributeError, "No constructor defined" + __repr__ = _swig_repr + def SetRowCount(*args, **kwargs): + """SetRowCount(self, size_t rowCount)""" + return _windows_.VarVScrollHelper_SetRowCount(*args, **kwargs) + + def ScrollToRow(*args, **kwargs): + """ScrollToRow(self, size_t row) -> bool""" + return _windows_.VarVScrollHelper_ScrollToRow(*args, **kwargs) + + def ScrollRows(*args, **kwargs): + """ScrollRows(self, int rows) -> bool""" + return _windows_.VarVScrollHelper_ScrollRows(*args, **kwargs) + + def ScrollRowPages(*args, **kwargs): + """ScrollRowPages(self, int pages) -> bool""" + return _windows_.VarVScrollHelper_ScrollRowPages(*args, **kwargs) + + def RefreshRow(*args, **kwargs): + """RefreshRow(self, size_t row)""" + return _windows_.VarVScrollHelper_RefreshRow(*args, **kwargs) + + def RefreshRows(*args, **kwargs): + """RefreshRows(self, size_t from, size_t to)""" + return _windows_.VarVScrollHelper_RefreshRows(*args, **kwargs) + + def GetRowCount(*args, **kwargs): + """GetRowCount(self) -> size_t""" + return _windows_.VarVScrollHelper_GetRowCount(*args, **kwargs) + + def GetVisibleRowsBegin(*args, **kwargs): + """GetVisibleRowsBegin(self) -> size_t""" + return _windows_.VarVScrollHelper_GetVisibleRowsBegin(*args, **kwargs) + + def GetVisibleRowsEnd(*args, **kwargs): + """GetVisibleRowsEnd(self) -> size_t""" + return _windows_.VarVScrollHelper_GetVisibleRowsEnd(*args, **kwargs) + + def IsRowVisible(*args, **kwargs): + """IsRowVisible(self, size_t row) -> bool""" + return _windows_.VarVScrollHelper_IsRowVisible(*args, **kwargs) + +_windows_.VarVScrollHelper_swigregister(VarVScrollHelper) + +class VarHScrollHelper(VarScrollHelperBase): + """Proxy of C++ VarHScrollHelper class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + def __init__(self): raise AttributeError, "No constructor defined" + __repr__ = _swig_repr + def SetColumnCount(*args, **kwargs): + """SetColumnCount(self, size_t columnCount)""" + return _windows_.VarHScrollHelper_SetColumnCount(*args, **kwargs) + + def ScrollToColumn(*args, **kwargs): + """ScrollToColumn(self, size_t column) -> bool""" + return _windows_.VarHScrollHelper_ScrollToColumn(*args, **kwargs) + + def ScrollColumns(*args, **kwargs): + """ScrollColumns(self, int columns) -> bool""" + return _windows_.VarHScrollHelper_ScrollColumns(*args, **kwargs) + + def ScrollColumnPages(*args, **kwargs): + """ScrollColumnPages(self, int pages) -> bool""" + return _windows_.VarHScrollHelper_ScrollColumnPages(*args, **kwargs) + + def RefreshColumn(*args, **kwargs): + """RefreshColumn(self, size_t column)""" + return _windows_.VarHScrollHelper_RefreshColumn(*args, **kwargs) + + def RefreshColumns(*args, **kwargs): + """RefreshColumns(self, size_t from, size_t to)""" + return _windows_.VarHScrollHelper_RefreshColumns(*args, **kwargs) + + def GetColumnCount(*args, **kwargs): + """GetColumnCount(self) -> size_t""" + return _windows_.VarHScrollHelper_GetColumnCount(*args, **kwargs) + + def GetVisibleColumnsBegin(*args, **kwargs): + """GetVisibleColumnsBegin(self) -> size_t""" + return _windows_.VarHScrollHelper_GetVisibleColumnsBegin(*args, **kwargs) + + def GetVisibleColumnsEnd(*args, **kwargs): + """GetVisibleColumnsEnd(self) -> size_t""" + return _windows_.VarHScrollHelper_GetVisibleColumnsEnd(*args, **kwargs) + + def IsColumnVisible(*args, **kwargs): + """IsColumnVisible(self, size_t column) -> bool""" + return _windows_.VarHScrollHelper_IsColumnVisible(*args, **kwargs) + +_windows_.VarHScrollHelper_swigregister(VarHScrollHelper) + +class VarHVScrollHelper(VarVScrollHelper,VarHScrollHelper): + """Proxy of C++ VarHVScrollHelper class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + def __init__(self): raise AttributeError, "No constructor defined" + __repr__ = _swig_repr + def SetRowColumnCount(*args, **kwargs): + """SetRowColumnCount(self, size_t rowCount, size_t columnCount)""" + return _windows_.VarHVScrollHelper_SetRowColumnCount(*args, **kwargs) + + def EnablePhysicalScrolling(*args, **kwargs): + """EnablePhysicalScrolling(self, bool vscrolling=True, bool hscrolling=True)""" + return _windows_.VarHVScrollHelper_EnablePhysicalScrolling(*args, **kwargs) + + def ScrollToRowColumn(*args, **kwargs): + """ScrollToRowColumn(self, Position pos) -> bool""" + return _windows_.VarHVScrollHelper_ScrollToRowColumn(*args, **kwargs) + + def RefreshRowColumn(*args, **kwargs): + """RefreshRowColumn(self, Position pos)""" + return _windows_.VarHVScrollHelper_RefreshRowColumn(*args, **kwargs) + + def RefreshRowsColumns(*args, **kwargs): + """RefreshRowsColumns(self, Position from, Position to)""" + return _windows_.VarHVScrollHelper_RefreshRowsColumns(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(self, Point pos) -> Position""" + return _windows_.VarHVScrollHelper_HitTest(*args, **kwargs) + + def ScrollLayout(*args, **kwargs): + """ScrollLayout(self) -> bool""" + return _windows_.VarHVScrollHelper_ScrollLayout(*args, **kwargs) + + def GetRowColumnCount(*args, **kwargs): + """GetRowColumnCount(self) -> Size""" + return _windows_.VarHVScrollHelper_GetRowColumnCount(*args, **kwargs) + + def GetVisibleBegin(*args, **kwargs): + """GetVisibleBegin(self) -> Position""" + return _windows_.VarHVScrollHelper_GetVisibleBegin(*args, **kwargs) + + def GetVisibleEnd(*args, **kwargs): + """GetVisibleEnd(self) -> Position""" + return _windows_.VarHVScrollHelper_GetVisibleEnd(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(self, Position pos) -> bool""" + return _windows_.VarHVScrollHelper_IsVisible(*args, **kwargs) + +_windows_.VarHVScrollHelper_swigregister(VarHVScrollHelper) + +class VScrolledWindow(Panel,VarVScrollHelper): """Proxy of C++ VScrolledWindow class""" thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr @@ -1820,29 +2032,89 @@ class VScrolledWindow(Panel): """ return _windows_.VScrolledWindow_Create(*args, **kwargs) - def SetLineCount(*args, **kwargs): - """SetLineCount(self, size_t count)""" - return _windows_.VScrolledWindow_SetLineCount(*args, **kwargs) + def GetRowsHeight(*args, **kwargs): + """GetRowsHeight(self, size_t lineMin, size_t lineMax) -> int""" + return _windows_.VScrolledWindow_GetRowsHeight(*args, **kwargs) - def ScrollToLine(*args, **kwargs): - """ScrollToLine(self, size_t line) -> bool""" - return _windows_.VScrolledWindow_ScrollToLine(*args, **kwargs) + GetLinesHeight = wx._deprecated(GetRowsHeight, + "Use GetRowsHeight instead.") + def EstimateTotalHeight(*args, **kwargs): + """EstimateTotalHeight(self) -> int""" + return _windows_.VScrolledWindow_EstimateTotalHeight(*args, **kwargs) - def RefreshLine(*args, **kwargs): - """RefreshLine(self, size_t line)""" - return _windows_.VScrolledWindow_RefreshLine(*args, **kwargs) + def HitTest(*args, **kwargs): + """ + HitTest(self, Point pt) -> int - def RefreshLines(*args, **kwargs): - """RefreshLines(self, size_t from, size_t to)""" - return _windows_.VScrolledWindow_RefreshLines(*args, **kwargs) + Test where the given (in client coords) point lies + """ + return _windows_.VScrolledWindow_HitTest(*args, **kwargs) + + def GetFirstVisibleLine(self): + return self.GetVisibleRowsBegin() + GetFirstVisibleLine = wx._deprecated(GetFirstVisibleLine, "Use GetVisibleRowsBegin instead" ) + + def GetLastVisibleLine(self): + return self.GetVisibleRowsEnd() - 1 + GetLastVisibleLine = wx._deprecated(GetLastVisibleLine, "Use GetVisibleRowsEnd instead") + + def GetLineCount(self): + return self.GetRowCount() + GetLineCount = wx._deprecated(GetLineCount, "Use GetRowCount instead") + + def SetLineCount(self, count): + self.SetRowCount(count) + SetLineCount = wx._deprecated(SetLineCount, "Use SetRowCount instead") + + def RefreshLine(self, line): + self.RefreshRow(line) + RefreshLine = wx._deprecated(RefreshLine, "Use RefreshRow instead") + + def RefreshLines(self, frm, to): + self.RefreshRows(frm, to) + RefreshLines = wx._deprecated(RefreshLines, "Use RefreshRows instead") + + def ScrollToLine(self, line): + return self.ScrollToRow(line) + ScrollToLine = wx._deprecated(ScrollToLine, "Use RefreshRow instead") - def HitTestXY(*args, **kwargs): + def ScrollLines(self, lines): + return self.ScrollRows(lines) + ScrollLines = wx._deprecated(ScrollLines, "Use ScrollRows instead") + + def ScrollPages(self, pages): + return self.ScrollRowPages(pages) + ScrollPages = wx._deprecated(ScrollPages, "Use ScrollRowPages instead") + +_windows_.VScrolledWindow_swigregister(VScrolledWindow) + +def PreVScrolledWindow(*args, **kwargs): + """PreVScrolledWindow() -> VScrolledWindow""" + val = _windows_.new_PreVScrolledWindow(*args, **kwargs) + return val + +class HScrolledWindow(Panel,VarHScrollHelper): + """Proxy of C++ HScrolledWindow class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """ + __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, String name=PanelNameStr) -> HScrolledWindow """ - HitTestXY(self, int x, int y) -> int + _windows_.HScrolledWindow_swiginit(self,_windows_.new_HScrolledWindow(*args, **kwargs)) + self._setOORInfo(self);HScrolledWindow._setCallbackInfo(self, self, HScrolledWindow) - Test where the given (in client coords) point lies + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(self, PyObject self, PyObject _class)""" + return _windows_.HScrolledWindow__setCallbackInfo(*args, **kwargs) + + def Create(*args, **kwargs): """ - return _windows_.VScrolledWindow_HitTestXY(*args, **kwargs) + Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool + """ + return _windows_.HScrolledWindow_Create(*args, **kwargs) def HitTest(*args, **kwargs): """ @@ -1850,54 +2122,67 @@ class VScrolledWindow(Panel): Test where the given (in client coords) point lies """ - return _windows_.VScrolledWindow_HitTest(*args, **kwargs) + return _windows_.HScrolledWindow_HitTest(*args, **kwargs) - def RefreshAll(*args, **kwargs): - """RefreshAll(self)""" - return _windows_.VScrolledWindow_RefreshAll(*args, **kwargs) + def GetColumnsWidth(*args, **kwargs): + """GetColumnsWidth(self, size_t columnMin, size_t columnMax) -> int""" + return _windows_.HScrolledWindow_GetColumnsWidth(*args, **kwargs) - def GetLineCount(*args, **kwargs): - """GetLineCount(self) -> size_t""" - return _windows_.VScrolledWindow_GetLineCount(*args, **kwargs) + def EstimateTotalWidth(*args, **kwargs): + """EstimateTotalWidth(self) -> int""" + return _windows_.HScrolledWindow_EstimateTotalWidth(*args, **kwargs) - def GetVisibleBegin(*args, **kwargs): - """GetVisibleBegin(self) -> size_t""" - return _windows_.VScrolledWindow_GetVisibleBegin(*args, **kwargs) +_windows_.HScrolledWindow_swigregister(HScrolledWindow) - def GetVisibleEnd(*args, **kwargs): - """GetVisibleEnd(self) -> size_t""" - return _windows_.VScrolledWindow_GetVisibleEnd(*args, **kwargs) +def PreHScrolledWindow(*args, **kwargs): + """PreHScrolledWindow() -> HScrolledWindow""" + val = _windows_.new_PreHScrolledWindow(*args, **kwargs) + return val - def IsVisible(*args, **kwargs): - """IsVisible(self, size_t line) -> bool""" - return _windows_.VScrolledWindow_IsVisible(*args, **kwargs) - - def GetFirstVisibleLine(*args, **kwargs): - """GetFirstVisibleLine(self) -> size_t""" - return _windows_.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs) - - def GetLastVisibleLine(*args, **kwargs): - """GetLastVisibleLine(self) -> size_t""" - return _windows_.VScrolledWindow_GetLastVisibleLine(*args, **kwargs) - - def FindFirstFromBottom(*args, **kwargs): - """FindFirstFromBottom(self, size_t lineLast, bool fullyVisible=False) -> size_t""" - return _windows_.VScrolledWindow_FindFirstFromBottom(*args, **kwargs) - - def GetLinesHeight(*args, **kwargs): - """GetLinesHeight(self, size_t lineMin, size_t lineMax) -> int""" - return _windows_.VScrolledWindow_GetLinesHeight(*args, **kwargs) - - FirstVisibleLine = property(GetFirstVisibleLine,doc="See `GetFirstVisibleLine`") - LastVisibleLine = property(GetLastVisibleLine,doc="See `GetLastVisibleLine`") - LineCount = property(GetLineCount,SetLineCount,doc="See `GetLineCount` and `SetLineCount`") - VisibleBegin = property(GetVisibleBegin,doc="See `GetVisibleBegin`") - VisibleEnd = property(GetVisibleEnd,doc="See `GetVisibleEnd`") -_windows_.VScrolledWindow_swigregister(VScrolledWindow) +class HVScrolledWindow(Panel,VarHVScrollHelper): + """Proxy of C++ HVScrolledWindow class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """ + __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, String name=PanelNameStr) -> HVScrolledWindow + """ + _windows_.HVScrolledWindow_swiginit(self,_windows_.new_HVScrolledWindow(*args, **kwargs)) + self._setOORInfo(self);HVScrolledWindow._setCallbackInfo(self, self, HVScrolledWindow) -def PreVScrolledWindow(*args, **kwargs): - """PreVScrolledWindow() -> VScrolledWindow""" - val = _windows_.new_PreVScrolledWindow(*args, **kwargs) + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(self, PyObject self, PyObject _class)""" + return _windows_.HVScrolledWindow__setCallbackInfo(*args, **kwargs) + + def Create(*args, **kwargs): + """ + Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool + """ + return _windows_.HVScrolledWindow_Create(*args, **kwargs) + + def GetRowsHeight(*args, **kwargs): + """GetRowsHeight(self, size_t lineMin, size_t lineMax) -> int""" + return _windows_.HVScrolledWindow_GetRowsHeight(*args, **kwargs) + + def EstimateTotalHeight(*args, **kwargs): + """EstimateTotalHeight(self) -> int""" + return _windows_.HVScrolledWindow_EstimateTotalHeight(*args, **kwargs) + + def GetColumnsWidth(*args, **kwargs): + """GetColumnsWidth(self, size_t columnMin, size_t columnMax) -> int""" + return _windows_.HVScrolledWindow_GetColumnsWidth(*args, **kwargs) + + def EstimateTotalWidth(*args, **kwargs): + """EstimateTotalWidth(self) -> int""" + return _windows_.HVScrolledWindow_EstimateTotalWidth(*args, **kwargs) + +_windows_.HVScrolledWindow_swigregister(HVScrolledWindow) + +def PreHVScrolledWindow(*args, **kwargs): + """PreHVScrolledWindow() -> HVScrolledWindow""" + val = _windows_.new_PreHVScrolledWindow(*args, **kwargs) return val class VListBox(VScrolledWindow): diff --git a/wxPython/src/gtk/_windows_wrap.cpp b/wxPython/src/gtk/_windows_wrap.cpp index 26732e0f98..dcc142cc58 100644 --- a/wxPython/src/gtk/_windows_wrap.cpp +++ b/wxPython/src/gtk/_windows_wrap.cpp @@ -2564,77 +2564,84 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98] #define SWIGTYPE_p_wxPoint swig_types[99] #define SWIGTYPE_p_wxPopupWindow swig_types[100] -#define SWIGTYPE_p_wxPreviewCanvas swig_types[101] -#define SWIGTYPE_p_wxPreviewControlBar swig_types[102] -#define SWIGTYPE_p_wxPreviewFrame swig_types[103] -#define SWIGTYPE_p_wxPrintData swig_types[104] -#define SWIGTYPE_p_wxPrintDialog swig_types[105] -#define SWIGTYPE_p_wxPrintDialogData swig_types[106] -#define SWIGTYPE_p_wxPrintPreview swig_types[107] -#define SWIGTYPE_p_wxPrinter swig_types[108] -#define SWIGTYPE_p_wxProgressDialog swig_types[109] -#define SWIGTYPE_p_wxPyApp swig_types[110] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[111] -#define SWIGTYPE_p_wxPyEvent swig_types[112] -#define SWIGTYPE_p_wxPyHtmlListBox swig_types[113] -#define SWIGTYPE_p_wxPyImageHandler swig_types[114] -#define SWIGTYPE_p_wxPyPanel swig_types[115] -#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116] -#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117] -#define SWIGTYPE_p_wxPyPreviewFrame swig_types[118] -#define SWIGTYPE_p_wxPyPrintPreview swig_types[119] -#define SWIGTYPE_p_wxPyPrintout swig_types[120] -#define SWIGTYPE_p_wxPyScrolledWindow swig_types[121] -#define SWIGTYPE_p_wxPySizer swig_types[122] -#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123] -#define SWIGTYPE_p_wxPyVListBox swig_types[124] -#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125] -#define SWIGTYPE_p_wxPyValidator swig_types[126] -#define SWIGTYPE_p_wxPyWindow swig_types[127] -#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129] -#define SWIGTYPE_p_wxRect swig_types[130] -#define SWIGTYPE_p_wxRegion swig_types[131] -#define SWIGTYPE_p_wxSashEvent swig_types[132] -#define SWIGTYPE_p_wxSashLayoutWindow swig_types[133] -#define SWIGTYPE_p_wxSashWindow swig_types[134] -#define SWIGTYPE_p_wxScrollEvent swig_types[135] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[136] -#define SWIGTYPE_p_wxScrolledWindow swig_types[137] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[138] -#define SWIGTYPE_p_wxShowEvent swig_types[139] -#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140] -#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141] -#define SWIGTYPE_p_wxSize swig_types[142] -#define SWIGTYPE_p_wxSizeEvent swig_types[143] -#define SWIGTYPE_p_wxSizer swig_types[144] -#define SWIGTYPE_p_wxSizerItem swig_types[145] -#define SWIGTYPE_p_wxSplashScreen swig_types[146] -#define SWIGTYPE_p_wxSplashScreenWindow swig_types[147] -#define SWIGTYPE_p_wxSplitterEvent swig_types[148] -#define SWIGTYPE_p_wxSplitterWindow swig_types[149] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[150] -#define SWIGTYPE_p_wxStatusBar swig_types[151] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152] -#define SWIGTYPE_p_wxString swig_types[153] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154] -#define SWIGTYPE_p_wxTGAHandler swig_types[155] -#define SWIGTYPE_p_wxTIFFHandler swig_types[156] -#define SWIGTYPE_p_wxTaskBarIcon swig_types[157] -#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158] -#define SWIGTYPE_p_wxTextEntryDialog swig_types[159] -#define SWIGTYPE_p_wxTipWindow swig_types[160] -#define SWIGTYPE_p_wxToolBar swig_types[161] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[162] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[163] -#define SWIGTYPE_p_wxValidator swig_types[164] -#define SWIGTYPE_p_wxVisualAttributes swig_types[165] -#define SWIGTYPE_p_wxWindow swig_types[166] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[167] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168] -#define SWIGTYPE_p_wxXPMHandler swig_types[169] -static swig_type_info *swig_types[171]; -static swig_module_info swig_module = {swig_types, 170, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxPosition swig_types[101] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[102] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[103] +#define SWIGTYPE_p_wxPreviewFrame swig_types[104] +#define SWIGTYPE_p_wxPrintData swig_types[105] +#define SWIGTYPE_p_wxPrintDialog swig_types[106] +#define SWIGTYPE_p_wxPrintDialogData swig_types[107] +#define SWIGTYPE_p_wxPrintPreview swig_types[108] +#define SWIGTYPE_p_wxPrinter swig_types[109] +#define SWIGTYPE_p_wxProgressDialog swig_types[110] +#define SWIGTYPE_p_wxPyApp swig_types[111] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[112] +#define SWIGTYPE_p_wxPyEvent swig_types[113] +#define SWIGTYPE_p_wxPyHScrolledWindow swig_types[114] +#define SWIGTYPE_p_wxPyHVScrolledWindow swig_types[115] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[116] +#define SWIGTYPE_p_wxPyImageHandler swig_types[117] +#define SWIGTYPE_p_wxPyPanel swig_types[118] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[119] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[120] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[121] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[122] +#define SWIGTYPE_p_wxPyPrintout swig_types[123] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[124] +#define SWIGTYPE_p_wxPySizer swig_types[125] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[126] +#define SWIGTYPE_p_wxPyVListBox swig_types[127] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[128] +#define SWIGTYPE_p_wxPyValidator swig_types[129] +#define SWIGTYPE_p_wxPyWindow swig_types[130] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[131] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132] +#define SWIGTYPE_p_wxRect swig_types[133] +#define SWIGTYPE_p_wxRegion swig_types[134] +#define SWIGTYPE_p_wxSashEvent swig_types[135] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[136] +#define SWIGTYPE_p_wxSashWindow swig_types[137] +#define SWIGTYPE_p_wxScrollEvent swig_types[138] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[139] +#define SWIGTYPE_p_wxScrolledWindow swig_types[140] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[141] +#define SWIGTYPE_p_wxShowEvent swig_types[142] +#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[143] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[144] +#define SWIGTYPE_p_wxSize swig_types[145] +#define SWIGTYPE_p_wxSizeEvent swig_types[146] +#define SWIGTYPE_p_wxSizer swig_types[147] +#define SWIGTYPE_p_wxSizerItem swig_types[148] +#define SWIGTYPE_p_wxSplashScreen swig_types[149] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[150] +#define SWIGTYPE_p_wxSplitterEvent swig_types[151] +#define SWIGTYPE_p_wxSplitterWindow swig_types[152] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[153] +#define SWIGTYPE_p_wxStatusBar swig_types[154] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[155] +#define SWIGTYPE_p_wxString swig_types[156] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157] +#define SWIGTYPE_p_wxTGAHandler swig_types[158] +#define SWIGTYPE_p_wxTIFFHandler swig_types[159] +#define SWIGTYPE_p_wxTaskBarIcon swig_types[160] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[161] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[162] +#define SWIGTYPE_p_wxTipWindow swig_types[163] +#define SWIGTYPE_p_wxToolBar swig_types[164] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[165] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[166] +#define SWIGTYPE_p_wxValidator swig_types[167] +#define SWIGTYPE_p_wxVarHScrollHelper swig_types[168] +#define SWIGTYPE_p_wxVarHVScrollHelper swig_types[169] +#define SWIGTYPE_p_wxVarScrollHelperBase swig_types[170] +#define SWIGTYPE_p_wxVarVScrollHelper swig_types[171] +#define SWIGTYPE_p_wxVisualAttributes swig_types[172] +#define SWIGTYPE_p_wxWindow swig_types[173] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[174] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175] +#define SWIGTYPE_p_wxXPMHandler swig_types[176] +static swig_type_info *swig_types[178]; +static swig_module_info swig_module = {swig_types, 177, 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) @@ -2870,9 +2877,45 @@ SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,in } #include +#include -#include +SWIGINTERNINLINE PyObject* +SWIG_From_unsigned_SS_long (unsigned long value) +{ + return (value > LONG_MAX) ? + PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); +} + + +SWIGINTERNINLINE PyObject * +SWIG_From_size_t (size_t value) +{ + return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); +} + + +SWIGINTERN int +SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) +{ + long v = 0; + if (SWIG_AsVal_long(obj, &v) && v < 0) { + return SWIG_TypeError; + } + else if (val) + *val = (unsigned long)v; + return SWIG_OK; +} + + +SWIGINTERNINLINE int +SWIG_AsVal_size_t (PyObject * obj, size_t *val) +{ + unsigned long v; + int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); + if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); + return res; +} class wxPyVScrolledWindow : public wxVScrolledWindow @@ -2894,24 +2937,24 @@ public: // this function must be overridden in the derived class and it should // return the height of the given line in pixels - DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); - + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight); + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); // old name // this function doesn't have to be overridden but it may be useful to do // it if calculating the lines heights is a relatively expensive operation // as it gives the user code a possibility to calculate several of them at // once // - // OnGetLinesHint() is normally called just before OnGetLineHeight() but you + // OnGetLinesHint() is normally called just before OnGetRowHeight() but you // shouldn't rely on the latter being called for all lines in the interval - // specified here. It is also possible that OnGetLineHeight() will be + // specified here. It is also possible that OnGetRowHeight() will be // called for the lines outside of this interval, so this is really just a // hint, not a promise. // // finally note that lineMin is inclusive, while lineMax is exclusive, as // usual - DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); - + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint); + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); // old name // when the number of lines changes, we try to estimate the total height // of all lines which is a rather expensive operation in terms of lines @@ -2927,68 +2970,102 @@ public: // Also expose some other interesting protected methods - // find the index of the line we need to show at the top of the window such - // that the last (fully or partially) visible line is the given one - size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) - { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } - // get the total height of the lines between lineMin (inclusive) and // lineMax (exclusive) - wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const - { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } - - // update the thumb size shown by the scrollbar - void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); } + wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const + { return wxVScrolledWindow::GetRowsHeight(lineMin, lineMax); } - // remove the scrollbar completely because we don't need it - void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); } PYPRIVATE; }; IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); +IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowHeight); IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); +IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowsHeightHint); IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); + IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); -SWIGINTERN int -SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) +class wxPyHScrolledWindow : public wxHScrolledWindow { - long v = 0; - if (SWIG_AsVal_long(obj, &v) && v < 0) { - return SWIG_TypeError; - } - else if (val) - *val = (unsigned long)v; - return SWIG_OK; -} + DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow) +public: + wxPyHScrolledWindow() : wxHScrolledWindow() {} + wxPyHScrolledWindow(wxWindow *parent, + wxWindowID id = wxID_ANY, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxString& name = wxPyPanelNameStr) + : wxHScrolledWindow(parent, id, pos, size, style, name) + {} -SWIGINTERNINLINE int -SWIG_AsVal_size_t (PyObject * obj, size_t *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); - if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); - return res; -} + // Overridable virtuals + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth); + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint); + DEC_PYCALLBACK_COORD_const(EstimateTotalWidth); + wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const + { return wxHScrolledWindow::GetColumnsWidth(columnMin, columnMax); } -SWIGINTERNINLINE PyObject* -SWIG_From_unsigned_SS_long (unsigned long value) + PYPRIVATE; +}; + +IMPLEMENT_ABSTRACT_CLASS(wxPyHScrolledWindow, wxHScrolledWindow); + +IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnWidth); +IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnsWidthHint); +IMP_PYCALLBACK_COORD_const (wxPyHScrolledWindow, wxHScrolledWindow, EstimateTotalWidth); + + + +class wxPyHVScrolledWindow : public wxHVScrolledWindow { - return (value > LONG_MAX) ? - PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); -} + DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow) +public: + wxPyHVScrolledWindow() : wxHVScrolledWindow() {} + + wxPyHVScrolledWindow(wxWindow *parent, + wxWindowID id = wxID_ANY, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxString& name = wxPyPanelNameStr) + : wxHVScrolledWindow(parent, id, pos, size, style, name) + {} + // Overridable virtuals + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight); + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint); + DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); + + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth); + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint); + DEC_PYCALLBACK_COORD_const(EstimateTotalWidth); + + wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const + { return wxHVScrolledWindow::GetRowsHeight(lineMin, lineMax); } + + wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const + { return wxHVScrolledWindow::GetColumnsWidth(columnMin, columnMax); } + + PYPRIVATE; +}; + +IMPLEMENT_ABSTRACT_CLASS(wxPyHVScrolledWindow, wxHVScrolledWindow); + +IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowHeight); +IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowsHeightHint); +IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalHeight); + +IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnWidth); +IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnsWidthHint); +IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalWidth); -SWIGINTERNINLINE PyObject * -SWIG_From_size_t (size_t value) -{ - return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); -} #include @@ -13519,142 +13596,102 @@ SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxWindow *arg1 = (wxWindow *) 0 ; - int arg2 = (int) wxID_ANY ; - wxPoint const &arg3_defvalue = wxDefaultPosition ; - wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; - wxSize const &arg4_defvalue = wxDefaultSize ; - wxSize *arg4 = (wxSize *) &arg4_defvalue ; - long arg5 = (long) 0 ; - wxString const &arg6_defvalue = wxPyPanelNameStr ; - wxString *arg6 = (wxString *) &arg6_defvalue ; - wxPyVScrolledWindow *result = 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + bool arg2 = (bool) true ; void *argp1 = 0 ; int res1 = 0 ; - int val2 ; + bool val2 ; int ecode2 = 0 ; - wxPoint temp3 ; - wxSize temp4 ; - long val5 ; - int ecode5 = 0 ; - bool temp6 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; char * kwnames[] = { - (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + (char *) "self",(char *) "scrolling", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); } - arg1 = reinterpret_cast< wxWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); if (obj1) { - ecode2 = SWIG_AsVal_int(obj1, &val2); + ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - } - if (obj2) { - { - arg3 = &temp3; - if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; - } - } - if (obj3) { - { - arg4 = &temp4; - if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; - } - } - if (obj4) { - ecode5 = SWIG_AsVal_long(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'"); } - arg5 = static_cast< long >(val5); - } - if (obj5) { - { - arg6 = wxString_in_helper(obj5); - if (arg6 == NULL) SWIG_fail; - temp6 = true; - } + arg2 = static_cast< bool >(val2); } { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + (arg1)->EnablePhysicalScrolling(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 ); - { - if (temp6) - delete arg6; - } + resultobj = SWIG_Py_Void(); return resultobj; fail: - { - if (temp6) - delete arg6; - } return NULL; } -SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *result = 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int arg2 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "coord", NULL + }; - if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); + } + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); + result = (int)((wxVarScrollHelperBase const *)arg1)->HitTest(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "self",(char *) "_class", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - arg2 = obj1; - arg3 = obj2; + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->_setCallbackInfo(arg2,arg3); + (arg1)->RefreshAll(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -13665,149 +13702,65 @@ fail: } -SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - wxWindow *arg2 = (wxWindow *) 0 ; - int arg3 = (int) wxID_ANY ; - wxPoint const &arg4_defvalue = wxDefaultPosition ; - wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; - wxSize const &arg5_defvalue = wxDefaultSize ; - wxSize *arg5 = (wxSize *) &arg5_defvalue ; - long arg6 = (long) 0 ; - wxString const &arg7_defvalue = wxPyPanelNameStr ; - wxString *arg7 = (wxString *) &arg7_defvalue ; - bool result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + size_t result; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - wxPoint temp4 ; - wxSize temp5 ; - long val6 ; - int ecode6 = 0 ; - bool temp7 = false ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); - } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); - } - arg2 = reinterpret_cast< wxWindow * >(argp2); - if (obj2) { - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - } - if (obj3) { - { - arg4 = &temp4; - if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; - } - } - if (obj4) { - { - arg5 = &temp5; - if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; - } - } - if (obj5) { - ecode6 = SWIG_AsVal_long(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); - } - arg6 = static_cast< long >(val6); - } - if (obj6) { - { - arg7 = wxString_in_helper(obj6); - if (arg7 == NULL) SWIG_fail; - temp7 = true; - } + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); + result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleBegin(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } - { - if (temp7) - delete arg7; - } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: - { - if (temp7) - delete arg7; - } return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + size_t result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "count", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetLineCount(arg2); + result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleEnd(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; size_t arg2 ; bool result; void *argp1 = 0 ; @@ -13817,23 +13770,23 @@ SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "line", NULL + (char *) "self",(char *) "unit", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->ScrollToLine(arg2); + result = (bool)((wxVarScrollHelperBase const *)arg1)->IsVisible(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -13846,81 +13799,101 @@ fail: } -SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int arg2 ; + int result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; + int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "line", NULL + (char *) "self",(char *) "coord", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'"); } - arg2 = static_cast< size_t >(val2); + arg2 = static_cast< int >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RefreshLine(arg2); + result = (int)((wxVarScrollHelperBase const *)arg1)->CalcScrolledPosition(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; - size_t arg3 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int arg2 ; + int result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; + int val2 ; int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "from",(char *) "to", NULL + (char *) "self",(char *) "coord", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'"); } - arg3 = static_cast< size_t >(val3); + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxVarScrollHelperBase const *)arg1)->CalcUnscrolledPosition(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); + } + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RefreshLines(arg2,arg3); + (arg1)->UpdateScrollbar(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -13931,387 +13904,2520 @@ fail: } -SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - int arg2 ; - int arg3 ; - int result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "x",(char *) "y", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); + (arg1)->RemoveScrollbar(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_int(static_cast< int >(result)); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - wxPoint *arg2 = 0 ; - int result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - wxPoint temp2 ; + void *argp2 = 0 ; + int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "pt", NULL + (char *) "self",(char *) "target", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetTargetWindow(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + wxWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); + result = (wxWindow *)((wxVarScrollHelperBase const *)arg1)->GetTargetWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_int(static_cast< int >(result)); + { + resultobj = wxPyMake_wxObject(result, 0); + } return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RefreshAll(); + result = (int)((wxVarScrollHelperBase const *)arg1)->GetOrientationTargetSize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); + result = (int)((wxVarScrollHelperBase const *)arg1)->GetNonOrientationTargetSize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + wxOrientation result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxOrientation)((wxVarScrollHelperBase const *)arg1)->GetOrientation(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VarScrollHelperBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_SetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "rowCount", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetRowCount(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollToRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "row", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollToRow(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "rows", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollRows(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRowPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pages", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollRowPages(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "row", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshRow(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "from",(char *) "to", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshRows(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarVScrollHelper const *)arg1)->GetRowCount(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsBegin(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsEnd(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_IsRowVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "row", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxVarVScrollHelper const *)arg1)->IsRowVisible(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VarVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_SetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "columnCount", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetColumnCount(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollToColumn(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "columns", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollColumns(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumnPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pages", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollColumnPages(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshColumn(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "from",(char *) "to", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshColumns(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarHScrollHelper const *)arg1)->GetColumnCount(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsBegin(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsEnd(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_IsColumnVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxVarHScrollHelper const *)arg1)->IsColumnVisible(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VarHScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + size_t arg2 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetRowColumnCount(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + bool arg2 = (bool) true ; + bool arg3 = (bool) true ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + bool val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + } + if (obj2) { + ecode3 = SWIG_AsVal_bool(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'"); + } + arg3 = static_cast< bool >(val3); + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->EnablePhysicalScrolling(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition *arg2 = 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollToRowColumn((wxPosition const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshRowColumn((wxPosition const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition *arg2 = 0 ; + wxPosition *arg3 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "from",(char *) "to", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'"); + } + arg3 = reinterpret_cast< wxPosition * >(argp3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshRowsColumns((wxPosition const &)*arg2,(wxPosition const &)*arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPoint *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxVarHVScrollHelper const *)arg1)->HitTest((wxPoint const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollLayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollLayout(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxSize result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxVarHVScrollHelper const *)arg1)->GetRowColumnCount(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleBegin(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleEnd(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition *arg2 = 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxVarHVScrollHelper const *)arg1)->IsVisible((wxPosition const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VarHVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) wxID_ANY ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + long arg5 = (long) 0 ; + wxString const &arg6_defvalue = wxPyPanelNameStr ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxPyVScrolledWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + wxPoint temp3 ; + wxSize temp4 ; + long val5 ; + int ecode5 = 0 ; + bool temp6 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char * kwnames[] = { + (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + if (obj2) { + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + ecode5 = SWIG_AsVal_long(obj4, &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'"); + } + arg5 = static_cast< long >(val5); + } + if (obj5) { + { + arg6 = wxString_in_helper(obj5); + if (arg6 == NULL) SWIG_fail; + temp6 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 ); + { + if (temp6) + delete arg6; + } + return resultobj; +fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "self",(char *) "_class", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg2 = obj1; + arg3 = obj2; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->_setCallbackInfo(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) wxID_ANY ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) 0 ; + wxString const &arg7_defvalue = wxPyPanelNameStr ; + wxString *arg7 = (wxString *) &arg7_defvalue ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int val3 ; + int ecode3 = 0 ; + wxPoint temp4 ; + wxSize temp5 ; + long val6 ; + int ecode6 = 0 ; + bool temp7 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + ecode6 = SWIG_AsVal_long(obj5, &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); + } + arg6 = static_cast< long >(val6); + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp7) + delete arg7; + } + return resultobj; +fail: + { + if (temp7) + delete arg7; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + size_t arg2 ; + size_t arg3 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyVScrolledWindow const *)arg1)->EstimateTotalHeight(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxPoint *arg2 = 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pt", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_new_HScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) wxID_ANY ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + long arg5 = (long) 0 ; + wxString const &arg6_defvalue = wxPyPanelNameStr ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxPyHScrolledWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + wxPoint temp3 ; + wxSize temp4 ; + long val5 ; + int ecode5 = 0 ; + bool temp6 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char * kwnames[] = { + (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + if (obj2) { + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + ecode5 = SWIG_AsVal_long(obj4, &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'"); + } + arg5 = static_cast< long >(val5); + } + if (obj5) { + { + arg6 = wxString_in_helper(obj5); + if (arg6 == NULL) SWIG_fail; + temp6 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_NEW | 0 ); + { + if (temp6) + delete arg6; + } + return resultobj; +fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_PreHScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args,"new_PreHScrolledWindow",0,0,0)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "self",(char *) "_class", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + arg2 = obj1; + arg3 = obj2; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->_setCallbackInfo(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) wxID_ANY ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) 0 ; + wxString const &arg7_defvalue = wxPyPanelNameStr ; + wxString *arg7 = (wxString *) &arg7_defvalue ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int val3 ; + int ecode3 = 0 ; + wxPoint temp4 ; + wxSize temp5 ; + long val6 ; + int ecode6 = 0 ; + bool temp7 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + ecode6 = SWIG_AsVal_long(obj5, &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); + } + arg6 = static_cast< long >(val6); + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp7) + delete arg7; + } + return resultobj; +fail: + { + if (temp7) + delete arg7; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + wxPoint *arg2 = 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pt", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyHScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + size_t arg2 ; + size_t arg3 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyHScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyHScrolledWindow const *)arg1)->EstimateTotalWidth(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *HScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *HScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_new_HVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) wxID_ANY ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + long arg5 = (long) 0 ; + wxString const &arg6_defvalue = wxPyPanelNameStr ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxPyHVScrolledWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + wxPoint temp3 ; + wxSize temp4 ; + long val5 ; + int ecode5 = 0 ; + bool temp6 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char * kwnames[] = { + (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + if (obj2) { + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + ecode5 = SWIG_AsVal_long(obj4, &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'"); + } + arg5 = static_cast< long >(val5); + } + if (obj5) { + { + arg6 = wxString_in_helper(obj5); + if (arg6 == NULL) SWIG_fail; + temp6 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_NEW | 0 ); + { + if (temp6) + delete arg6; + } + return resultobj; +fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_PreHVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyHVScrolledWindow *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail; { + if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin(); + result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "self",(char *) "_class", NULL + }; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); + arg2 = obj1; + arg3 = obj2; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd(); + (arg1)->_setCallbackInfo(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) wxID_ANY ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) 0 ; + wxString const &arg7_defvalue = wxPyPanelNameStr ; + wxString *arg7 = (wxString *) &arg7_defvalue ; bool result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int val3 ; + int ecode3 = 0 ; + wxPoint temp4 ; + wxSize temp5 ; + long val6 ; + int ecode6 = 0 ; + bool temp7 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "line", NULL + (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + ecode6 = SWIG_AsVal_long(obj5, &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); + } + arg6 = static_cast< long >(val6); + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } + { + if (temp7) + delete arg7; + } return resultobj; fail: + { + if (temp7) + delete arg7; + } return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; + size_t arg2 ; + size_t arg3 ; + int result; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL + }; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); + result = (int)((wxPyHVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; + int result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); + result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalHeight(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; size_t arg2 ; - bool arg3 = (bool) false ; - size_t result; + size_t arg3 ; + int result; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; int ecode2 = 0 ; - bool val3 ; + size_t val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL + (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); - if (obj2) { - ecode3 = SWIG_AsVal_bool(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'"); - } - arg3 = static_cast< bool >(val3); - } + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3); + result = (int)((wxPyHVScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; - size_t arg3 ; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; int result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3); + result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalWidth(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -14322,14 +16428,14 @@ fail: } -SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *HVScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj)); + SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } -SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *HVScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { return SWIG_Python_InitShadowInstance(args); } @@ -31998,27 +34104,84 @@ static PyMethodDef SwigMethods[] = { { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL}, { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL}, { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL}, + { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction) _wrap_VarScrollHelperBase_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_HitTest", (PyCFunction) _wrap_VarScrollHelperBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction)_wrap_VarScrollHelperBase_RefreshAll, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleBegin, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleEnd, METH_O, NULL}, + { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction) _wrap_VarScrollHelperBase_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_UpdateScrollbar, METH_O, NULL}, + { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_RemoveScrollbar, METH_O, NULL}, + { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction) _wrap_VarScrollHelperBase_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction)_wrap_VarScrollHelperBase_GetTargetWindow, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientationTargetSize, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientation, METH_O, NULL}, + { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister, METH_VARARGS, NULL}, + { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction) _wrap_VarVScrollHelper_SetRowCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction) _wrap_VarVScrollHelper_ScrollToRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction) _wrap_VarVScrollHelper_ScrollRows, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction) _wrap_VarVScrollHelper_ScrollRowPages, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction) _wrap_VarVScrollHelper_RefreshRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction) _wrap_VarVScrollHelper_RefreshRows, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction)_wrap_VarVScrollHelper_GetRowCount, METH_O, NULL}, + { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsBegin, METH_O, NULL}, + { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsEnd, METH_O, NULL}, + { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction) _wrap_VarVScrollHelper_IsRowVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister, METH_VARARGS, NULL}, + { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction) _wrap_VarHScrollHelper_SetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction) _wrap_VarHScrollHelper_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumns, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumnPages, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumns, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction)_wrap_VarHScrollHelper_GetColumnCount, METH_O, NULL}, + { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsBegin, METH_O, NULL}, + { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsEnd, METH_O, NULL}, + { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction) _wrap_VarHScrollHelper_IsColumnVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister, METH_VARARGS, NULL}, + { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction) _wrap_VarHVScrollHelper_SetRowColumnCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction) _wrap_VarHVScrollHelper_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_ScrollToRowColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowsColumns, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_HitTest", (PyCFunction) _wrap_VarHVScrollHelper_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction)_wrap_VarHVScrollHelper_ScrollLayout, METH_O, NULL}, + { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction)_wrap_VarHVScrollHelper_GetRowColumnCount, METH_O, NULL}, + { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleBegin, METH_O, NULL}, + { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleEnd, METH_O, NULL}, + { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction) _wrap_VarHVScrollHelper_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister, METH_VARARGS, NULL}, { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL}, { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_VScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_VScrolledWindow_EstimateTotalHeight, METH_O, NULL}, { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL}, - { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL}, - { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL}, - { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL}, - { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL}, - { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL}, - { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL}, { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL}, + { (char *)"new_HScrolledWindow", (PyCFunction) _wrap_new_HScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreHScrolledWindow", (PyCFunction)_wrap_new_PreHScrolledWindow, METH_NOARGS, NULL}, + { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HScrolledWindow_Create", (PyCFunction) _wrap_HScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HScrolledWindow_HitTest", (PyCFunction) _wrap_HScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HScrolledWindow_EstimateTotalWidth, METH_O, NULL}, + { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister, METH_VARARGS, NULL}, + { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit, METH_VARARGS, NULL}, + { (char *)"new_HVScrolledWindow", (PyCFunction) _wrap_new_HVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreHVScrolledWindow", (PyCFunction)_wrap_new_PreHVScrolledWindow, METH_NOARGS, NULL}, + { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HVScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HVScrolledWindow_Create", (PyCFunction) _wrap_HVScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_HVScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalHeight, METH_O, NULL}, + { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HVScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalWidth, METH_O, NULL}, + { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister, METH_VARARGS, NULL}, + { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit, METH_VARARGS, NULL}, { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL}, { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -32660,6 +34823,36 @@ static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) { return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); } +static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x)); +} +static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +} +static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); +} +static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); +} +static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x) { + return (void *)((wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x) { + return (void *)((wxVarHScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x) { + return (void *)((wxVarHScrollHelper *) ((wxVarHVScrollHelper *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x) { + return (void *)((wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x)); +} static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); } @@ -32684,14 +34877,14 @@ static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) ((wxMenu *) x)); } -static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); +static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); } static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); } -static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); +static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); } static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); @@ -32717,6 +34910,12 @@ static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); } +static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x)); +} static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); } @@ -33179,6 +35378,12 @@ static void *_p_wxTipWindowTo_p_wxObject(void *x) { static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); } +static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x)); +} static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); } @@ -33272,15 +35477,6 @@ static void *_p_wxPyValidatorTo_p_wxObject(void *x) { static void *_p_wxValidatorTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); } -static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { - return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); -} -static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { - return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); -} -static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { - return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); -} static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); } @@ -33365,12 +35561,6 @@ static void *_p_wxPyPanelTo_p_wxWindow(void *x) { static void *_p_wxMenuBarTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxMenuBar *) x)); } -static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); -} -static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); -} static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); } @@ -33392,12 +35582,24 @@ static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { static void *_p_wxFileDialogTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); } +static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); +} +static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); +} static void *_p_wxPanelTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxPanel *) x)); } static void *_p_wxStatusBarTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxStatusBar *) x)); } +static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *) ((wxPyHScrolledWindow *) x)); +} static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); } @@ -33488,6 +35690,15 @@ static void *_p_wxDialogTo_p_wxWindow(void *x) { static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); } +static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { + return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +} +static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { + return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); +} +static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { + return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); +} static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); } @@ -33536,6 +35747,12 @@ static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); } +static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) ((wxPyHScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) ((wxPyHVScrolledWindow *) x)); +} static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); } @@ -33560,6 +35777,33 @@ static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); } +static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x)); +} +static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) ((wxVarVScrollHelper *) x)); +} +static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) ((wxVarHScrollHelper *) x)); +} +static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x)); +} +static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +} +static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); +} +static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); +} static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); } @@ -33727,6 +35971,7 @@ static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSi static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxPosition = {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0}; @@ -33736,6 +35981,8 @@ static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wx static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxPyHScrolledWindow = {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxPyHVScrolledWindow = {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0}; @@ -33773,6 +36020,10 @@ static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *" static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxVarHScrollHelper = {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxVarHVScrollHelper = {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxVarScrollHelperBase = {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxVarVScrollHelper = {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; @@ -33878,6 +36129,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxPasswordEntryDialog, &_swigt__p_wxPoint, &_swigt__p_wxPopupWindow, + &_swigt__p_wxPosition, &_swigt__p_wxPreviewCanvas, &_swigt__p_wxPreviewControlBar, &_swigt__p_wxPreviewFrame, @@ -33890,6 +36142,8 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxPyApp, &_swigt__p_wxPyCommandEvent, &_swigt__p_wxPyEvent, + &_swigt__p_wxPyHScrolledWindow, + &_swigt__p_wxPyHVScrolledWindow, &_swigt__p_wxPyHtmlListBox, &_swigt__p_wxPyImageHandler, &_swigt__p_wxPyPanel, @@ -33942,6 +36196,10 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxTopLevelWindow, &_swigt__p_wxUpdateUIEvent, &_swigt__p_wxValidator, + &_swigt__p_wxVarHScrollHelper, + &_swigt__p_wxVarHVScrollHelper, + &_swigt__p_wxVarScrollHelperBase, + &_swigt__p_wxVarVScrollHelper, &_swigt__p_wxVisualAttributes, &_swigt__p_wxWindow, &_swigt__p_wxWindowCreateEvent, @@ -34009,7 +36267,7 @@ static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 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_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; @@ -34063,14 +36321,15 @@ static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_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_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_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_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_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_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_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_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_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_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_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_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_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_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPosition[] = { {&_swigt__p_wxPosition, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPreviewControlBar[] = { {&_swigt__p_wxPreviewControlBar, 0, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPreviewFrame[] = { {&_swigt__p_wxPreviewFrame, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0},{0, 0, 0, 0}}; @@ -34080,6 +36339,8 @@ static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDial static swig_cast_info _swigc__p_wxPrintPreview[] = { {&_swigt__p_wxPrintPreview, 0, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHScrolledWindow[] = { {&_swigt__p_wxPyHScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHVScrolledWindow[] = { {&_swigt__p_wxPyHVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}}; @@ -34117,8 +36378,12 @@ static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVarHScrollHelper[] = { {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxVarHScrollHelper, 0, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVarHVScrollHelper[] = { {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVarScrollHelperBase[] = { {&_swigt__p_wxVarScrollHelperBase, 0, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarVScrollHelper, _p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHScrollHelper, _p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVarVScrollHelper[] = { {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarVScrollHelper, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info *swig_cast_initial[] = { _swigc__p_bool, @@ -34222,6 +36487,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxPasswordEntryDialog, _swigc__p_wxPoint, _swigc__p_wxPopupWindow, + _swigc__p_wxPosition, _swigc__p_wxPreviewCanvas, _swigc__p_wxPreviewControlBar, _swigc__p_wxPreviewFrame, @@ -34234,6 +36500,8 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxPyApp, _swigc__p_wxPyCommandEvent, _swigc__p_wxPyEvent, + _swigc__p_wxPyHScrolledWindow, + _swigc__p_wxPyHVScrolledWindow, _swigc__p_wxPyHtmlListBox, _swigc__p_wxPyImageHandler, _swigc__p_wxPyPanel, @@ -34286,6 +36554,10 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxTopLevelWindow, _swigc__p_wxUpdateUIEvent, _swigc__p_wxValidator, + _swigc__p_wxVarHScrollHelper, + _swigc__p_wxVarHVScrollHelper, + _swigc__p_wxVarScrollHelperBase, + _swigc__p_wxVarVScrollHelper, _swigc__p_wxVisualAttributes, _swigc__p_wxWindow, _swigc__p_wxWindowCreateEvent, diff --git a/wxPython/src/gtk/wizard.py b/wxPython/src/gtk/wizard.py index e9f8e55957..39413b2d97 100644 --- a/wxPython/src/gtk/wizard.py +++ b/wxPython/src/gtk/wizard.py @@ -100,7 +100,7 @@ class WizardPage(_windows.Panel): def __init__(self): raise AttributeError, "No constructor defined" __repr__ = _swig_repr def Create(*args, **kwargs): - """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" + """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap) -> bool""" return _wizard.WizardPage_Create(*args, **kwargs) def GetPrev(*args, **kwargs): @@ -125,12 +125,12 @@ class PyWizardPage(WizardPage): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args, **kwargs): - """__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage""" + """__init__(self, Wizard parent, Bitmap bitmap=wxNullBitmap) -> PyWizardPage""" _wizard.PyWizardPage_swiginit(self,_wizard.new_PyWizardPage(*args, **kwargs)) self._setOORInfo(self);PyWizardPage._setCallbackInfo(self, self, PyWizardPage) def Create(*args, **kwargs): - """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" + """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap) -> bool""" return _wizard.PyWizardPage_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -300,7 +300,7 @@ class WizardPageSimple(WizardPage): def __init__(self, *args, **kwargs): """ __init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None, - Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple + Bitmap bitmap=wxNullBitmap) -> WizardPageSimple """ _wizard.WizardPageSimple_swiginit(self,_wizard.new_WizardPageSimple(*args, **kwargs)) self._setOORInfo(self) @@ -308,7 +308,7 @@ class WizardPageSimple(WizardPage): def Create(*args, **kwargs): """ Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None, - Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool + Bitmap bitmap=wxNullBitmap) -> bool """ return _wizard.WizardPageSimple_Create(*args, **kwargs) diff --git a/wxPython/src/gtk/wizard_wrap.cpp b/wxPython/src/gtk/wizard_wrap.cpp index 2af5d83a28..663c22ca2b 100644 --- a/wxPython/src/gtk/wizard_wrap.cpp +++ b/wxPython/src/gtk/wizard_wrap.cpp @@ -2477,155 +2477,153 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxBoxSizer swig_types[11] #define SWIGTYPE_p_wxCURHandler swig_types[12] #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[13] -#define SWIGTYPE_p_wxChar swig_types[14] -#define SWIGTYPE_p_wxChildFocusEvent swig_types[15] -#define SWIGTYPE_p_wxClipboardTextEvent swig_types[16] -#define SWIGTYPE_p_wxCloseEvent swig_types[17] -#define SWIGTYPE_p_wxColourData swig_types[18] -#define SWIGTYPE_p_wxColourDialog swig_types[19] -#define SWIGTYPE_p_wxCommandEvent swig_types[20] -#define SWIGTYPE_p_wxContextMenuEvent swig_types[21] -#define SWIGTYPE_p_wxControl swig_types[22] -#define SWIGTYPE_p_wxControlWithItems swig_types[23] -#define SWIGTYPE_p_wxDateEvent swig_types[24] -#define SWIGTYPE_p_wxDialog swig_types[25] -#define SWIGTYPE_p_wxDirDialog swig_types[26] -#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[27] -#define SWIGTYPE_p_wxDropFilesEvent swig_types[28] -#define SWIGTYPE_p_wxDuplexMode swig_types[29] -#define SWIGTYPE_p_wxEraseEvent swig_types[30] -#define SWIGTYPE_p_wxEvent swig_types[31] -#define SWIGTYPE_p_wxEventBlocker swig_types[32] -#define SWIGTYPE_p_wxEvtHandler swig_types[33] -#define SWIGTYPE_p_wxFSFile swig_types[34] -#define SWIGTYPE_p_wxFileDialog swig_types[35] -#define SWIGTYPE_p_wxFileSystem swig_types[36] -#define SWIGTYPE_p_wxFindDialogEvent swig_types[37] -#define SWIGTYPE_p_wxFindReplaceData swig_types[38] -#define SWIGTYPE_p_wxFindReplaceDialog swig_types[39] -#define SWIGTYPE_p_wxFlexGridSizer swig_types[40] -#define SWIGTYPE_p_wxFocusEvent swig_types[41] -#define SWIGTYPE_p_wxFontData swig_types[42] -#define SWIGTYPE_p_wxFontDialog swig_types[43] -#define SWIGTYPE_p_wxFrame swig_types[44] -#define SWIGTYPE_p_wxGBSizerItem swig_types[45] -#define SWIGTYPE_p_wxGIFHandler swig_types[46] -#define SWIGTYPE_p_wxGridBagSizer swig_types[47] -#define SWIGTYPE_p_wxGridSizer swig_types[48] -#define SWIGTYPE_p_wxICOHandler swig_types[49] -#define SWIGTYPE_p_wxIconizeEvent swig_types[50] -#define SWIGTYPE_p_wxIdleEvent swig_types[51] -#define SWIGTYPE_p_wxImage swig_types[52] -#define SWIGTYPE_p_wxImageHandler swig_types[53] -#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[54] -#define SWIGTYPE_p_wxInitDialogEvent swig_types[55] -#define SWIGTYPE_p_wxJPEGHandler swig_types[56] -#define SWIGTYPE_p_wxKeyEvent swig_types[57] -#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[58] -#define SWIGTYPE_p_wxLayoutConstraints swig_types[59] -#define SWIGTYPE_p_wxMDIChildFrame swig_types[60] -#define SWIGTYPE_p_wxMDIClientWindow swig_types[61] -#define SWIGTYPE_p_wxMDIParentFrame swig_types[62] -#define SWIGTYPE_p_wxMaximizeEvent swig_types[63] -#define SWIGTYPE_p_wxMenu swig_types[64] -#define SWIGTYPE_p_wxMenuBar swig_types[65] -#define SWIGTYPE_p_wxMenuEvent swig_types[66] -#define SWIGTYPE_p_wxMenuItem swig_types[67] -#define SWIGTYPE_p_wxMessageDialog swig_types[68] -#define SWIGTYPE_p_wxMiniFrame swig_types[69] -#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[70] -#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[71] -#define SWIGTYPE_p_wxMouseEvent swig_types[72] -#define SWIGTYPE_p_wxMoveEvent swig_types[73] -#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[74] -#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[75] -#define SWIGTYPE_p_wxNcPaintEvent swig_types[76] -#define SWIGTYPE_p_wxNotifyEvent swig_types[77] -#define SWIGTYPE_p_wxNumberEntryDialog swig_types[78] -#define SWIGTYPE_p_wxObject swig_types[79] -#define SWIGTYPE_p_wxPCXHandler swig_types[80] -#define SWIGTYPE_p_wxPNGHandler swig_types[81] -#define SWIGTYPE_p_wxPNMHandler swig_types[82] -#define SWIGTYPE_p_wxPageSetupDialog swig_types[83] -#define SWIGTYPE_p_wxPageSetupDialogData swig_types[84] -#define SWIGTYPE_p_wxPaintEvent swig_types[85] -#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[86] -#define SWIGTYPE_p_wxPanel swig_types[87] -#define SWIGTYPE_p_wxPaperSize swig_types[88] -#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[89] -#define SWIGTYPE_p_wxPopupWindow swig_types[90] -#define SWIGTYPE_p_wxPreviewCanvas swig_types[91] -#define SWIGTYPE_p_wxPreviewControlBar swig_types[92] -#define SWIGTYPE_p_wxPreviewFrame swig_types[93] -#define SWIGTYPE_p_wxPrintData swig_types[94] -#define SWIGTYPE_p_wxPrintDialog swig_types[95] -#define SWIGTYPE_p_wxPrintDialogData swig_types[96] -#define SWIGTYPE_p_wxPrintPreview swig_types[97] -#define SWIGTYPE_p_wxPrinter swig_types[98] -#define SWIGTYPE_p_wxProgressDialog swig_types[99] -#define SWIGTYPE_p_wxPyApp swig_types[100] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[101] -#define SWIGTYPE_p_wxPyEvent swig_types[102] -#define SWIGTYPE_p_wxPyHtmlListBox swig_types[103] -#define SWIGTYPE_p_wxPyImageHandler swig_types[104] -#define SWIGTYPE_p_wxPyPanel swig_types[105] -#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[106] -#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[107] -#define SWIGTYPE_p_wxPyPreviewFrame swig_types[108] -#define SWIGTYPE_p_wxPyPrintPreview swig_types[109] -#define SWIGTYPE_p_wxPyPrintout swig_types[110] -#define SWIGTYPE_p_wxPyScrolledWindow swig_types[111] -#define SWIGTYPE_p_wxPySizer swig_types[112] -#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[113] -#define SWIGTYPE_p_wxPyVListBox swig_types[114] -#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[115] -#define SWIGTYPE_p_wxPyValidator swig_types[116] -#define SWIGTYPE_p_wxPyWindow swig_types[117] -#define SWIGTYPE_p_wxPyWizardPage swig_types[118] -#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[119] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[120] -#define SWIGTYPE_p_wxSashEvent swig_types[121] -#define SWIGTYPE_p_wxSashLayoutWindow swig_types[122] -#define SWIGTYPE_p_wxSashWindow swig_types[123] -#define SWIGTYPE_p_wxScrollEvent swig_types[124] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[125] -#define SWIGTYPE_p_wxScrolledWindow swig_types[126] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[127] -#define SWIGTYPE_p_wxShowEvent swig_types[128] -#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[129] -#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[130] -#define SWIGTYPE_p_wxSize swig_types[131] -#define SWIGTYPE_p_wxSizeEvent swig_types[132] -#define SWIGTYPE_p_wxSizer swig_types[133] -#define SWIGTYPE_p_wxSizerItem swig_types[134] -#define SWIGTYPE_p_wxSplashScreen swig_types[135] -#define SWIGTYPE_p_wxSplashScreenWindow swig_types[136] -#define SWIGTYPE_p_wxSplitterEvent swig_types[137] -#define SWIGTYPE_p_wxSplitterWindow swig_types[138] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[139] -#define SWIGTYPE_p_wxStatusBar swig_types[140] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[141] -#define SWIGTYPE_p_wxString swig_types[142] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[143] -#define SWIGTYPE_p_wxTGAHandler swig_types[144] -#define SWIGTYPE_p_wxTIFFHandler swig_types[145] -#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[146] -#define SWIGTYPE_p_wxTextEntryDialog swig_types[147] -#define SWIGTYPE_p_wxTipWindow swig_types[148] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[149] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[150] -#define SWIGTYPE_p_wxValidator swig_types[151] -#define SWIGTYPE_p_wxVisualAttributes swig_types[152] -#define SWIGTYPE_p_wxWindow swig_types[153] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[154] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[155] -#define SWIGTYPE_p_wxWizard swig_types[156] -#define SWIGTYPE_p_wxWizardEvent swig_types[157] -#define SWIGTYPE_p_wxWizardPage swig_types[158] -#define SWIGTYPE_p_wxWizardPageSimple swig_types[159] -#define SWIGTYPE_p_wxXPMHandler swig_types[160] -static swig_type_info *swig_types[162]; -static swig_module_info swig_module = {swig_types, 161, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxChildFocusEvent swig_types[14] +#define SWIGTYPE_p_wxClipboardTextEvent swig_types[15] +#define SWIGTYPE_p_wxCloseEvent swig_types[16] +#define SWIGTYPE_p_wxColourData swig_types[17] +#define SWIGTYPE_p_wxColourDialog swig_types[18] +#define SWIGTYPE_p_wxCommandEvent swig_types[19] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[20] +#define SWIGTYPE_p_wxControl swig_types[21] +#define SWIGTYPE_p_wxControlWithItems swig_types[22] +#define SWIGTYPE_p_wxDateEvent swig_types[23] +#define SWIGTYPE_p_wxDialog swig_types[24] +#define SWIGTYPE_p_wxDirDialog swig_types[25] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[27] +#define SWIGTYPE_p_wxDuplexMode swig_types[28] +#define SWIGTYPE_p_wxEraseEvent swig_types[29] +#define SWIGTYPE_p_wxEvent swig_types[30] +#define SWIGTYPE_p_wxEventBlocker swig_types[31] +#define SWIGTYPE_p_wxEvtHandler swig_types[32] +#define SWIGTYPE_p_wxFSFile swig_types[33] +#define SWIGTYPE_p_wxFileDialog swig_types[34] +#define SWIGTYPE_p_wxFileSystem swig_types[35] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[36] +#define SWIGTYPE_p_wxFindReplaceData swig_types[37] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[38] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[39] +#define SWIGTYPE_p_wxFocusEvent swig_types[40] +#define SWIGTYPE_p_wxFontData swig_types[41] +#define SWIGTYPE_p_wxFontDialog swig_types[42] +#define SWIGTYPE_p_wxFrame swig_types[43] +#define SWIGTYPE_p_wxGBSizerItem swig_types[44] +#define SWIGTYPE_p_wxGIFHandler swig_types[45] +#define SWIGTYPE_p_wxGridBagSizer swig_types[46] +#define SWIGTYPE_p_wxGridSizer swig_types[47] +#define SWIGTYPE_p_wxICOHandler swig_types[48] +#define SWIGTYPE_p_wxIconizeEvent swig_types[49] +#define SWIGTYPE_p_wxIdleEvent swig_types[50] +#define SWIGTYPE_p_wxImage swig_types[51] +#define SWIGTYPE_p_wxImageHandler swig_types[52] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[53] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[54] +#define SWIGTYPE_p_wxJPEGHandler swig_types[55] +#define SWIGTYPE_p_wxKeyEvent swig_types[56] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[57] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[58] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[59] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[60] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[61] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[62] +#define SWIGTYPE_p_wxMenu swig_types[63] +#define SWIGTYPE_p_wxMenuBar swig_types[64] +#define SWIGTYPE_p_wxMenuEvent swig_types[65] +#define SWIGTYPE_p_wxMenuItem swig_types[66] +#define SWIGTYPE_p_wxMessageDialog swig_types[67] +#define SWIGTYPE_p_wxMiniFrame swig_types[68] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[69] +#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[70] +#define SWIGTYPE_p_wxMouseEvent swig_types[71] +#define SWIGTYPE_p_wxMoveEvent swig_types[72] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[73] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[74] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[75] +#define SWIGTYPE_p_wxNotifyEvent swig_types[76] +#define SWIGTYPE_p_wxNumberEntryDialog swig_types[77] +#define SWIGTYPE_p_wxObject swig_types[78] +#define SWIGTYPE_p_wxPCXHandler swig_types[79] +#define SWIGTYPE_p_wxPNGHandler swig_types[80] +#define SWIGTYPE_p_wxPNMHandler swig_types[81] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[82] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[83] +#define SWIGTYPE_p_wxPaintEvent swig_types[84] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[85] +#define SWIGTYPE_p_wxPanel swig_types[86] +#define SWIGTYPE_p_wxPaperSize swig_types[87] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[88] +#define SWIGTYPE_p_wxPopupWindow swig_types[89] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[90] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[91] +#define SWIGTYPE_p_wxPreviewFrame swig_types[92] +#define SWIGTYPE_p_wxPrintData swig_types[93] +#define SWIGTYPE_p_wxPrintDialog swig_types[94] +#define SWIGTYPE_p_wxPrintDialogData swig_types[95] +#define SWIGTYPE_p_wxPrintPreview swig_types[96] +#define SWIGTYPE_p_wxPrinter swig_types[97] +#define SWIGTYPE_p_wxProgressDialog swig_types[98] +#define SWIGTYPE_p_wxPyApp swig_types[99] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[100] +#define SWIGTYPE_p_wxPyEvent swig_types[101] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[102] +#define SWIGTYPE_p_wxPyImageHandler swig_types[103] +#define SWIGTYPE_p_wxPyPanel swig_types[104] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[105] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[106] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[107] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[108] +#define SWIGTYPE_p_wxPyPrintout swig_types[109] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[110] +#define SWIGTYPE_p_wxPySizer swig_types[111] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[112] +#define SWIGTYPE_p_wxPyVListBox swig_types[113] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[114] +#define SWIGTYPE_p_wxPyValidator swig_types[115] +#define SWIGTYPE_p_wxPyWindow swig_types[116] +#define SWIGTYPE_p_wxPyWizardPage swig_types[117] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[118] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[119] +#define SWIGTYPE_p_wxSashEvent swig_types[120] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[121] +#define SWIGTYPE_p_wxSashWindow swig_types[122] +#define SWIGTYPE_p_wxScrollEvent swig_types[123] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[124] +#define SWIGTYPE_p_wxScrolledWindow swig_types[125] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[126] +#define SWIGTYPE_p_wxShowEvent swig_types[127] +#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[128] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[129] +#define SWIGTYPE_p_wxSize swig_types[130] +#define SWIGTYPE_p_wxSizeEvent swig_types[131] +#define SWIGTYPE_p_wxSizer swig_types[132] +#define SWIGTYPE_p_wxSizerItem swig_types[133] +#define SWIGTYPE_p_wxSplashScreen swig_types[134] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[135] +#define SWIGTYPE_p_wxSplitterEvent swig_types[136] +#define SWIGTYPE_p_wxSplitterWindow swig_types[137] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[138] +#define SWIGTYPE_p_wxStatusBar swig_types[139] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[140] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[141] +#define SWIGTYPE_p_wxTGAHandler swig_types[142] +#define SWIGTYPE_p_wxTIFFHandler swig_types[143] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[144] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[145] +#define SWIGTYPE_p_wxTipWindow swig_types[146] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[147] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[148] +#define SWIGTYPE_p_wxValidator swig_types[149] +#define SWIGTYPE_p_wxVisualAttributes swig_types[150] +#define SWIGTYPE_p_wxWindow swig_types[151] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[152] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[153] +#define SWIGTYPE_p_wxWizard swig_types[154] +#define SWIGTYPE_p_wxWizardEvent swig_types[155] +#define SWIGTYPE_p_wxWizardPage swig_types[156] +#define SWIGTYPE_p_wxWizardPageSimple swig_types[157] +#define SWIGTYPE_p_wxXPMHandler swig_types[158] +static swig_type_info *swig_types[160]; +static swig_module_info swig_module = {swig_types, 159, 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) @@ -2798,21 +2796,14 @@ SWIG_AsVal_bool (PyObject *obj, bool *val) } } -SWIGINTERN bool wxWizardPage_Create(wxWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){ - const wxChar* res = NULL; - if (resource.length()) - res = (const wxChar*)resource.c_str(); - return self->Create(parent, bitmap, res); - } // C++ Version of a Python aware class class wxPyWizardPage : public wxWizardPage { DECLARE_ABSTRACT_CLASS(wxPyWizardPage) public: wxPyWizardPage() : wxWizardPage() {} wxPyWizardPage(wxWizard *parent, - const wxBitmap& bitmap = wxNullBitmap, - const wxChar* resource = NULL) - : wxWizardPage(parent, bitmap, resource) {} + const wxBitmap& bitmap = wxNullBitmap) + : wxWizardPage(parent, bitmap) {} DEC_PYCALLBACK_WIZPG__pure(GetPrev); DEC_PYCALLBACK_WIZPG__pure(GetNext); @@ -2877,18 +2868,6 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, AddChild); IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, RemoveChild); -SWIGINTERN wxPyWizardPage *new_wxPyWizardPage(wxWizard *parent,wxBitmap const *bitmap=&wxNullBitmap,wxString const *resource=&wxPyEmptyString){ - const wxChar* res = NULL; - if (resource->length()) - res = (const wxChar*)resource->c_str(); - return new wxPyWizardPage(parent, *bitmap, res); - } -SWIGINTERN bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){ - const wxChar* res = NULL; - if (resource.length()) - res = (const wxChar*)resource.c_str(); - return self->Create(parent, bitmap, res); - } #ifdef __cplusplus extern "C" { #endif @@ -3034,8 +3013,6 @@ SWIGINTERN PyObject *_wrap_WizardPage_Create(PyObject *SWIGUNUSEDPARM(self), PyO wxWizard *arg2 = (wxWizard *) 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ; - wxString const &arg4_defvalue = wxPyEmptyString ; - wxString *arg4 = (wxString *) &arg4_defvalue ; bool result; void *argp1 = 0 ; int res1 = 0 ; @@ -3043,16 +3020,14 @@ SWIGINTERN PyObject *_wrap_WizardPage_Create(PyObject *SWIGUNUSEDPARM(self), PyO int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; - bool temp4 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL + (char *) "self",(char *) "parent",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:WizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:WizardPage_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWizardPage, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WizardPage_Create" "', expected argument " "1"" of type '" "wxWizardPage *""'"); @@ -3073,32 +3048,17 @@ SWIGINTERN PyObject *_wrap_WizardPage_Create(PyObject *SWIGUNUSEDPARM(self), PyO } arg3 = reinterpret_cast< wxBitmap * >(argp3); } - if (obj3) { - { - arg4 = wxString_in_helper(obj3); - if (arg4 == NULL) SWIG_fail; - temp4 = true; - } - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4); + result = (bool)(arg1)->Create(arg2,(wxBitmap const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } - { - if (temp4) - delete arg4; - } return resultobj; fail: - { - if (temp4) - delete arg4; - } return NULL; } @@ -3201,59 +3161,45 @@ SWIGINTERN PyObject *WizardPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyO SWIGINTERN PyObject *_wrap_new_PyWizardPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxWizard *arg1 = (wxWizard *) 0 ; - wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ; - wxString *arg3 = (wxString *) &wxPyEmptyString ; + wxBitmap const &arg2_defvalue = wxNullBitmap ; + wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ; wxPyWizardPage *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "parent",(char *) "bitmap",(char *) "resource", NULL + (char *) "parent",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_PyWizardPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PyWizardPage",kwnames,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWizardPage" "', expected argument " "1"" of type '" "wxWizard *""'"); } arg1 = reinterpret_cast< wxWizard * >(argp1); if (obj1) { - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyWizardPage" "', expected argument " "2"" of type '" "wxBitmap const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyWizardPage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); } - arg2 = reinterpret_cast< wxBitmap * >(argp2); - } - if (obj2) { - { - arg3 = wxString_in_helper(obj2); - if (arg3 == NULL) SWIG_fail; - temp3 = true; + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyWizardPage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); } + arg2 = reinterpret_cast< wxBitmap * >(argp2); } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxPyWizardPage *)new_wxPyWizardPage(arg1,(wxBitmap const *)arg2,(wxString const *)arg3); + result = (wxPyWizardPage *)new wxPyWizardPage(arg1,(wxBitmap const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_NEW | 0 ); - { - if (temp3) - delete arg3; - } return resultobj; fail: - { - if (temp3) - delete arg3; - } return NULL; } @@ -3283,8 +3229,6 @@ SWIGINTERN PyObject *_wrap_PyWizardPage_Create(PyObject *SWIGUNUSEDPARM(self), P wxWizard *arg2 = (wxWizard *) 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ; - wxString const &arg4_defvalue = wxPyEmptyString ; - wxString *arg4 = (wxString *) &arg4_defvalue ; bool result; void *argp1 = 0 ; int res1 = 0 ; @@ -3292,16 +3236,14 @@ SWIGINTERN PyObject *_wrap_PyWizardPage_Create(PyObject *SWIGUNUSEDPARM(self), P int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; - bool temp4 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL + (char *) "self",(char *) "parent",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyWizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyWizardPage_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWizardPage, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWizardPage_Create" "', expected argument " "1"" of type '" "wxPyWizardPage *""'"); @@ -3322,32 +3264,17 @@ SWIGINTERN PyObject *_wrap_PyWizardPage_Create(PyObject *SWIGUNUSEDPARM(self), P } arg3 = reinterpret_cast< wxBitmap * >(argp3); } - if (obj3) { - { - arg4 = wxString_in_helper(obj3); - if (arg4 == NULL) SWIG_fail; - temp4 = true; - } - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxPyWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4); + result = (bool)(arg1)->Create(arg2,(wxBitmap const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } - { - if (temp4) - delete arg4; - } return resultobj; fail: - { - if (temp4) - delete arg4; - } return NULL; } @@ -3892,7 +3819,6 @@ SWIGINTERN PyObject *_wrap_new_WizardPageSimple(PyObject *SWIGUNUSEDPARM(self), wxWizardPage *arg3 = (wxWizardPage *) NULL ; wxBitmap const &arg4_defvalue = wxNullBitmap ; wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; - wxChar *arg5 = (wxChar *) NULL ; wxWizardPageSimple *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -3902,18 +3828,15 @@ SWIGINTERN PyObject *_wrap_new_WizardPageSimple(PyObject *SWIGUNUSEDPARM(self), int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; char * kwnames[] = { - (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL + (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_WizardPageSimple",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_WizardPageSimple",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_WizardPageSimple" "', expected argument " "1"" of type '" "wxWizard *""'"); @@ -3943,17 +3866,10 @@ SWIGINTERN PyObject *_wrap_new_WizardPageSimple(PyObject *SWIGUNUSEDPARM(self), } arg4 = reinterpret_cast< wxBitmap * >(argp4); } - if (obj4) { - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxChar, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_WizardPageSimple" "', expected argument " "5"" of type '" "wxChar const *""'"); - } - arg5 = reinterpret_cast< wxChar * >(argp5); - } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWizardPageSimple *)new wxWizardPageSimple(arg1,arg2,arg3,(wxBitmap const &)*arg4,(wxChar const *)arg5); + result = (wxWizardPageSimple *)new wxWizardPageSimple(arg1,arg2,arg3,(wxBitmap const &)*arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -3991,7 +3907,6 @@ SWIGINTERN PyObject *_wrap_WizardPageSimple_Create(PyObject *SWIGUNUSEDPARM(self wxWizardPage *arg4 = (wxWizardPage *) NULL ; wxBitmap const &arg5_defvalue = wxNullBitmap ; wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; - wxChar *arg6 = (wxChar *) NULL ; bool result; void *argp1 = 0 ; int res1 = 0 ; @@ -4003,19 +3918,16 @@ SWIGINTERN PyObject *_wrap_WizardPageSimple_Create(PyObject *SWIGUNUSEDPARM(self int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL + (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:WizardPageSimple_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:WizardPageSimple_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWizardPageSimple, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WizardPageSimple_Create" "', expected argument " "1"" of type '" "wxWizardPageSimple *""'"); @@ -4052,16 +3964,9 @@ SWIGINTERN PyObject *_wrap_WizardPageSimple_Create(PyObject *SWIGUNUSEDPARM(self } arg5 = reinterpret_cast< wxBitmap * >(argp5); } - if (obj5) { - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxChar, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "WizardPageSimple_Create" "', expected argument " "6"" of type '" "wxChar const *""'"); - } - arg6 = reinterpret_cast< wxChar * >(argp6); - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxBitmap const &)*arg5,(wxChar const *)arg6); + result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxBitmap const &)*arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -6003,7 +5908,6 @@ static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned c static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; @@ -6149,7 +6053,6 @@ static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (voi static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyWizardPage = {"_p_wxPyWizardPage", "wxPyWizardPage *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; @@ -6173,7 +6076,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxBoxSizer, &_swigt__p_wxCURHandler, &_swigt__p_wxCalculateLayoutEvent, - &_swigt__p_wxChar, &_swigt__p_wxChildFocusEvent, &_swigt__p_wxClipboardTextEvent, &_swigt__p_wxCloseEvent, @@ -6301,7 +6203,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxStaticBoxSizer, &_swigt__p_wxStatusBar, &_swigt__p_wxStdDialogButtonSizer, - &_swigt__p_wxString, &_swigt__p_wxSysColourChangedEvent, &_swigt__p_wxTGAHandler, &_swigt__p_wxTIFFHandler, @@ -6329,7 +6230,6 @@ static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; @@ -6475,7 +6375,6 @@ static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPyVListBox, _p_wxPy static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyWizardPage[] = { {&_swigt__p_wxPyWizardPage, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; @@ -6499,7 +6398,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxBoxSizer, _swigc__p_wxCURHandler, _swigc__p_wxCalculateLayoutEvent, - _swigc__p_wxChar, _swigc__p_wxChildFocusEvent, _swigc__p_wxClipboardTextEvent, _swigc__p_wxCloseEvent, @@ -6627,7 +6525,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxStaticBoxSizer, _swigc__p_wxStatusBar, _swigc__p_wxStdDialogButtonSizer, - _swigc__p_wxString, _swigc__p_wxSysColourChangedEvent, _swigc__p_wxTGAHandler, _swigc__p_wxTIFFHandler, diff --git a/wxPython/src/mac/_controls.py b/wxPython/src/mac/_controls.py index 2799b1dd20..4cc5f878e7 100644 --- a/wxPython/src/mac/_controls.py +++ b/wxPython/src/mac/_controls.py @@ -99,7 +99,7 @@ class Button(_core.Control): def SetDefault(*args, **kwargs): """ - SetDefault(self) + SetDefault(self) -> Window This sets the button to be the default item for the panel or dialog box. """ diff --git a/wxPython/src/mac/_controls_wrap.cpp b/wxPython/src/mac/_controls_wrap.cpp index 27cd7601ca..6ae330670f 100644 --- a/wxPython/src/mac/_controls_wrap.cpp +++ b/wxPython/src/mac/_controls_wrap.cpp @@ -3735,6 +3735,7 @@ fail: SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxButton *arg1 = (wxButton *) 0 ; + wxWindow *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -3748,11 +3749,13 @@ SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyO arg1 = reinterpret_cast< wxButton * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetDefault(); + result = (wxWindow *)(arg1)->SetDefault(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + { + resultobj = wxPyMake_wxObject(result, 0); + } return resultobj; fail: return NULL; diff --git a/wxPython/src/mac/_core.py b/wxPython/src/mac/_core.py index d57326521b..275563cf2f 100644 --- a/wxPython/src/mac/_core.py +++ b/wxPython/src/mac/_core.py @@ -1908,6 +1908,73 @@ class Rect2D(object): _core_.Rect2D_swigregister(Rect2D) +class Position(object): + """Proxy of C++ Position class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """__init__(self, int row=0, int col=0) -> Position""" + _core_.Position_swiginit(self,_core_.new_Position(*args, **kwargs)) + __swig_destroy__ = _core_.delete_Position + __del__ = lambda self : None; + def GetRow(*args, **kwargs): + """GetRow(self) -> int""" + return _core_.Position_GetRow(*args, **kwargs) + + def GetColumn(*args, **kwargs): + """GetColumn(self) -> int""" + return _core_.Position_GetColumn(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol(self) -> int""" + return _core_.Position_GetCol(*args, **kwargs) + + def SetRow(*args, **kwargs): + """SetRow(self, int row)""" + return _core_.Position_SetRow(*args, **kwargs) + + def SetColumn(*args, **kwargs): + """SetColumn(self, int column)""" + return _core_.Position_SetColumn(*args, **kwargs) + + def SetCol(*args, **kwargs): + """SetCol(self, int column)""" + return _core_.Position_SetCol(*args, **kwargs) + + def __eq__(*args, **kwargs): + """ + __eq__(self, PyObject other) -> bool + + Test for equality of wx.Position objects. + """ + return _core_.Position___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """ + __ne__(self, PyObject other) -> bool + + Test for inequality of wx.Position objects. + """ + return _core_.Position___ne__(*args, **kwargs) + + def __add__(*args): + """ + __add__(self, Position p) -> Position + __add__(self, Size s) -> Position + """ + return _core_.Position___add__(*args) + + def __sub__(*args): + """ + __sub__(self, Position p) -> Position + __sub__(self, Size s) -> Position + """ + return _core_.Position___sub__(*args) + + row = property(GetRow,SetRow) + col = property(GetCol,SetCol) +_core_.Position_swigregister(Position) + #--------------------------------------------------------------------------- FromStart = _core_.FromStart @@ -8140,9 +8207,21 @@ class VisualAttributes(object): _core_.VisualAttributes_swiginit(self,_core_.new_VisualAttributes(*args, **kwargs)) __swig_destroy__ = _core_.delete_VisualAttributes __del__ = lambda self : None; - font = property(_core_.VisualAttributes_font_get, _core_.VisualAttributes_font_set) - colFg = property(_core_.VisualAttributes_colFg_get, _core_.VisualAttributes_colFg_set) - colBg = property(_core_.VisualAttributes_colBg_get, _core_.VisualAttributes_colBg_set) + def _get_font(*args, **kwargs): + """_get_font(self) -> Font""" + return _core_.VisualAttributes__get_font(*args, **kwargs) + + def _get_colFg(*args, **kwargs): + """_get_colFg(self) -> Colour""" + return _core_.VisualAttributes__get_colFg(*args, **kwargs) + + def _get_colBg(*args, **kwargs): + """_get_colBg(self) -> Colour""" + return _core_.VisualAttributes__get_colBg(*args, **kwargs) + + font = property(_get_font) + colFg = property(_get_colFg) + colBg = property(_get_colBg) _core_.VisualAttributes_swigregister(VisualAttributes) NullAcceleratorTable = cvar.NullAcceleratorTable PanelNameStr = cvar.PanelNameStr @@ -9091,6 +9170,10 @@ class Window(EvtHandler): """ return _core_.Window_CanAcceptFocusFromKeyboard(*args, **kwargs) + def SetCanFocus(*args, **kwargs): + """SetCanFocus(self, bool canFocus)""" + return _core_.Window_SetCanFocus(*args, **kwargs) + def NavigateIn(*args, **kwargs): """ NavigateIn(self, int flags=NavigationKeyEvent.IsForward) -> bool diff --git a/wxPython/src/mac/_core_wrap.cpp b/wxPython/src/mac/_core_wrap.cpp index 999e320980..9781e76fe8 100644 --- a/wxPython/src/mac/_core_wrap.cpp +++ b/wxPython/src/mac/_core_wrap.cpp @@ -2559,49 +2559,50 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxPaperSize swig_types[93] #define SWIGTYPE_p_wxPoint swig_types[94] #define SWIGTYPE_p_wxPoint2D swig_types[95] -#define SWIGTYPE_p_wxPropagateOnce swig_types[96] -#define SWIGTYPE_p_wxPropagationDisabler swig_types[97] -#define SWIGTYPE_p_wxPyApp swig_types[98] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[99] -#define SWIGTYPE_p_wxPyDropTarget swig_types[100] -#define SWIGTYPE_p_wxPyEvent swig_types[101] -#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[102] -#define SWIGTYPE_p_wxPyImageHandler swig_types[103] -#define SWIGTYPE_p_wxPyInputStream swig_types[104] -#define SWIGTYPE_p_wxPySizer swig_types[105] -#define SWIGTYPE_p_wxPyValidator swig_types[106] -#define SWIGTYPE_p_wxQuantize swig_types[107] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[108] -#define SWIGTYPE_p_wxRealPoint swig_types[109] -#define SWIGTYPE_p_wxRect swig_types[110] -#define SWIGTYPE_p_wxRect2D swig_types[111] -#define SWIGTYPE_p_wxRegion swig_types[112] -#define SWIGTYPE_p_wxScrollEvent swig_types[113] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[114] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[115] -#define SWIGTYPE_p_wxShowEvent swig_types[116] -#define SWIGTYPE_p_wxSize swig_types[117] -#define SWIGTYPE_p_wxSizeEvent swig_types[118] -#define SWIGTYPE_p_wxSizer swig_types[119] -#define SWIGTYPE_p_wxSizerFlags swig_types[120] -#define SWIGTYPE_p_wxSizerItem swig_types[121] -#define SWIGTYPE_p_wxStaticBox swig_types[122] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[123] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[125] -#define SWIGTYPE_p_wxTGAHandler swig_types[126] -#define SWIGTYPE_p_wxTIFFHandler swig_types[127] -#define SWIGTYPE_p_wxToolTip swig_types[128] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[129] -#define SWIGTYPE_p_wxValidator swig_types[130] -#define SWIGTYPE_p_wxVisualAttributes swig_types[131] -#define SWIGTYPE_p_wxWindow swig_types[132] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[133] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[134] -#define SWIGTYPE_p_wxXPMHandler swig_types[135] -#define SWIGTYPE_p_wxZipFSHandler swig_types[136] -static swig_type_info *swig_types[138]; -static swig_module_info swig_module = {swig_types, 137, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxPosition swig_types[96] +#define SWIGTYPE_p_wxPropagateOnce swig_types[97] +#define SWIGTYPE_p_wxPropagationDisabler swig_types[98] +#define SWIGTYPE_p_wxPyApp swig_types[99] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[100] +#define SWIGTYPE_p_wxPyDropTarget swig_types[101] +#define SWIGTYPE_p_wxPyEvent swig_types[102] +#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[103] +#define SWIGTYPE_p_wxPyImageHandler swig_types[104] +#define SWIGTYPE_p_wxPyInputStream swig_types[105] +#define SWIGTYPE_p_wxPySizer swig_types[106] +#define SWIGTYPE_p_wxPyValidator swig_types[107] +#define SWIGTYPE_p_wxQuantize swig_types[108] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[109] +#define SWIGTYPE_p_wxRealPoint swig_types[110] +#define SWIGTYPE_p_wxRect swig_types[111] +#define SWIGTYPE_p_wxRect2D swig_types[112] +#define SWIGTYPE_p_wxRegion swig_types[113] +#define SWIGTYPE_p_wxScrollEvent swig_types[114] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[115] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[116] +#define SWIGTYPE_p_wxShowEvent swig_types[117] +#define SWIGTYPE_p_wxSize swig_types[118] +#define SWIGTYPE_p_wxSizeEvent swig_types[119] +#define SWIGTYPE_p_wxSizer swig_types[120] +#define SWIGTYPE_p_wxSizerFlags swig_types[121] +#define SWIGTYPE_p_wxSizerItem swig_types[122] +#define SWIGTYPE_p_wxStaticBox swig_types[123] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[124] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[125] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126] +#define SWIGTYPE_p_wxTGAHandler swig_types[127] +#define SWIGTYPE_p_wxTIFFHandler swig_types[128] +#define SWIGTYPE_p_wxToolTip swig_types[129] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[130] +#define SWIGTYPE_p_wxValidator swig_types[131] +#define SWIGTYPE_p_wxVisualAttributes swig_types[132] +#define SWIGTYPE_p_wxWindow swig_types[133] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[134] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[135] +#define SWIGTYPE_p_wxXPMHandler swig_types[136] +#define SWIGTYPE_p_wxZipFSHandler swig_types[137] +static swig_type_info *swig_types[139]; +static swig_module_info swig_module = {swig_types, 138, 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) @@ -2899,7 +2900,8 @@ static wxPyCoreAPI API = { wxArrayDouble2PyList_helper, wxPoint2D_LIST_helper, wxRect2D_helper, - + wxPosition_helper, + }; #endif @@ -3208,6 +3210,24 @@ SWIGINTERN PyObject *wxRect2D_Get(wxRect2D *self){ //wxPyEndBlockThreads(blocked); return tup; } +SWIGINTERN bool wxPosition___eq__(wxPosition *self,PyObject *other){ + wxPosition temp, *obj = &temp; + if ( other == Py_None ) return false; + if ( ! wxPosition_helper(other, &obj) ) { + PyErr_Clear(); + return false; + } + return self->operator==(*obj); + } +SWIGINTERN bool wxPosition___ne__(wxPosition *self,PyObject *other){ + wxPosition temp, *obj = &temp; + if ( other == Py_None ) return true; + if ( ! wxPosition_helper(other, &obj)) { + PyErr_Clear(); + return true; + } + return self->operator!=(*obj); + } #include "wx/wxPython/pyistream.h" @@ -3882,6 +3902,9 @@ public: static const wxString wxPyPanelNameStr(wxPanelNameStr); SWIGINTERN wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; } SWIGINTERN void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; } +SWIGINTERN wxFont wxVisualAttributes__get_font(wxVisualAttributes *self){ return self->font; } +SWIGINTERN wxColour wxVisualAttributes__get_colFg(wxVisualAttributes *self){ return self->colFg; } +SWIGINTERN wxColour wxVisualAttributes__get_colBg(wxVisualAttributes *self){ return self->colBg; } SWIGINTERN PyObject *wxWindow_GetChildren(wxWindow *self){ wxWindowList& list = self->GetChildren(); return wxPy_ConvertList(&list); @@ -11469,6 +11492,520 @@ SWIGINTERN PyObject *Rect2D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *a return SWIG_Python_InitShadowInstance(args); } +SWIGINTERN PyObject *_wrap_new_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + int arg1 = (int) 0 ; + int arg2 = (int) 0 ; + wxPosition *result = 0 ; + int val1 ; + int ecode1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "row",(char *) "col", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Position",kwnames,&obj0,&obj1)) SWIG_fail; + if (obj0) { + ecode1 = SWIG_AsVal_int(obj0, &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Position" "', expected argument " "1"" of type '" "int""'"); + } + arg1 = static_cast< int >(val1); + } + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Position" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + { + result = (wxPosition *)new wxPosition(arg1,arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPosition, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Position" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + delete arg1; + + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_GetRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_GetRow" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + result = (int)((wxPosition const *)arg1)->GetRow(); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_GetColumn" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + result = (int)((wxPosition const *)arg1)->GetColumn(); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_GetCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_GetCol" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + result = (int)((wxPosition const *)arg1)->GetCol(); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_SetRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 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 *) "row", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position_SetRow",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_SetRow" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Position_SetRow" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + (arg1)->SetRow(arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 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 *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_SetColumn" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Position_SetColumn" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + (arg1)->SetColumn(arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_SetCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 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 *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position_SetCol",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_SetCol" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Position_SetCol" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + (arg1)->SetCol(arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "other", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position___eq__",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___eq__" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + arg2 = obj1; + { + result = (bool)wxPosition___eq__(arg1,arg2); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "other", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position___ne__",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___ne__" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + arg2 = obj1; + { + result = (bool)wxPosition___ne__(arg1,arg2); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___add____SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + wxPosition *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___add__" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Position___add__" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Position___add__" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + result = ((wxPosition const *)arg1)->operator +((wxPosition const &)*arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + wxPosition *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___sub__" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Position___sub__" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Position___sub__" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + result = ((wxPosition const *)arg1)->operator -((wxPosition const &)*arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___add____SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + wxSize *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + wxSize temp2 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___add__" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + arg2 = &temp2; + if ( ! wxSize_helper(swig_obj[1], &arg2)) SWIG_fail; + } + { + result = ((wxPosition const *)arg1)->operator +((wxSize const &)*arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___add__(PyObject *self, PyObject *args) { + int argc; + PyObject *argv[3]; + + if (!(argc = SWIG_Python_UnpackTuple(args,"Position___add__",0,2,argv))) SWIG_fail; + --argc; + if (argc == 2) { + int _v = 0; + { + int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_wxPosition, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_Position___add____SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + return _wrap_Position___add____SWIG_1(self, argc, argv); + } + +fail: + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +SWIGINTERN PyObject *_wrap_Position___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + wxSize *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + wxSize temp2 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___sub__" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + arg2 = &temp2; + if ( ! wxSize_helper(swig_obj[1], &arg2)) SWIG_fail; + } + { + result = ((wxPosition const *)arg1)->operator -((wxSize const &)*arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___sub__(PyObject *self, PyObject *args) { + int argc; + PyObject *argv[3]; + + if (!(argc = SWIG_Python_UnpackTuple(args,"Position___sub__",0,2,argv))) SWIG_fail; + --argc; + if (argc == 2) { + int _v = 0; + { + int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_wxPosition, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_Position___sub____SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + return _wrap_Position___sub____SWIG_1(self, argc, argv); + } + +fail: + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +SWIGINTERN PyObject *Position_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxPosition, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *Position_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + SWIGINTERN int DefaultPosition_set(PyObject *) { SWIG_Error(SWIG_AttributeError,"Variable DefaultPosition is read-only."); return 1; @@ -32692,40 +33229,10 @@ fail: } -SWIGINTERN PyObject *_wrap_VisualAttributes_font_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxFont *arg2 = (wxFont *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; - - if (!SWIG_Python_UnpackTuple(args,"VisualAttributes_font_set",2,2,swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); - } - arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFont, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'"); - } - arg2 = reinterpret_cast< wxFont * >(argp2); - if (arg1) (arg1)->font = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_VisualAttributes_font_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VisualAttributes__get_font(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxFont *result = 0 ; + wxFont result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -32734,51 +33241,26 @@ SWIGINTERN PyObject *_wrap_VisualAttributes_font_get(PyObject *SWIGUNUSEDPARM(se swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); - } - arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - result = (wxFont *)& ((arg1)->font); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_VisualAttributes_colFg_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour *arg2 = (wxColour *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; - - if (!SWIG_Python_UnpackTuple(args,"VisualAttributes_colFg_set",2,2,swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes__get_font" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); } arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxColour, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'"); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxVisualAttributes__get_font(arg1); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } - arg2 = reinterpret_cast< wxColour * >(argp2); - if (arg1) (arg1)->colFg = *arg2; - - resultobj = SWIG_Py_Void(); + resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VisualAttributes_colFg_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VisualAttributes__get_colFg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour *result = 0 ; + wxColour result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -32787,51 +33269,26 @@ SWIGINTERN PyObject *_wrap_VisualAttributes_colFg_get(PyObject *SWIGUNUSEDPARM(s swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); - } - arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - result = (wxColour *)& ((arg1)->colFg); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_VisualAttributes_colBg_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour *arg2 = (wxColour *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; - - if (!SWIG_Python_UnpackTuple(args,"VisualAttributes_colBg_set",2,2,swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes__get_colFg" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); } arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxColour, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'"); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxVisualAttributes__get_colFg(arg1); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } - arg2 = reinterpret_cast< wxColour * >(argp2); - if (arg1) (arg1)->colBg = *arg2; - - resultobj = SWIG_Py_Void(); + resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VisualAttributes_colBg_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VisualAttributes__get_colBg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour *result = 0 ; + wxColour result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -32840,11 +33297,16 @@ SWIGINTERN PyObject *_wrap_VisualAttributes_colBg_get(PyObject *SWIGUNUSEDPARM(s swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes__get_colBg" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); } arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - result = (wxColour *)& ((arg1)->colBg); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxVisualAttributes__get_colBg(arg1); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -36463,6 +36925,44 @@ fail: } +SWIGINTERN PyObject *_wrap_Window_SetCanFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "canFocus", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCanFocus",kwnames,&obj0,&obj1)) 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_SetCanFocus" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Window_SetCanFocus" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetCanFocus(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_Window_NavigateIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxWindow *arg1 = (wxWindow *) 0 ; @@ -58058,6 +58558,20 @@ static PyMethodDef SwigMethods[] = { { (char *)"Rect2D_Get", (PyCFunction)_wrap_Rect2D_Get, METH_O, NULL}, { (char *)"Rect2D_swigregister", Rect2D_swigregister, METH_VARARGS, NULL}, { (char *)"Rect2D_swiginit", Rect2D_swiginit, METH_VARARGS, NULL}, + { (char *)"new_Position", (PyCFunction) _wrap_new_Position, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_Position", (PyCFunction)_wrap_delete_Position, METH_O, NULL}, + { (char *)"Position_GetRow", (PyCFunction)_wrap_Position_GetRow, METH_O, NULL}, + { (char *)"Position_GetColumn", (PyCFunction)_wrap_Position_GetColumn, METH_O, NULL}, + { (char *)"Position_GetCol", (PyCFunction)_wrap_Position_GetCol, METH_O, NULL}, + { (char *)"Position_SetRow", (PyCFunction) _wrap_Position_SetRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position_SetColumn", (PyCFunction) _wrap_Position_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position_SetCol", (PyCFunction) _wrap_Position_SetCol, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position___eq__", (PyCFunction) _wrap_Position___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position___ne__", (PyCFunction) _wrap_Position___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position___add__", _wrap_Position___add__, METH_VARARGS, NULL}, + { (char *)"Position___sub__", _wrap_Position___sub__, METH_VARARGS, NULL}, + { (char *)"Position_swigregister", Position_swigregister, METH_VARARGS, NULL}, + { (char *)"Position_swiginit", Position_swiginit, METH_VARARGS, NULL}, { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_InputStream", (PyCFunction)_wrap_delete_InputStream, METH_O, NULL}, { (char *)"InputStream_close", (PyCFunction)_wrap_InputStream_close, METH_O, NULL}, @@ -58771,12 +59285,9 @@ static PyMethodDef SwigMethods[] = { { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit, METH_VARARGS, NULL}, { (char *)"new_VisualAttributes", (PyCFunction)_wrap_new_VisualAttributes, METH_NOARGS, NULL}, { (char *)"delete_VisualAttributes", (PyCFunction)_wrap_delete_VisualAttributes, METH_O, NULL}, - { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set, METH_VARARGS, NULL}, - { (char *)"VisualAttributes_font_get", (PyCFunction)_wrap_VisualAttributes_font_get, METH_O, NULL}, - { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set, METH_VARARGS, NULL}, - { (char *)"VisualAttributes_colFg_get", (PyCFunction)_wrap_VisualAttributes_colFg_get, METH_O, NULL}, - { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set, METH_VARARGS, NULL}, - { (char *)"VisualAttributes_colBg_get", (PyCFunction)_wrap_VisualAttributes_colBg_get, METH_O, NULL}, + { (char *)"VisualAttributes__get_font", (PyCFunction)_wrap_VisualAttributes__get_font, METH_O, NULL}, + { (char *)"VisualAttributes__get_colFg", (PyCFunction)_wrap_VisualAttributes__get_colFg, METH_O, NULL}, + { (char *)"VisualAttributes__get_colBg", (PyCFunction)_wrap_VisualAttributes__get_colBg, METH_O, NULL}, { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS, NULL}, { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit, METH_VARARGS, NULL}, { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -58876,6 +59387,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Window_CanAcceptFocus", (PyCFunction)_wrap_Window_CanAcceptFocus, METH_O, NULL}, { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction)_wrap_Window_AcceptsFocusFromKeyboard, METH_O, NULL}, { (char *)"Window_CanAcceptFocusFromKeyboard", (PyCFunction)_wrap_Window_CanAcceptFocusFromKeyboard, METH_O, NULL}, + { (char *)"Window_SetCanFocus", (PyCFunction) _wrap_Window_SetCanFocus, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Window_NavigateIn", (PyCFunction) _wrap_Window_NavigateIn, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -60085,6 +60597,7 @@ static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEve static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPoint2D = {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxPosition = {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPropagateOnce = {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPropagationDisabler = {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0}; @@ -60224,6 +60737,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxPaperSize, &_swigt__p_wxPoint, &_swigt__p_wxPoint2D, + &_swigt__p_wxPosition, &_swigt__p_wxPropagateOnce, &_swigt__p_wxPropagationDisabler, &_swigt__p_wxPyApp, @@ -60363,6 +60877,7 @@ static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = { {&_swigt__p_wxPalet static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPoint2D[] = { {&_swigt__p_wxPoint2D, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPosition[] = { {&_swigt__p_wxPosition, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPropagateOnce[] = { {&_swigt__p_wxPropagateOnce, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPropagationDisabler[] = { {&_swigt__p_wxPropagationDisabler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyApp[] = { {&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; @@ -60502,6 +61017,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxPaperSize, _swigc__p_wxPoint, _swigc__p_wxPoint2D, + _swigc__p_wxPosition, _swigc__p_wxPropagateOnce, _swigc__p_wxPropagationDisabler, _swigc__p_wxPyApp, diff --git a/wxPython/src/mac/_gdi.py b/wxPython/src/mac/_gdi.py index c7fe77a981..6a68b8cb5a 100644 --- a/wxPython/src/mac/_gdi.py +++ b/wxPython/src/mac/_gdi.py @@ -1229,19 +1229,73 @@ class IconBundle(object): _gdi_.IconBundle_swiginit(self,_gdi_.new_IconBundle(*args, **kwargs)) __swig_destroy__ = _gdi_.delete_IconBundle __del__ = lambda self : None; + def IsOk(*args, **kwargs): + """IsOk(self) -> bool""" + return _gdi_.IconBundle_IsOk(*args, **kwargs) + + def __nonzero__(self): return self.IsOk() def AddIcon(*args, **kwargs): - """AddIcon(self, Icon icon)""" + """ + AddIcon(self, Icon icon) + + Adds the icon to the collection, if the collection already contains an + icon with the same width and height, it is replaced + """ return _gdi_.IconBundle_AddIcon(*args, **kwargs) def AddIconFromFile(*args, **kwargs): - """AddIconFromFile(self, String file, long type)""" + """ + AddIconFromFile(self, String file, long type) + + Adds all the icons contained in the file to the collection, if the + collection already contains icons with the same width and height, they + are replaced + """ return _gdi_.IconBundle_AddIconFromFile(*args, **kwargs) def GetIcon(*args, **kwargs): - """GetIcon(self, Size size) -> Icon""" + """ + GetIcon(self, Size size) -> Icon + + Returns the icon with the given size; if no such icon exists, returns + the icon with size wxSYS_ICON_[XY]; if no such icon exists, returns + the first icon in the bundle + """ return _gdi_.IconBundle_GetIcon(*args, **kwargs) - Icon = property(GetIcon,doc="See `GetIcon`") + def GetIconOfExactSize(*args, **kwargs): + """ + GetIconOfExactSize(self, Size size) -> Icon + + Returns the icon exactly of the specified size or wxNullIcon if no + icon of exactly given size are available. + """ + return _gdi_.IconBundle_GetIconOfExactSize(*args, **kwargs) + + def GetIconCount(*args, **kwargs): + """ + GetIconCount(self) -> size_t + + return the number of available icons + """ + return _gdi_.IconBundle_GetIconCount(*args, **kwargs) + + def GetIconByIndex(*args, **kwargs): + """ + GetIconByIndex(self, size_t n) -> Icon + + Return the icon at index (must be < GetIconCount()) + """ + return _gdi_.IconBundle_GetIconByIndex(*args, **kwargs) + + def IsEmpty(*args, **kwargs): + """ + IsEmpty(self) -> bool + + Check if we have any icons at all + """ + return _gdi_.IconBundle_IsEmpty(*args, **kwargs) + _gdi_.IconBundle_swigregister(IconBundle) def IconBundleFromFile(*args, **kwargs): @@ -6285,6 +6339,7 @@ NullBrush = cvar.NullBrush NullPalette = cvar.NullPalette NullFont = cvar.NullFont NullColour = cvar.NullColour +NullIconBundle = cvar.NullIconBundle class PenList(GDIObjListBase): """Proxy of C++ PenList class""" diff --git a/wxPython/src/mac/_gdi_wrap.cpp b/wxPython/src/mac/_gdi_wrap.cpp index edf6af9b78..379f59a046 100644 --- a/wxPython/src/mac/_gdi_wrap.cpp +++ b/wxPython/src/mac/_gdi_wrap.cpp @@ -3266,6 +3266,23 @@ SWIGINTERN int wxIconLocation_GetIndex(wxIconLocation *self){ return -1; } + +SWIGINTERNINLINE PyObject * +SWIG_From_size_t (size_t value) +{ + return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); +} + + +SWIGINTERNINLINE int +SWIG_AsVal_size_t (PyObject * obj, size_t *val) +{ + unsigned long v; + int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); + if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); + return res; +} + SWIGINTERN wxCursor *new_wxCursor(wxString const &cursorName,long type,int hotSpotX=0,int hotSpotY=0){ #ifdef __WXGTK__ wxImage img(cursorName, type); @@ -3301,23 +3318,6 @@ SWIGINTERN wxString wxNativeFontInfo___str__(wxNativeFontInfo *self){ return NULL; } - -SWIGINTERNINLINE PyObject * -SWIG_From_size_t (size_t value) -{ - return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); -} - - -SWIGINTERNINLINE int -SWIG_AsVal_size_t (PyObject * obj, size_t *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); - if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); - return res; -} - SWIGINTERN PyObject *wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,wxString const &facename=wxPyEmptyString,bool interactive=true){ wxFontEncoding alt_enc; if (self->GetAltForEncoding(encoding, &alt_enc, facename, interactive)) @@ -9965,6 +9965,36 @@ fail: } +SWIGINTERN PyObject *_wrap_IconBundle_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_IsOk" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxIconBundle const *)arg1)->IsOk(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_IconBundle_AddIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxIconBundle *arg1 = (wxIconBundle *) 0 ; @@ -10103,6 +10133,140 @@ fail: } +SWIGINTERN PyObject *_wrap_IconBundle_GetIconOfExactSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + wxSize *arg2 = 0 ; + wxIcon result; + void *argp1 = 0 ; + int res1 = 0 ; + wxSize temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "size", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIconOfExactSize",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_GetIconOfExactSize" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + { + arg2 = &temp2; + if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxIconBundle const *)arg1)->GetIconOfExactSize((wxSize const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IconBundle_GetIconCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_GetIconCount" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxIconBundle const *)arg1)->GetIconCount(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IconBundle_GetIconByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + size_t arg2 ; + wxIcon result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "n", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIconByIndex",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxIconBundle const *)arg1)->GetIconByIndex(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IconBundle_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_IsEmpty" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxIconBundle const *)arg1)->IsEmpty(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *IconBundle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; @@ -32485,6 +32649,20 @@ SWIGINTERN PyObject *NullColour_get(void) { } +SWIGINTERN int NullIconBundle_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable NullIconBundle is read-only."); + return 1; +} + + +SWIGINTERN PyObject *NullIconBundle_get(void) { + PyObject *pyobj = 0; + + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIconBundle), SWIGTYPE_p_wxIconBundle, 0 ); + return pyobj; +} + + SWIGINTERN PyObject *_wrap_new_GDIObjListBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxGDIObjListBase *result = 0 ; @@ -38876,9 +39054,14 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_IconBundleFromFile", (PyCFunction) _wrap_new_IconBundleFromFile, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_IconBundleFromIcon", (PyCFunction) _wrap_new_IconBundleFromIcon, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_IconBundle", (PyCFunction)_wrap_delete_IconBundle, METH_O, NULL}, + { (char *)"IconBundle_IsOk", (PyCFunction)_wrap_IconBundle_IsOk, METH_O, NULL}, { (char *)"IconBundle_AddIcon", (PyCFunction) _wrap_IconBundle_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"IconBundle_AddIconFromFile", (PyCFunction) _wrap_IconBundle_AddIconFromFile, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"IconBundle_GetIcon", (PyCFunction) _wrap_IconBundle_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IconBundle_GetIconOfExactSize", (PyCFunction) _wrap_IconBundle_GetIconOfExactSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IconBundle_GetIconCount", (PyCFunction)_wrap_IconBundle_GetIconCount, METH_O, NULL}, + { (char *)"IconBundle_GetIconByIndex", (PyCFunction) _wrap_IconBundle_GetIconByIndex, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IconBundle_IsEmpty", (PyCFunction)_wrap_IconBundle_IsEmpty, METH_O, NULL}, { (char *)"IconBundle_swigregister", IconBundle_swigregister, METH_VARARGS, NULL}, { (char *)"IconBundle_swiginit", IconBundle_swiginit, METH_VARARGS, NULL}, { (char *)"new_Cursor", (PyCFunction) _wrap_new_Cursor, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -41738,6 +41921,7 @@ SWIGEXPORT void SWIG_init(void) { SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get, NullPalette_set); SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get, NullFont_set); SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get, NullColour_set); + SWIG_addvarlink(SWIG_globals(),(char*)"NullIconBundle",NullIconBundle_get, NullIconBundle_set); SWIG_Python_SetConstant(d, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED))); SWIG_Python_SetConstant(d, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED))); SWIG_Python_SetConstant(d, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED))); diff --git a/wxPython/src/mac/_misc.py b/wxPython/src/mac/_misc.py index f45e23f3c4..1ef4e7078e 100644 --- a/wxPython/src/mac/_misc.py +++ b/wxPython/src/mac/_misc.py @@ -1986,6 +1986,8 @@ EXEC_SYNC = _misc_.EXEC_SYNC EXEC_NOHIDE = _misc_.EXEC_NOHIDE EXEC_MAKE_GROUP_LEADER = _misc_.EXEC_MAKE_GROUP_LEADER EXEC_NODISABLE = _misc_.EXEC_NODISABLE +EXEC_NOEVENTS = _misc_.EXEC_NOEVENTS +EXEC_BLOCK = _misc_.EXEC_BLOCK def Execute(*args, **kwargs): """Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long""" @@ -2712,6 +2714,16 @@ class ArtProvider(object): return _misc_.ArtProvider_GetIcon(*args, **kwargs) GetIcon = staticmethod(GetIcon) + def GetIconBundle(*args, **kwargs): + """ + GetIconBundle(wxArtID id, wxArtClient client=wxART_OTHER) -> wxIconBundle + + Query the providers for iconbundle with given ID and return it. Return + wx.NullIconBundle if no provider provides it. + """ + return _misc_.ArtProvider_GetIconBundle(*args, **kwargs) + + GetIconBundle = staticmethod(GetIconBundle) def GetSizeHint(*args, **kwargs): """ GetSizeHint(String client, bool platform_dependent=False) -> Size @@ -2735,6 +2747,7 @@ ART_CMN_DIALOG = cvar.ART_CMN_DIALOG ART_HELP_BROWSER = cvar.ART_HELP_BROWSER ART_MESSAGE_BOX = cvar.ART_MESSAGE_BOX ART_BUTTON = cvar.ART_BUTTON +ART_LIST = cvar.ART_LIST ART_OTHER = cvar.ART_OTHER ART_ADD_BOOKMARK = cvar.ART_ADD_BOOKMARK ART_DEL_BOOKMARK = cvar.ART_DEL_BOOKMARK @@ -2838,6 +2851,15 @@ def ArtProvider_GetIcon(*args, **kwargs): """ return _misc_.ArtProvider_GetIcon(*args, **kwargs) +def ArtProvider_GetIconBundle(*args, **kwargs): + """ + ArtProvider_GetIconBundle(wxArtID id, wxArtClient client=wxART_OTHER) -> wxIconBundle + + Query the providers for iconbundle with given ID and return it. Return + wx.NullIconBundle if no provider provides it. + """ + return _misc_.ArtProvider_GetIconBundle(*args, **kwargs) + def ArtProvider_GetSizeHint(*args, **kwargs): """ ArtProvider_GetSizeHint(String client, bool platform_dependent=False) -> Size diff --git a/wxPython/src/mac/_misc_wrap.cpp b/wxPython/src/mac/_misc_wrap.cpp index 94d6cf5d85..4233f1ae1c 100644 --- a/wxPython/src/mac/_misc_wrap.cpp +++ b/wxPython/src/mac/_misc_wrap.cpp @@ -2475,172 +2475,175 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxAcceleratorTable swig_types[9] #define SWIGTYPE_p_wxActivateEvent swig_types[10] #define SWIGTYPE_p_wxArrayString swig_types[11] -#define SWIGTYPE_p_wxBMPHandler swig_types[12] -#define SWIGTYPE_p_wxBitmap swig_types[13] -#define SWIGTYPE_p_wxBitmapDataObject swig_types[14] -#define SWIGTYPE_p_wxBoxSizer swig_types[15] -#define SWIGTYPE_p_wxBusyCursor swig_types[16] -#define SWIGTYPE_p_wxBusyInfo swig_types[17] -#define SWIGTYPE_p_wxCURHandler swig_types[18] -#define SWIGTYPE_p_wxCaret swig_types[19] -#define SWIGTYPE_p_wxChar swig_types[20] -#define SWIGTYPE_p_wxChildFocusEvent swig_types[21] -#define SWIGTYPE_p_wxClipboard swig_types[22] -#define SWIGTYPE_p_wxClipboardLocker swig_types[23] -#define SWIGTYPE_p_wxClipboardTextEvent swig_types[24] -#define SWIGTYPE_p_wxCloseEvent swig_types[25] -#define SWIGTYPE_p_wxColour swig_types[26] -#define SWIGTYPE_p_wxCommandEvent swig_types[27] -#define SWIGTYPE_p_wxConfig swig_types[28] -#define SWIGTYPE_p_wxConfigBase swig_types[29] -#define SWIGTYPE_p_wxConfigPathChanger swig_types[30] -#define SWIGTYPE_p_wxContextMenuEvent swig_types[31] -#define SWIGTYPE_p_wxControl swig_types[32] -#define SWIGTYPE_p_wxControlWithItems swig_types[33] -#define SWIGTYPE_p_wxCursor swig_types[34] -#define SWIGTYPE_p_wxCustomDataObject swig_types[35] -#define SWIGTYPE_p_wxDC swig_types[36] -#define SWIGTYPE_p_wxDataFormat swig_types[37] -#define SWIGTYPE_p_wxDataObject swig_types[38] -#define SWIGTYPE_p_wxDataObjectComposite swig_types[39] -#define SWIGTYPE_p_wxDataObjectSimple swig_types[40] -#define SWIGTYPE_p_wxDateEvent swig_types[41] -#define SWIGTYPE_p_wxDateSpan swig_types[42] -#define SWIGTYPE_p_wxDateTime swig_types[43] -#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[44] -#define SWIGTYPE_p_wxDisplay swig_types[45] -#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46] -#define SWIGTYPE_p_wxDropFilesEvent swig_types[47] -#define SWIGTYPE_p_wxDuplexMode swig_types[48] -#define SWIGTYPE_p_wxEraseEvent swig_types[49] -#define SWIGTYPE_p_wxEvent swig_types[50] -#define SWIGTYPE_p_wxEventBlocker swig_types[51] -#define SWIGTYPE_p_wxEvtHandler swig_types[52] -#define SWIGTYPE_p_wxFSFile swig_types[53] -#define SWIGTYPE_p_wxFileConfig swig_types[54] -#define SWIGTYPE_p_wxFileDataObject swig_types[55] -#define SWIGTYPE_p_wxFileHistory swig_types[56] -#define SWIGTYPE_p_wxFileSystem swig_types[57] -#define SWIGTYPE_p_wxFileType swig_types[58] -#define SWIGTYPE_p_wxFileTypeInfo swig_types[59] -#define SWIGTYPE_p_wxFlexGridSizer swig_types[60] -#define SWIGTYPE_p_wxFocusEvent swig_types[61] -#define SWIGTYPE_p_wxFont swig_types[62] -#define SWIGTYPE_p_wxFrame swig_types[63] -#define SWIGTYPE_p_wxGBSizerItem swig_types[64] -#define SWIGTYPE_p_wxGIFHandler swig_types[65] -#define SWIGTYPE_p_wxGridBagSizer swig_types[66] -#define SWIGTYPE_p_wxGridSizer swig_types[67] -#define SWIGTYPE_p_wxICOHandler swig_types[68] -#define SWIGTYPE_p_wxIcon swig_types[69] -#define SWIGTYPE_p_wxIconizeEvent swig_types[70] -#define SWIGTYPE_p_wxIdleEvent swig_types[71] -#define SWIGTYPE_p_wxImage swig_types[72] -#define SWIGTYPE_p_wxImageHandler swig_types[73] -#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[74] -#define SWIGTYPE_p_wxInitDialogEvent swig_types[75] -#define SWIGTYPE_p_wxJPEGHandler swig_types[76] -#define SWIGTYPE_p_wxJoystick swig_types[77] -#define SWIGTYPE_p_wxJoystickEvent swig_types[78] -#define SWIGTYPE_p_wxKeyEvent swig_types[79] -#define SWIGTYPE_p_wxKillError swig_types[80] -#define SWIGTYPE_p_wxLayoutConstraints swig_types[81] -#define SWIGTYPE_p_wxLog swig_types[82] -#define SWIGTYPE_p_wxLogBuffer swig_types[83] -#define SWIGTYPE_p_wxLogChain swig_types[84] -#define SWIGTYPE_p_wxLogGui swig_types[85] -#define SWIGTYPE_p_wxLogNull swig_types[86] -#define SWIGTYPE_p_wxLogStderr swig_types[87] -#define SWIGTYPE_p_wxLogTextCtrl swig_types[88] -#define SWIGTYPE_p_wxLogWindow swig_types[89] -#define SWIGTYPE_p_wxMaximizeEvent swig_types[90] -#define SWIGTYPE_p_wxMenu swig_types[91] -#define SWIGTYPE_p_wxMenuBar swig_types[92] -#define SWIGTYPE_p_wxMenuEvent swig_types[93] -#define SWIGTYPE_p_wxMenuItem swig_types[94] -#define SWIGTYPE_p_wxMetafile swig_types[95] -#define SWIGTYPE_p_wxMetafileDataObject swig_types[96] -#define SWIGTYPE_p_wxMimeTypesManager swig_types[97] -#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[98] -#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[99] -#define SWIGTYPE_p_wxMouseEvent swig_types[100] -#define SWIGTYPE_p_wxMouseState swig_types[101] -#define SWIGTYPE_p_wxMoveEvent swig_types[102] -#define SWIGTYPE_p_wxMutexGuiLocker swig_types[103] -#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[104] -#define SWIGTYPE_p_wxNcPaintEvent swig_types[105] -#define SWIGTYPE_p_wxNotifyEvent swig_types[106] -#define SWIGTYPE_p_wxObject swig_types[107] -#define SWIGTYPE_p_wxOutputStream swig_types[108] -#define SWIGTYPE_p_wxPCXHandler swig_types[109] -#define SWIGTYPE_p_wxPNGHandler swig_types[110] -#define SWIGTYPE_p_wxPNMHandler swig_types[111] -#define SWIGTYPE_p_wxPaintEvent swig_types[112] -#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113] -#define SWIGTYPE_p_wxPaperSize swig_types[114] -#define SWIGTYPE_p_wxPlatformInfo swig_types[115] -#define SWIGTYPE_p_wxPoint swig_types[116] -#define SWIGTYPE_p_wxPowerEvent swig_types[117] -#define SWIGTYPE_p_wxProcessEvent swig_types[118] -#define SWIGTYPE_p_wxPyApp swig_types[119] -#define SWIGTYPE_p_wxPyArtProvider swig_types[120] -#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[121] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[122] -#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[123] -#define SWIGTYPE_p_wxPyDropSource swig_types[124] -#define SWIGTYPE_p_wxPyDropTarget swig_types[125] -#define SWIGTYPE_p_wxPyEvent swig_types[126] -#define SWIGTYPE_p_wxPyFileDropTarget swig_types[127] -#define SWIGTYPE_p_wxPyImageHandler swig_types[128] -#define SWIGTYPE_p_wxPyLog swig_types[129] -#define SWIGTYPE_p_wxPyProcess swig_types[130] -#define SWIGTYPE_p_wxPySizer swig_types[131] -#define SWIGTYPE_p_wxPyTextDataObject swig_types[132] -#define SWIGTYPE_p_wxPyTextDropTarget swig_types[133] -#define SWIGTYPE_p_wxPyTimer swig_types[134] -#define SWIGTYPE_p_wxPyTipProvider swig_types[135] -#define SWIGTYPE_p_wxPyValidator swig_types[136] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[137] -#define SWIGTYPE_p_wxRect swig_types[138] -#define SWIGTYPE_p_wxScrollEvent swig_types[139] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[140] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[141] -#define SWIGTYPE_p_wxShowEvent swig_types[142] -#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[143] -#define SWIGTYPE_p_wxSize swig_types[144] -#define SWIGTYPE_p_wxSizeEvent swig_types[145] -#define SWIGTYPE_p_wxSizer swig_types[146] -#define SWIGTYPE_p_wxSizerItem swig_types[147] -#define SWIGTYPE_p_wxSound swig_types[148] -#define SWIGTYPE_p_wxStandardPaths swig_types[149] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[150] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151] -#define SWIGTYPE_p_wxStopWatch swig_types[152] -#define SWIGTYPE_p_wxString swig_types[153] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154] -#define SWIGTYPE_p_wxSystemOptions swig_types[155] -#define SWIGTYPE_p_wxSystemSettings swig_types[156] -#define SWIGTYPE_p_wxTGAHandler swig_types[157] -#define SWIGTYPE_p_wxTIFFHandler swig_types[158] -#define SWIGTYPE_p_wxTextCtrl swig_types[159] -#define SWIGTYPE_p_wxTextDataObject swig_types[160] -#define SWIGTYPE_p_wxTimeSpan swig_types[161] -#define SWIGTYPE_p_wxTimer swig_types[162] -#define SWIGTYPE_p_wxTimerEvent swig_types[163] -#define SWIGTYPE_p_wxTimerRunner swig_types[164] -#define SWIGTYPE_p_wxTipProvider swig_types[165] -#define SWIGTYPE_p_wxToolTip swig_types[166] -#define SWIGTYPE_p_wxURLDataObject swig_types[167] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[168] -#define SWIGTYPE_p_wxValidator swig_types[169] -#define SWIGTYPE_p_wxVideoMode swig_types[170] -#define SWIGTYPE_p_wxWindow swig_types[171] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[172] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173] -#define SWIGTYPE_p_wxWindowDisabler swig_types[174] -#define SWIGTYPE_p_wxXPMHandler swig_types[175] -static swig_type_info *swig_types[177]; -static swig_module_info swig_module = {swig_types, 176, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxArtClient swig_types[12] +#define SWIGTYPE_p_wxArtID swig_types[13] +#define SWIGTYPE_p_wxBMPHandler swig_types[14] +#define SWIGTYPE_p_wxBitmap swig_types[15] +#define SWIGTYPE_p_wxBitmapDataObject swig_types[16] +#define SWIGTYPE_p_wxBoxSizer swig_types[17] +#define SWIGTYPE_p_wxBusyCursor swig_types[18] +#define SWIGTYPE_p_wxBusyInfo swig_types[19] +#define SWIGTYPE_p_wxCURHandler swig_types[20] +#define SWIGTYPE_p_wxCaret swig_types[21] +#define SWIGTYPE_p_wxChar swig_types[22] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[23] +#define SWIGTYPE_p_wxClipboard swig_types[24] +#define SWIGTYPE_p_wxClipboardLocker swig_types[25] +#define SWIGTYPE_p_wxClipboardTextEvent swig_types[26] +#define SWIGTYPE_p_wxCloseEvent swig_types[27] +#define SWIGTYPE_p_wxColour swig_types[28] +#define SWIGTYPE_p_wxCommandEvent swig_types[29] +#define SWIGTYPE_p_wxConfig swig_types[30] +#define SWIGTYPE_p_wxConfigBase swig_types[31] +#define SWIGTYPE_p_wxConfigPathChanger swig_types[32] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[33] +#define SWIGTYPE_p_wxControl swig_types[34] +#define SWIGTYPE_p_wxControlWithItems swig_types[35] +#define SWIGTYPE_p_wxCursor swig_types[36] +#define SWIGTYPE_p_wxCustomDataObject swig_types[37] +#define SWIGTYPE_p_wxDC swig_types[38] +#define SWIGTYPE_p_wxDataFormat swig_types[39] +#define SWIGTYPE_p_wxDataObject swig_types[40] +#define SWIGTYPE_p_wxDataObjectComposite swig_types[41] +#define SWIGTYPE_p_wxDataObjectSimple swig_types[42] +#define SWIGTYPE_p_wxDateEvent swig_types[43] +#define SWIGTYPE_p_wxDateSpan swig_types[44] +#define SWIGTYPE_p_wxDateTime swig_types[45] +#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[46] +#define SWIGTYPE_p_wxDisplay swig_types[47] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[48] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[49] +#define SWIGTYPE_p_wxDuplexMode swig_types[50] +#define SWIGTYPE_p_wxEraseEvent swig_types[51] +#define SWIGTYPE_p_wxEvent swig_types[52] +#define SWIGTYPE_p_wxEventBlocker swig_types[53] +#define SWIGTYPE_p_wxEvtHandler swig_types[54] +#define SWIGTYPE_p_wxFSFile swig_types[55] +#define SWIGTYPE_p_wxFileConfig swig_types[56] +#define SWIGTYPE_p_wxFileDataObject swig_types[57] +#define SWIGTYPE_p_wxFileHistory swig_types[58] +#define SWIGTYPE_p_wxFileSystem swig_types[59] +#define SWIGTYPE_p_wxFileType swig_types[60] +#define SWIGTYPE_p_wxFileTypeInfo swig_types[61] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[62] +#define SWIGTYPE_p_wxFocusEvent swig_types[63] +#define SWIGTYPE_p_wxFont swig_types[64] +#define SWIGTYPE_p_wxFrame swig_types[65] +#define SWIGTYPE_p_wxGBSizerItem swig_types[66] +#define SWIGTYPE_p_wxGIFHandler swig_types[67] +#define SWIGTYPE_p_wxGridBagSizer swig_types[68] +#define SWIGTYPE_p_wxGridSizer swig_types[69] +#define SWIGTYPE_p_wxICOHandler swig_types[70] +#define SWIGTYPE_p_wxIcon swig_types[71] +#define SWIGTYPE_p_wxIconBundle swig_types[72] +#define SWIGTYPE_p_wxIconizeEvent swig_types[73] +#define SWIGTYPE_p_wxIdleEvent swig_types[74] +#define SWIGTYPE_p_wxImage swig_types[75] +#define SWIGTYPE_p_wxImageHandler swig_types[76] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[77] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[78] +#define SWIGTYPE_p_wxJPEGHandler swig_types[79] +#define SWIGTYPE_p_wxJoystick swig_types[80] +#define SWIGTYPE_p_wxJoystickEvent swig_types[81] +#define SWIGTYPE_p_wxKeyEvent swig_types[82] +#define SWIGTYPE_p_wxKillError swig_types[83] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[84] +#define SWIGTYPE_p_wxLog swig_types[85] +#define SWIGTYPE_p_wxLogBuffer swig_types[86] +#define SWIGTYPE_p_wxLogChain swig_types[87] +#define SWIGTYPE_p_wxLogGui swig_types[88] +#define SWIGTYPE_p_wxLogNull swig_types[89] +#define SWIGTYPE_p_wxLogStderr swig_types[90] +#define SWIGTYPE_p_wxLogTextCtrl swig_types[91] +#define SWIGTYPE_p_wxLogWindow swig_types[92] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[93] +#define SWIGTYPE_p_wxMenu swig_types[94] +#define SWIGTYPE_p_wxMenuBar swig_types[95] +#define SWIGTYPE_p_wxMenuEvent swig_types[96] +#define SWIGTYPE_p_wxMenuItem swig_types[97] +#define SWIGTYPE_p_wxMetafile swig_types[98] +#define SWIGTYPE_p_wxMetafileDataObject swig_types[99] +#define SWIGTYPE_p_wxMimeTypesManager swig_types[100] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101] +#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102] +#define SWIGTYPE_p_wxMouseEvent swig_types[103] +#define SWIGTYPE_p_wxMouseState swig_types[104] +#define SWIGTYPE_p_wxMoveEvent swig_types[105] +#define SWIGTYPE_p_wxMutexGuiLocker swig_types[106] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[107] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[108] +#define SWIGTYPE_p_wxNotifyEvent swig_types[109] +#define SWIGTYPE_p_wxObject swig_types[110] +#define SWIGTYPE_p_wxOutputStream swig_types[111] +#define SWIGTYPE_p_wxPCXHandler swig_types[112] +#define SWIGTYPE_p_wxPNGHandler swig_types[113] +#define SWIGTYPE_p_wxPNMHandler swig_types[114] +#define SWIGTYPE_p_wxPaintEvent swig_types[115] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116] +#define SWIGTYPE_p_wxPaperSize swig_types[117] +#define SWIGTYPE_p_wxPlatformInfo swig_types[118] +#define SWIGTYPE_p_wxPoint swig_types[119] +#define SWIGTYPE_p_wxPowerEvent swig_types[120] +#define SWIGTYPE_p_wxProcessEvent swig_types[121] +#define SWIGTYPE_p_wxPyApp swig_types[122] +#define SWIGTYPE_p_wxPyArtProvider swig_types[123] +#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[124] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[125] +#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[126] +#define SWIGTYPE_p_wxPyDropSource swig_types[127] +#define SWIGTYPE_p_wxPyDropTarget swig_types[128] +#define SWIGTYPE_p_wxPyEvent swig_types[129] +#define SWIGTYPE_p_wxPyFileDropTarget swig_types[130] +#define SWIGTYPE_p_wxPyImageHandler swig_types[131] +#define SWIGTYPE_p_wxPyLog swig_types[132] +#define SWIGTYPE_p_wxPyProcess swig_types[133] +#define SWIGTYPE_p_wxPySizer swig_types[134] +#define SWIGTYPE_p_wxPyTextDataObject swig_types[135] +#define SWIGTYPE_p_wxPyTextDropTarget swig_types[136] +#define SWIGTYPE_p_wxPyTimer swig_types[137] +#define SWIGTYPE_p_wxPyTipProvider swig_types[138] +#define SWIGTYPE_p_wxPyValidator swig_types[139] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140] +#define SWIGTYPE_p_wxRect swig_types[141] +#define SWIGTYPE_p_wxScrollEvent swig_types[142] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[143] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[144] +#define SWIGTYPE_p_wxShowEvent swig_types[145] +#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[146] +#define SWIGTYPE_p_wxSize swig_types[147] +#define SWIGTYPE_p_wxSizeEvent swig_types[148] +#define SWIGTYPE_p_wxSizer swig_types[149] +#define SWIGTYPE_p_wxSizerItem swig_types[150] +#define SWIGTYPE_p_wxSound swig_types[151] +#define SWIGTYPE_p_wxStandardPaths swig_types[152] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[153] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[154] +#define SWIGTYPE_p_wxStopWatch swig_types[155] +#define SWIGTYPE_p_wxString swig_types[156] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157] +#define SWIGTYPE_p_wxSystemOptions swig_types[158] +#define SWIGTYPE_p_wxSystemSettings swig_types[159] +#define SWIGTYPE_p_wxTGAHandler swig_types[160] +#define SWIGTYPE_p_wxTIFFHandler swig_types[161] +#define SWIGTYPE_p_wxTextCtrl swig_types[162] +#define SWIGTYPE_p_wxTextDataObject swig_types[163] +#define SWIGTYPE_p_wxTimeSpan swig_types[164] +#define SWIGTYPE_p_wxTimer swig_types[165] +#define SWIGTYPE_p_wxTimerEvent swig_types[166] +#define SWIGTYPE_p_wxTimerRunner swig_types[167] +#define SWIGTYPE_p_wxTipProvider swig_types[168] +#define SWIGTYPE_p_wxToolTip swig_types[169] +#define SWIGTYPE_p_wxURLDataObject swig_types[170] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[171] +#define SWIGTYPE_p_wxValidator swig_types[172] +#define SWIGTYPE_p_wxVideoMode swig_types[173] +#define SWIGTYPE_p_wxWindow swig_types[174] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[175] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[176] +#define SWIGTYPE_p_wxWindowDisabler swig_types[177] +#define SWIGTYPE_p_wxXPMHandler swig_types[178] +static swig_type_info *swig_types[180]; +static swig_module_info swig_module = {swig_types, 179, 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) @@ -3460,6 +3463,7 @@ SWIGINTERN PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *sel static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER); static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX); static const wxString wxPyART_BUTTON(wxART_BUTTON); + static const wxString wxPyART_LIST(wxART_LIST); static const wxString wxPyART_OTHER(wxART_OTHER); static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK); static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK); @@ -3539,6 +3543,30 @@ public: return rval; } + virtual wxIconBundle CreateIconBundle(const wxArtID& id, + const wxArtClient& client) + { + wxIconBundle rval = wxNullIconBundle; + wxPyBlock_t blocked = wxPyBeginBlockThreads(); + if ((wxPyCBH_findCallback(m_myInst, "CreateIconBundle"))) { + PyObject* ro; + wxIconBundle* ptr; + PyObject* s1, *s2; + s1 = wx2PyString(id); + s2 = wx2PyString(client); + ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OO)", s1, s2)); + Py_DECREF(s1); + Py_DECREF(s2); + if (ro) { + if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxIconBundle"))) + rval = *ptr; + Py_DECREF(ro); + } + } + wxPyEndBlockThreads(blocked); + return rval; + } + PYPRIVATE; }; @@ -19425,6 +19453,26 @@ SWIGINTERN PyObject *ART_BUTTON_get(void) { } +SWIGINTERN int ART_LIST_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable ART_LIST is read-only."); + return 1; +} + + +SWIGINTERN PyObject *ART_LIST_get(void) { + PyObject *pyobj = 0; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_LIST)->c_str(), (&wxPyART_LIST)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_LIST)->c_str(), (&wxPyART_LIST)->Len()); +#endif + } + return pyobj; +} + + SWIGINTERN int ART_OTHER_set(PyObject *) { SWIG_Error(SWIG_AttributeError,"Variable ART_OTHER is read-only."); return 1; @@ -20727,6 +20775,54 @@ fail: } +SWIGINTERN PyObject *_wrap_ArtProvider_GetIconBundle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxArtID *arg1 = 0 ; + wxArtClient const &arg2_defvalue = wxART_OTHER ; + wxArtClient *arg2 = (wxArtClient *) &arg2_defvalue ; + wxIconBundle result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "id",(char *) "client", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetIconBundle",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxArtID, 0 | 0); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ArtProvider_GetIconBundle" "', expected argument " "1"" of type '" "wxArtID const &""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ArtProvider_GetIconBundle" "', expected argument " "1"" of type '" "wxArtID const &""'"); + } + arg1 = reinterpret_cast< wxArtID * >(argp1); + if (obj1) { + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxArtClient, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ArtProvider_GetIconBundle" "', expected argument " "2"" of type '" "wxArtClient const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ArtProvider_GetIconBundle" "', expected argument " "2"" of type '" "wxArtClient const &""'"); + } + arg2 = reinterpret_cast< wxArtClient * >(argp2); + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxPyArtProvider::GetIconBundle((wxArtID const &)*arg1,(wxArtClient const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxIconBundle(static_cast< const wxIconBundle& >(result))), SWIGTYPE_p_wxIconBundle, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxString *arg1 = 0 ; @@ -39680,6 +39776,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"ArtProvider_Delete", (PyCFunction) _wrap_ArtProvider_Delete, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ArtProvider_GetIconBundle", (PyCFunction) _wrap_ArtProvider_GetIconBundle, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_Destroy", (PyCFunction)_wrap_ArtProvider_Destroy, METH_O, NULL}, { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL}, @@ -40750,6 +40847,8 @@ static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned l static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxAboutDialogInfo = {"_p_wxAboutDialogInfo", "wxAboutDialogInfo *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxArtClient = {"_p_wxArtClient", "wxArtClient *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxArtID = {"_p_wxArtID", "wxArtID *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBitmapDataObject = {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBusyCursor = {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0}; @@ -40829,6 +40928,7 @@ static swig_type_info _swigt__p_wxFileTypeInfo = {"_p_wxFileTypeInfo", "wxFileTy static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxJoystick = {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxKillError = {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0}; @@ -40931,6 +41031,8 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxAcceleratorTable, &_swigt__p_wxActivateEvent, &_swigt__p_wxArrayString, + &_swigt__p_wxArtClient, + &_swigt__p_wxArtID, &_swigt__p_wxBMPHandler, &_swigt__p_wxBitmap, &_swigt__p_wxBitmapDataObject, @@ -40989,6 +41091,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxGridSizer, &_swigt__p_wxICOHandler, &_swigt__p_wxIcon, + &_swigt__p_wxIconBundle, &_swigt__p_wxIconizeEvent, &_swigt__p_wxIdleEvent, &_swigt__p_wxImage, @@ -41106,6 +41209,8 @@ static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxAboutDialogInfo[] = { {&_swigt__p_wxAboutDialogInfo, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArtClient[] = { {&_swigt__p_wxArtClient, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArtID[] = { {&_swigt__p_wxArtID, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBitmapDataObject[] = { {&_swigt__p_wxBitmapDataObject, 0, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBusyCursor[] = { {&_swigt__p_wxBusyCursor, 0, 0, 0},{0, 0, 0, 0}}; @@ -41185,6 +41290,7 @@ static swig_cast_info _swigc__p_wxFileTypeInfo[] = { {&_swigt__p_wxFileTypeInfo static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxJoystick[] = { {&_swigt__p_wxJoystick, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxJoystickEvent[] = { {&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxKillError[] = { {&_swigt__p_wxKillError, 0, 0, 0},{0, 0, 0, 0}}; @@ -41287,6 +41393,8 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxAcceleratorTable, _swigc__p_wxActivateEvent, _swigc__p_wxArrayString, + _swigc__p_wxArtClient, + _swigc__p_wxArtID, _swigc__p_wxBMPHandler, _swigc__p_wxBitmap, _swigc__p_wxBitmapDataObject, @@ -41345,6 +41453,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxGridSizer, _swigc__p_wxICOHandler, _swigc__p_wxIcon, + _swigc__p_wxIconBundle, _swigc__p_wxIconizeEvent, _swigc__p_wxIdleEvent, _swigc__p_wxImage, @@ -42158,6 +42267,8 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE))); SWIG_Python_SetConstant(d, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER))); SWIG_Python_SetConstant(d, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE))); + SWIG_Python_SetConstant(d, "EXEC_NOEVENTS",SWIG_From_int(static_cast< int >(wxEXEC_NOEVENTS))); + SWIG_Python_SetConstant(d, "EXEC_BLOCK",SWIG_From_int(static_cast< int >(wxEXEC_BLOCK))); wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess"); @@ -42188,6 +42299,7 @@ SWIGEXPORT void SWIG_init(void) { SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get, ART_HELP_BROWSER_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get, ART_MESSAGE_BOX_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get, ART_BUTTON_set); + SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST",ART_LIST_get, ART_LIST_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get, ART_OTHER_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get, ART_ADD_BOOKMARK_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get, ART_DEL_BOOKMARK_set); diff --git a/wxPython/src/mac/_windows.py b/wxPython/src/mac/_windows.py index 6a7ee037dd..712133aa7e 100644 --- a/wxPython/src/mac/_windows.py +++ b/wxPython/src/mac/_windows.py @@ -1777,7 +1777,219 @@ _windows_.TipWindow_swigregister(TipWindow) #--------------------------------------------------------------------------- -class VScrolledWindow(Panel): +class VarScrollHelperBase(object): + """Proxy of C++ VarScrollHelperBase class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + def __init__(self): raise AttributeError, "No constructor defined" + __repr__ = _swig_repr + def EnablePhysicalScrolling(*args, **kwargs): + """EnablePhysicalScrolling(self, bool scrolling=True)""" + return _windows_.VarScrollHelperBase_EnablePhysicalScrolling(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(self, int coord) -> int""" + return _windows_.VarScrollHelperBase_HitTest(*args, **kwargs) + + def RefreshAll(*args, **kwargs): + """RefreshAll(self)""" + return _windows_.VarScrollHelperBase_RefreshAll(*args, **kwargs) + + def GetVisibleBegin(*args, **kwargs): + """GetVisibleBegin(self) -> size_t""" + return _windows_.VarScrollHelperBase_GetVisibleBegin(*args, **kwargs) + + def GetVisibleEnd(*args, **kwargs): + """GetVisibleEnd(self) -> size_t""" + return _windows_.VarScrollHelperBase_GetVisibleEnd(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(self, size_t unit) -> bool""" + return _windows_.VarScrollHelperBase_IsVisible(*args, **kwargs) + + def CalcScrolledPosition(*args, **kwargs): + """CalcScrolledPosition(self, int coord) -> int""" + return _windows_.VarScrollHelperBase_CalcScrolledPosition(*args, **kwargs) + + def CalcUnscrolledPosition(*args, **kwargs): + """CalcUnscrolledPosition(self, int coord) -> int""" + return _windows_.VarScrollHelperBase_CalcUnscrolledPosition(*args, **kwargs) + + def UpdateScrollbar(*args, **kwargs): + """UpdateScrollbar(self)""" + return _windows_.VarScrollHelperBase_UpdateScrollbar(*args, **kwargs) + + def RemoveScrollbar(*args, **kwargs): + """RemoveScrollbar(self)""" + return _windows_.VarScrollHelperBase_RemoveScrollbar(*args, **kwargs) + + def SetTargetWindow(*args, **kwargs): + """SetTargetWindow(self, Window target)""" + return _windows_.VarScrollHelperBase_SetTargetWindow(*args, **kwargs) + + def GetTargetWindow(*args, **kwargs): + """GetTargetWindow(self) -> Window""" + return _windows_.VarScrollHelperBase_GetTargetWindow(*args, **kwargs) + + def GetOrientationTargetSize(*args, **kwargs): + """GetOrientationTargetSize(self) -> int""" + return _windows_.VarScrollHelperBase_GetOrientationTargetSize(*args, **kwargs) + + def GetNonOrientationTargetSize(*args, **kwargs): + """GetNonOrientationTargetSize(self) -> int""" + return _windows_.VarScrollHelperBase_GetNonOrientationTargetSize(*args, **kwargs) + + def GetOrientation(*args, **kwargs): + """GetOrientation(self) -> int""" + return _windows_.VarScrollHelperBase_GetOrientation(*args, **kwargs) + +_windows_.VarScrollHelperBase_swigregister(VarScrollHelperBase) + +class VarVScrollHelper(VarScrollHelperBase): + """Proxy of C++ VarVScrollHelper class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + def __init__(self): raise AttributeError, "No constructor defined" + __repr__ = _swig_repr + def SetRowCount(*args, **kwargs): + """SetRowCount(self, size_t rowCount)""" + return _windows_.VarVScrollHelper_SetRowCount(*args, **kwargs) + + def ScrollToRow(*args, **kwargs): + """ScrollToRow(self, size_t row) -> bool""" + return _windows_.VarVScrollHelper_ScrollToRow(*args, **kwargs) + + def ScrollRows(*args, **kwargs): + """ScrollRows(self, int rows) -> bool""" + return _windows_.VarVScrollHelper_ScrollRows(*args, **kwargs) + + def ScrollRowPages(*args, **kwargs): + """ScrollRowPages(self, int pages) -> bool""" + return _windows_.VarVScrollHelper_ScrollRowPages(*args, **kwargs) + + def RefreshRow(*args, **kwargs): + """RefreshRow(self, size_t row)""" + return _windows_.VarVScrollHelper_RefreshRow(*args, **kwargs) + + def RefreshRows(*args, **kwargs): + """RefreshRows(self, size_t from, size_t to)""" + return _windows_.VarVScrollHelper_RefreshRows(*args, **kwargs) + + def GetRowCount(*args, **kwargs): + """GetRowCount(self) -> size_t""" + return _windows_.VarVScrollHelper_GetRowCount(*args, **kwargs) + + def GetVisibleRowsBegin(*args, **kwargs): + """GetVisibleRowsBegin(self) -> size_t""" + return _windows_.VarVScrollHelper_GetVisibleRowsBegin(*args, **kwargs) + + def GetVisibleRowsEnd(*args, **kwargs): + """GetVisibleRowsEnd(self) -> size_t""" + return _windows_.VarVScrollHelper_GetVisibleRowsEnd(*args, **kwargs) + + def IsRowVisible(*args, **kwargs): + """IsRowVisible(self, size_t row) -> bool""" + return _windows_.VarVScrollHelper_IsRowVisible(*args, **kwargs) + +_windows_.VarVScrollHelper_swigregister(VarVScrollHelper) + +class VarHScrollHelper(VarScrollHelperBase): + """Proxy of C++ VarHScrollHelper class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + def __init__(self): raise AttributeError, "No constructor defined" + __repr__ = _swig_repr + def SetColumnCount(*args, **kwargs): + """SetColumnCount(self, size_t columnCount)""" + return _windows_.VarHScrollHelper_SetColumnCount(*args, **kwargs) + + def ScrollToColumn(*args, **kwargs): + """ScrollToColumn(self, size_t column) -> bool""" + return _windows_.VarHScrollHelper_ScrollToColumn(*args, **kwargs) + + def ScrollColumns(*args, **kwargs): + """ScrollColumns(self, int columns) -> bool""" + return _windows_.VarHScrollHelper_ScrollColumns(*args, **kwargs) + + def ScrollColumnPages(*args, **kwargs): + """ScrollColumnPages(self, int pages) -> bool""" + return _windows_.VarHScrollHelper_ScrollColumnPages(*args, **kwargs) + + def RefreshColumn(*args, **kwargs): + """RefreshColumn(self, size_t column)""" + return _windows_.VarHScrollHelper_RefreshColumn(*args, **kwargs) + + def RefreshColumns(*args, **kwargs): + """RefreshColumns(self, size_t from, size_t to)""" + return _windows_.VarHScrollHelper_RefreshColumns(*args, **kwargs) + + def GetColumnCount(*args, **kwargs): + """GetColumnCount(self) -> size_t""" + return _windows_.VarHScrollHelper_GetColumnCount(*args, **kwargs) + + def GetVisibleColumnsBegin(*args, **kwargs): + """GetVisibleColumnsBegin(self) -> size_t""" + return _windows_.VarHScrollHelper_GetVisibleColumnsBegin(*args, **kwargs) + + def GetVisibleColumnsEnd(*args, **kwargs): + """GetVisibleColumnsEnd(self) -> size_t""" + return _windows_.VarHScrollHelper_GetVisibleColumnsEnd(*args, **kwargs) + + def IsColumnVisible(*args, **kwargs): + """IsColumnVisible(self, size_t column) -> bool""" + return _windows_.VarHScrollHelper_IsColumnVisible(*args, **kwargs) + +_windows_.VarHScrollHelper_swigregister(VarHScrollHelper) + +class VarHVScrollHelper(VarVScrollHelper,VarHScrollHelper): + """Proxy of C++ VarHVScrollHelper class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + def __init__(self): raise AttributeError, "No constructor defined" + __repr__ = _swig_repr + def SetRowColumnCount(*args, **kwargs): + """SetRowColumnCount(self, size_t rowCount, size_t columnCount)""" + return _windows_.VarHVScrollHelper_SetRowColumnCount(*args, **kwargs) + + def EnablePhysicalScrolling(*args, **kwargs): + """EnablePhysicalScrolling(self, bool vscrolling=True, bool hscrolling=True)""" + return _windows_.VarHVScrollHelper_EnablePhysicalScrolling(*args, **kwargs) + + def ScrollToRowColumn(*args, **kwargs): + """ScrollToRowColumn(self, Position pos) -> bool""" + return _windows_.VarHVScrollHelper_ScrollToRowColumn(*args, **kwargs) + + def RefreshRowColumn(*args, **kwargs): + """RefreshRowColumn(self, Position pos)""" + return _windows_.VarHVScrollHelper_RefreshRowColumn(*args, **kwargs) + + def RefreshRowsColumns(*args, **kwargs): + """RefreshRowsColumns(self, Position from, Position to)""" + return _windows_.VarHVScrollHelper_RefreshRowsColumns(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(self, Point pos) -> Position""" + return _windows_.VarHVScrollHelper_HitTest(*args, **kwargs) + + def ScrollLayout(*args, **kwargs): + """ScrollLayout(self) -> bool""" + return _windows_.VarHVScrollHelper_ScrollLayout(*args, **kwargs) + + def GetRowColumnCount(*args, **kwargs): + """GetRowColumnCount(self) -> Size""" + return _windows_.VarHVScrollHelper_GetRowColumnCount(*args, **kwargs) + + def GetVisibleBegin(*args, **kwargs): + """GetVisibleBegin(self) -> Position""" + return _windows_.VarHVScrollHelper_GetVisibleBegin(*args, **kwargs) + + def GetVisibleEnd(*args, **kwargs): + """GetVisibleEnd(self) -> Position""" + return _windows_.VarHVScrollHelper_GetVisibleEnd(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(self, Position pos) -> bool""" + return _windows_.VarHVScrollHelper_IsVisible(*args, **kwargs) + +_windows_.VarHVScrollHelper_swigregister(VarHVScrollHelper) + +class VScrolledWindow(Panel,VarVScrollHelper): """Proxy of C++ VScrolledWindow class""" thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr @@ -1800,29 +2012,89 @@ class VScrolledWindow(Panel): """ return _windows_.VScrolledWindow_Create(*args, **kwargs) - def SetLineCount(*args, **kwargs): - """SetLineCount(self, size_t count)""" - return _windows_.VScrolledWindow_SetLineCount(*args, **kwargs) + def GetRowsHeight(*args, **kwargs): + """GetRowsHeight(self, size_t lineMin, size_t lineMax) -> int""" + return _windows_.VScrolledWindow_GetRowsHeight(*args, **kwargs) - def ScrollToLine(*args, **kwargs): - """ScrollToLine(self, size_t line) -> bool""" - return _windows_.VScrolledWindow_ScrollToLine(*args, **kwargs) + GetLinesHeight = wx._deprecated(GetRowsHeight, + "Use GetRowsHeight instead.") + def EstimateTotalHeight(*args, **kwargs): + """EstimateTotalHeight(self) -> int""" + return _windows_.VScrolledWindow_EstimateTotalHeight(*args, **kwargs) - def RefreshLine(*args, **kwargs): - """RefreshLine(self, size_t line)""" - return _windows_.VScrolledWindow_RefreshLine(*args, **kwargs) + def HitTest(*args, **kwargs): + """ + HitTest(self, Point pt) -> int - def RefreshLines(*args, **kwargs): - """RefreshLines(self, size_t from, size_t to)""" - return _windows_.VScrolledWindow_RefreshLines(*args, **kwargs) + Test where the given (in client coords) point lies + """ + return _windows_.VScrolledWindow_HitTest(*args, **kwargs) + + def GetFirstVisibleLine(self): + return self.GetVisibleRowsBegin() + GetFirstVisibleLine = wx._deprecated(GetFirstVisibleLine, "Use GetVisibleRowsBegin instead" ) + + def GetLastVisibleLine(self): + return self.GetVisibleRowsEnd() - 1 + GetLastVisibleLine = wx._deprecated(GetLastVisibleLine, "Use GetVisibleRowsEnd instead") + + def GetLineCount(self): + return self.GetRowCount() + GetLineCount = wx._deprecated(GetLineCount, "Use GetRowCount instead") + + def SetLineCount(self, count): + self.SetRowCount(count) + SetLineCount = wx._deprecated(SetLineCount, "Use SetRowCount instead") + + def RefreshLine(self, line): + self.RefreshRow(line) + RefreshLine = wx._deprecated(RefreshLine, "Use RefreshRow instead") + + def RefreshLines(self, frm, to): + self.RefreshRows(frm, to) + RefreshLines = wx._deprecated(RefreshLines, "Use RefreshRows instead") + + def ScrollToLine(self, line): + return self.ScrollToRow(line) + ScrollToLine = wx._deprecated(ScrollToLine, "Use RefreshRow instead") - def HitTestXY(*args, **kwargs): + def ScrollLines(self, lines): + return self.ScrollRows(lines) + ScrollLines = wx._deprecated(ScrollLines, "Use ScrollRows instead") + + def ScrollPages(self, pages): + return self.ScrollRowPages(pages) + ScrollPages = wx._deprecated(ScrollPages, "Use ScrollRowPages instead") + +_windows_.VScrolledWindow_swigregister(VScrolledWindow) + +def PreVScrolledWindow(*args, **kwargs): + """PreVScrolledWindow() -> VScrolledWindow""" + val = _windows_.new_PreVScrolledWindow(*args, **kwargs) + return val + +class HScrolledWindow(Panel,VarHScrollHelper): + """Proxy of C++ HScrolledWindow class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """ + __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, String name=PanelNameStr) -> HScrolledWindow """ - HitTestXY(self, int x, int y) -> int + _windows_.HScrolledWindow_swiginit(self,_windows_.new_HScrolledWindow(*args, **kwargs)) + self._setOORInfo(self);HScrolledWindow._setCallbackInfo(self, self, HScrolledWindow) - Test where the given (in client coords) point lies + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(self, PyObject self, PyObject _class)""" + return _windows_.HScrolledWindow__setCallbackInfo(*args, **kwargs) + + def Create(*args, **kwargs): """ - return _windows_.VScrolledWindow_HitTestXY(*args, **kwargs) + Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool + """ + return _windows_.HScrolledWindow_Create(*args, **kwargs) def HitTest(*args, **kwargs): """ @@ -1830,54 +2102,67 @@ class VScrolledWindow(Panel): Test where the given (in client coords) point lies """ - return _windows_.VScrolledWindow_HitTest(*args, **kwargs) + return _windows_.HScrolledWindow_HitTest(*args, **kwargs) - def RefreshAll(*args, **kwargs): - """RefreshAll(self)""" - return _windows_.VScrolledWindow_RefreshAll(*args, **kwargs) + def GetColumnsWidth(*args, **kwargs): + """GetColumnsWidth(self, size_t columnMin, size_t columnMax) -> int""" + return _windows_.HScrolledWindow_GetColumnsWidth(*args, **kwargs) - def GetLineCount(*args, **kwargs): - """GetLineCount(self) -> size_t""" - return _windows_.VScrolledWindow_GetLineCount(*args, **kwargs) + def EstimateTotalWidth(*args, **kwargs): + """EstimateTotalWidth(self) -> int""" + return _windows_.HScrolledWindow_EstimateTotalWidth(*args, **kwargs) - def GetVisibleBegin(*args, **kwargs): - """GetVisibleBegin(self) -> size_t""" - return _windows_.VScrolledWindow_GetVisibleBegin(*args, **kwargs) +_windows_.HScrolledWindow_swigregister(HScrolledWindow) - def GetVisibleEnd(*args, **kwargs): - """GetVisibleEnd(self) -> size_t""" - return _windows_.VScrolledWindow_GetVisibleEnd(*args, **kwargs) +def PreHScrolledWindow(*args, **kwargs): + """PreHScrolledWindow() -> HScrolledWindow""" + val = _windows_.new_PreHScrolledWindow(*args, **kwargs) + return val - def IsVisible(*args, **kwargs): - """IsVisible(self, size_t line) -> bool""" - return _windows_.VScrolledWindow_IsVisible(*args, **kwargs) - - def GetFirstVisibleLine(*args, **kwargs): - """GetFirstVisibleLine(self) -> size_t""" - return _windows_.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs) - - def GetLastVisibleLine(*args, **kwargs): - """GetLastVisibleLine(self) -> size_t""" - return _windows_.VScrolledWindow_GetLastVisibleLine(*args, **kwargs) - - def FindFirstFromBottom(*args, **kwargs): - """FindFirstFromBottom(self, size_t lineLast, bool fullyVisible=False) -> size_t""" - return _windows_.VScrolledWindow_FindFirstFromBottom(*args, **kwargs) - - def GetLinesHeight(*args, **kwargs): - """GetLinesHeight(self, size_t lineMin, size_t lineMax) -> int""" - return _windows_.VScrolledWindow_GetLinesHeight(*args, **kwargs) - - FirstVisibleLine = property(GetFirstVisibleLine,doc="See `GetFirstVisibleLine`") - LastVisibleLine = property(GetLastVisibleLine,doc="See `GetLastVisibleLine`") - LineCount = property(GetLineCount,SetLineCount,doc="See `GetLineCount` and `SetLineCount`") - VisibleBegin = property(GetVisibleBegin,doc="See `GetVisibleBegin`") - VisibleEnd = property(GetVisibleEnd,doc="See `GetVisibleEnd`") -_windows_.VScrolledWindow_swigregister(VScrolledWindow) +class HVScrolledWindow(Panel,VarHVScrollHelper): + """Proxy of C++ HVScrolledWindow class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """ + __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, String name=PanelNameStr) -> HVScrolledWindow + """ + _windows_.HVScrolledWindow_swiginit(self,_windows_.new_HVScrolledWindow(*args, **kwargs)) + self._setOORInfo(self);HVScrolledWindow._setCallbackInfo(self, self, HVScrolledWindow) -def PreVScrolledWindow(*args, **kwargs): - """PreVScrolledWindow() -> VScrolledWindow""" - val = _windows_.new_PreVScrolledWindow(*args, **kwargs) + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(self, PyObject self, PyObject _class)""" + return _windows_.HVScrolledWindow__setCallbackInfo(*args, **kwargs) + + def Create(*args, **kwargs): + """ + Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool + """ + return _windows_.HVScrolledWindow_Create(*args, **kwargs) + + def GetRowsHeight(*args, **kwargs): + """GetRowsHeight(self, size_t lineMin, size_t lineMax) -> int""" + return _windows_.HVScrolledWindow_GetRowsHeight(*args, **kwargs) + + def EstimateTotalHeight(*args, **kwargs): + """EstimateTotalHeight(self) -> int""" + return _windows_.HVScrolledWindow_EstimateTotalHeight(*args, **kwargs) + + def GetColumnsWidth(*args, **kwargs): + """GetColumnsWidth(self, size_t columnMin, size_t columnMax) -> int""" + return _windows_.HVScrolledWindow_GetColumnsWidth(*args, **kwargs) + + def EstimateTotalWidth(*args, **kwargs): + """EstimateTotalWidth(self) -> int""" + return _windows_.HVScrolledWindow_EstimateTotalWidth(*args, **kwargs) + +_windows_.HVScrolledWindow_swigregister(HVScrolledWindow) + +def PreHVScrolledWindow(*args, **kwargs): + """PreHVScrolledWindow() -> HVScrolledWindow""" + val = _windows_.new_PreHVScrolledWindow(*args, **kwargs) return val class VListBox(VScrolledWindow): diff --git a/wxPython/src/mac/_windows_wrap.cpp b/wxPython/src/mac/_windows_wrap.cpp index 1413024c4f..15effc8797 100644 --- a/wxPython/src/mac/_windows_wrap.cpp +++ b/wxPython/src/mac/_windows_wrap.cpp @@ -2564,77 +2564,84 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98] #define SWIGTYPE_p_wxPoint swig_types[99] #define SWIGTYPE_p_wxPopupWindow swig_types[100] -#define SWIGTYPE_p_wxPreviewCanvas swig_types[101] -#define SWIGTYPE_p_wxPreviewControlBar swig_types[102] -#define SWIGTYPE_p_wxPreviewFrame swig_types[103] -#define SWIGTYPE_p_wxPrintData swig_types[104] -#define SWIGTYPE_p_wxPrintDialog swig_types[105] -#define SWIGTYPE_p_wxPrintDialogData swig_types[106] -#define SWIGTYPE_p_wxPrintPreview swig_types[107] -#define SWIGTYPE_p_wxPrinter swig_types[108] -#define SWIGTYPE_p_wxProgressDialog swig_types[109] -#define SWIGTYPE_p_wxPyApp swig_types[110] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[111] -#define SWIGTYPE_p_wxPyEvent swig_types[112] -#define SWIGTYPE_p_wxPyHtmlListBox swig_types[113] -#define SWIGTYPE_p_wxPyImageHandler swig_types[114] -#define SWIGTYPE_p_wxPyPanel swig_types[115] -#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116] -#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117] -#define SWIGTYPE_p_wxPyPreviewFrame swig_types[118] -#define SWIGTYPE_p_wxPyPrintPreview swig_types[119] -#define SWIGTYPE_p_wxPyPrintout swig_types[120] -#define SWIGTYPE_p_wxPyScrolledWindow swig_types[121] -#define SWIGTYPE_p_wxPySizer swig_types[122] -#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123] -#define SWIGTYPE_p_wxPyVListBox swig_types[124] -#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125] -#define SWIGTYPE_p_wxPyValidator swig_types[126] -#define SWIGTYPE_p_wxPyWindow swig_types[127] -#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129] -#define SWIGTYPE_p_wxRect swig_types[130] -#define SWIGTYPE_p_wxRegion swig_types[131] -#define SWIGTYPE_p_wxSashEvent swig_types[132] -#define SWIGTYPE_p_wxSashLayoutWindow swig_types[133] -#define SWIGTYPE_p_wxSashWindow swig_types[134] -#define SWIGTYPE_p_wxScrollEvent swig_types[135] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[136] -#define SWIGTYPE_p_wxScrolledWindow swig_types[137] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[138] -#define SWIGTYPE_p_wxShowEvent swig_types[139] -#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140] -#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141] -#define SWIGTYPE_p_wxSize swig_types[142] -#define SWIGTYPE_p_wxSizeEvent swig_types[143] -#define SWIGTYPE_p_wxSizer swig_types[144] -#define SWIGTYPE_p_wxSizerItem swig_types[145] -#define SWIGTYPE_p_wxSplashScreen swig_types[146] -#define SWIGTYPE_p_wxSplashScreenWindow swig_types[147] -#define SWIGTYPE_p_wxSplitterEvent swig_types[148] -#define SWIGTYPE_p_wxSplitterWindow swig_types[149] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[150] -#define SWIGTYPE_p_wxStatusBar swig_types[151] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152] -#define SWIGTYPE_p_wxString swig_types[153] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154] -#define SWIGTYPE_p_wxTGAHandler swig_types[155] -#define SWIGTYPE_p_wxTIFFHandler swig_types[156] -#define SWIGTYPE_p_wxTaskBarIcon swig_types[157] -#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158] -#define SWIGTYPE_p_wxTextEntryDialog swig_types[159] -#define SWIGTYPE_p_wxTipWindow swig_types[160] -#define SWIGTYPE_p_wxToolBar swig_types[161] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[162] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[163] -#define SWIGTYPE_p_wxValidator swig_types[164] -#define SWIGTYPE_p_wxVisualAttributes swig_types[165] -#define SWIGTYPE_p_wxWindow swig_types[166] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[167] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168] -#define SWIGTYPE_p_wxXPMHandler swig_types[169] -static swig_type_info *swig_types[171]; -static swig_module_info swig_module = {swig_types, 170, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxPosition swig_types[101] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[102] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[103] +#define SWIGTYPE_p_wxPreviewFrame swig_types[104] +#define SWIGTYPE_p_wxPrintData swig_types[105] +#define SWIGTYPE_p_wxPrintDialog swig_types[106] +#define SWIGTYPE_p_wxPrintDialogData swig_types[107] +#define SWIGTYPE_p_wxPrintPreview swig_types[108] +#define SWIGTYPE_p_wxPrinter swig_types[109] +#define SWIGTYPE_p_wxProgressDialog swig_types[110] +#define SWIGTYPE_p_wxPyApp swig_types[111] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[112] +#define SWIGTYPE_p_wxPyEvent swig_types[113] +#define SWIGTYPE_p_wxPyHScrolledWindow swig_types[114] +#define SWIGTYPE_p_wxPyHVScrolledWindow swig_types[115] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[116] +#define SWIGTYPE_p_wxPyImageHandler swig_types[117] +#define SWIGTYPE_p_wxPyPanel swig_types[118] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[119] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[120] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[121] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[122] +#define SWIGTYPE_p_wxPyPrintout swig_types[123] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[124] +#define SWIGTYPE_p_wxPySizer swig_types[125] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[126] +#define SWIGTYPE_p_wxPyVListBox swig_types[127] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[128] +#define SWIGTYPE_p_wxPyValidator swig_types[129] +#define SWIGTYPE_p_wxPyWindow swig_types[130] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[131] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132] +#define SWIGTYPE_p_wxRect swig_types[133] +#define SWIGTYPE_p_wxRegion swig_types[134] +#define SWIGTYPE_p_wxSashEvent swig_types[135] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[136] +#define SWIGTYPE_p_wxSashWindow swig_types[137] +#define SWIGTYPE_p_wxScrollEvent swig_types[138] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[139] +#define SWIGTYPE_p_wxScrolledWindow swig_types[140] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[141] +#define SWIGTYPE_p_wxShowEvent swig_types[142] +#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[143] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[144] +#define SWIGTYPE_p_wxSize swig_types[145] +#define SWIGTYPE_p_wxSizeEvent swig_types[146] +#define SWIGTYPE_p_wxSizer swig_types[147] +#define SWIGTYPE_p_wxSizerItem swig_types[148] +#define SWIGTYPE_p_wxSplashScreen swig_types[149] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[150] +#define SWIGTYPE_p_wxSplitterEvent swig_types[151] +#define SWIGTYPE_p_wxSplitterWindow swig_types[152] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[153] +#define SWIGTYPE_p_wxStatusBar swig_types[154] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[155] +#define SWIGTYPE_p_wxString swig_types[156] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157] +#define SWIGTYPE_p_wxTGAHandler swig_types[158] +#define SWIGTYPE_p_wxTIFFHandler swig_types[159] +#define SWIGTYPE_p_wxTaskBarIcon swig_types[160] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[161] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[162] +#define SWIGTYPE_p_wxTipWindow swig_types[163] +#define SWIGTYPE_p_wxToolBar swig_types[164] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[165] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[166] +#define SWIGTYPE_p_wxValidator swig_types[167] +#define SWIGTYPE_p_wxVarHScrollHelper swig_types[168] +#define SWIGTYPE_p_wxVarHVScrollHelper swig_types[169] +#define SWIGTYPE_p_wxVarScrollHelperBase swig_types[170] +#define SWIGTYPE_p_wxVarVScrollHelper swig_types[171] +#define SWIGTYPE_p_wxVisualAttributes swig_types[172] +#define SWIGTYPE_p_wxWindow swig_types[173] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[174] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175] +#define SWIGTYPE_p_wxXPMHandler swig_types[176] +static swig_type_info *swig_types[178]; +static swig_module_info swig_module = {swig_types, 177, 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) @@ -2871,9 +2878,45 @@ SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,in } #include +#include -#include +SWIGINTERNINLINE PyObject* +SWIG_From_unsigned_SS_long (unsigned long value) +{ + return (value > LONG_MAX) ? + PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); +} + + +SWIGINTERNINLINE PyObject * +SWIG_From_size_t (size_t value) +{ + return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); +} + + +SWIGINTERN int +SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) +{ + long v = 0; + if (SWIG_AsVal_long(obj, &v) && v < 0) { + return SWIG_TypeError; + } + else if (val) + *val = (unsigned long)v; + return SWIG_OK; +} + + +SWIGINTERNINLINE int +SWIG_AsVal_size_t (PyObject * obj, size_t *val) +{ + unsigned long v; + int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); + if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); + return res; +} class wxPyVScrolledWindow : public wxVScrolledWindow @@ -2895,24 +2938,24 @@ public: // this function must be overridden in the derived class and it should // return the height of the given line in pixels - DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); - + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight); + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); // old name // this function doesn't have to be overridden but it may be useful to do // it if calculating the lines heights is a relatively expensive operation // as it gives the user code a possibility to calculate several of them at // once // - // OnGetLinesHint() is normally called just before OnGetLineHeight() but you + // OnGetLinesHint() is normally called just before OnGetRowHeight() but you // shouldn't rely on the latter being called for all lines in the interval - // specified here. It is also possible that OnGetLineHeight() will be + // specified here. It is also possible that OnGetRowHeight() will be // called for the lines outside of this interval, so this is really just a // hint, not a promise. // // finally note that lineMin is inclusive, while lineMax is exclusive, as // usual - DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); - + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint); + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); // old name // when the number of lines changes, we try to estimate the total height // of all lines which is a rather expensive operation in terms of lines @@ -2928,68 +2971,102 @@ public: // Also expose some other interesting protected methods - // find the index of the line we need to show at the top of the window such - // that the last (fully or partially) visible line is the given one - size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) - { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } - // get the total height of the lines between lineMin (inclusive) and // lineMax (exclusive) - wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const - { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } - - // update the thumb size shown by the scrollbar - void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); } + wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const + { return wxVScrolledWindow::GetRowsHeight(lineMin, lineMax); } - // remove the scrollbar completely because we don't need it - void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); } PYPRIVATE; }; IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); +IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowHeight); IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); +IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowsHeightHint); IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); + IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); -SWIGINTERN int -SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) +class wxPyHScrolledWindow : public wxHScrolledWindow { - long v = 0; - if (SWIG_AsVal_long(obj, &v) && v < 0) { - return SWIG_TypeError; - } - else if (val) - *val = (unsigned long)v; - return SWIG_OK; -} + DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow) +public: + wxPyHScrolledWindow() : wxHScrolledWindow() {} + wxPyHScrolledWindow(wxWindow *parent, + wxWindowID id = wxID_ANY, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxString& name = wxPyPanelNameStr) + : wxHScrolledWindow(parent, id, pos, size, style, name) + {} -SWIGINTERNINLINE int -SWIG_AsVal_size_t (PyObject * obj, size_t *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); - if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); - return res; -} + // Overridable virtuals + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth); + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint); + DEC_PYCALLBACK_COORD_const(EstimateTotalWidth); + wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const + { return wxHScrolledWindow::GetColumnsWidth(columnMin, columnMax); } -SWIGINTERNINLINE PyObject* -SWIG_From_unsigned_SS_long (unsigned long value) + PYPRIVATE; +}; + +IMPLEMENT_ABSTRACT_CLASS(wxPyHScrolledWindow, wxHScrolledWindow); + +IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnWidth); +IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnsWidthHint); +IMP_PYCALLBACK_COORD_const (wxPyHScrolledWindow, wxHScrolledWindow, EstimateTotalWidth); + + + +class wxPyHVScrolledWindow : public wxHVScrolledWindow { - return (value > LONG_MAX) ? - PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); -} + DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow) +public: + wxPyHVScrolledWindow() : wxHVScrolledWindow() {} + + wxPyHVScrolledWindow(wxWindow *parent, + wxWindowID id = wxID_ANY, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxString& name = wxPyPanelNameStr) + : wxHVScrolledWindow(parent, id, pos, size, style, name) + {} + // Overridable virtuals + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight); + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint); + DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); + + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth); + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint); + DEC_PYCALLBACK_COORD_const(EstimateTotalWidth); + + wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const + { return wxHVScrolledWindow::GetRowsHeight(lineMin, lineMax); } + + wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const + { return wxHVScrolledWindow::GetColumnsWidth(columnMin, columnMax); } + + PYPRIVATE; +}; + +IMPLEMENT_ABSTRACT_CLASS(wxPyHVScrolledWindow, wxHVScrolledWindow); + +IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowHeight); +IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowsHeightHint); +IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalHeight); + +IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnWidth); +IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnsWidthHint); +IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalWidth); -SWIGINTERNINLINE PyObject * -SWIG_From_size_t (size_t value) -{ - return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); -} #include @@ -13383,142 +13460,102 @@ SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxWindow *arg1 = (wxWindow *) 0 ; - int arg2 = (int) wxID_ANY ; - wxPoint const &arg3_defvalue = wxDefaultPosition ; - wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; - wxSize const &arg4_defvalue = wxDefaultSize ; - wxSize *arg4 = (wxSize *) &arg4_defvalue ; - long arg5 = (long) 0 ; - wxString const &arg6_defvalue = wxPyPanelNameStr ; - wxString *arg6 = (wxString *) &arg6_defvalue ; - wxPyVScrolledWindow *result = 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + bool arg2 = (bool) true ; void *argp1 = 0 ; int res1 = 0 ; - int val2 ; + bool val2 ; int ecode2 = 0 ; - wxPoint temp3 ; - wxSize temp4 ; - long val5 ; - int ecode5 = 0 ; - bool temp6 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; char * kwnames[] = { - (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + (char *) "self",(char *) "scrolling", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); } - arg1 = reinterpret_cast< wxWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); if (obj1) { - ecode2 = SWIG_AsVal_int(obj1, &val2); + ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - } - if (obj2) { - { - arg3 = &temp3; - if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; - } - } - if (obj3) { - { - arg4 = &temp4; - if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; - } - } - if (obj4) { - ecode5 = SWIG_AsVal_long(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'"); } - arg5 = static_cast< long >(val5); - } - if (obj5) { - { - arg6 = wxString_in_helper(obj5); - if (arg6 == NULL) SWIG_fail; - temp6 = true; - } + arg2 = static_cast< bool >(val2); } { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + (arg1)->EnablePhysicalScrolling(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 ); - { - if (temp6) - delete arg6; - } + resultobj = SWIG_Py_Void(); return resultobj; fail: - { - if (temp6) - delete arg6; - } return NULL; } -SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *result = 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int arg2 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "coord", NULL + }; - if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); + } + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); + result = (int)((wxVarScrollHelperBase const *)arg1)->HitTest(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "self",(char *) "_class", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - arg2 = obj1; - arg3 = obj2; + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->_setCallbackInfo(arg2,arg3); + (arg1)->RefreshAll(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -13529,149 +13566,65 @@ fail: } -SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - wxWindow *arg2 = (wxWindow *) 0 ; - int arg3 = (int) wxID_ANY ; - wxPoint const &arg4_defvalue = wxDefaultPosition ; - wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; - wxSize const &arg5_defvalue = wxDefaultSize ; - wxSize *arg5 = (wxSize *) &arg5_defvalue ; - long arg6 = (long) 0 ; - wxString const &arg7_defvalue = wxPyPanelNameStr ; - wxString *arg7 = (wxString *) &arg7_defvalue ; - bool result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + size_t result; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - wxPoint temp4 ; - wxSize temp5 ; - long val6 ; - int ecode6 = 0 ; - bool temp7 = false ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); - } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); - } - arg2 = reinterpret_cast< wxWindow * >(argp2); - if (obj2) { - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - } - if (obj3) { - { - arg4 = &temp4; - if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; - } - } - if (obj4) { - { - arg5 = &temp5; - if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; - } - } - if (obj5) { - ecode6 = SWIG_AsVal_long(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); - } - arg6 = static_cast< long >(val6); - } - if (obj6) { - { - arg7 = wxString_in_helper(obj6); - if (arg7 == NULL) SWIG_fail; - temp7 = true; - } + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); + result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleBegin(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } - { - if (temp7) - delete arg7; - } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: - { - if (temp7) - delete arg7; - } return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + size_t result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "count", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetLineCount(arg2); + result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleEnd(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; size_t arg2 ; bool result; void *argp1 = 0 ; @@ -13681,23 +13634,23 @@ SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "line", NULL + (char *) "self",(char *) "unit", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->ScrollToLine(arg2); + result = (bool)((wxVarScrollHelperBase const *)arg1)->IsVisible(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -13710,81 +13663,101 @@ fail: } -SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int arg2 ; + int result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; + int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "line", NULL + (char *) "self",(char *) "coord", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'"); } - arg2 = static_cast< size_t >(val2); + arg2 = static_cast< int >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RefreshLine(arg2); + result = (int)((wxVarScrollHelperBase const *)arg1)->CalcScrolledPosition(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; - size_t arg3 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int arg2 ; + int result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; + int val2 ; int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "from",(char *) "to", NULL + (char *) "self",(char *) "coord", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'"); } - arg3 = static_cast< size_t >(val3); + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxVarScrollHelperBase const *)arg1)->CalcUnscrolledPosition(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); + } + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RefreshLines(arg2,arg3); + (arg1)->UpdateScrollbar(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -13795,387 +13768,2520 @@ fail: } -SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - int arg2 ; - int arg3 ; - int result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "x",(char *) "y", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); + (arg1)->RemoveScrollbar(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_int(static_cast< int >(result)); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - wxPoint *arg2 = 0 ; - int result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - wxPoint temp2 ; + void *argp2 = 0 ; + int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "pt", NULL + (char *) "self",(char *) "target", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetTargetWindow(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + wxWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); + result = (wxWindow *)((wxVarScrollHelperBase const *)arg1)->GetTargetWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_int(static_cast< int >(result)); + { + resultobj = wxPyMake_wxObject(result, 0); + } return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RefreshAll(); + result = (int)((wxVarScrollHelperBase const *)arg1)->GetOrientationTargetSize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); + result = (int)((wxVarScrollHelperBase const *)arg1)->GetNonOrientationTargetSize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + wxOrientation result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin(); + result = (wxOrientation)((wxVarScrollHelperBase const *)arg1)->GetOrientation(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VarScrollHelperBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_SetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "rowCount", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetRowCount(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollToRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "row", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollToRow(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "rows", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollRows(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRowPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pages", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollRowPages(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "row", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshRow(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "from",(char *) "to", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshRows(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarVScrollHelper const *)arg1)->GetRowCount(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsBegin(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsEnd(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_IsRowVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "row", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxVarVScrollHelper const *)arg1)->IsRowVisible(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VarVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_SetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "columnCount", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetColumnCount(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollToColumn(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "columns", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollColumns(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumnPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pages", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollColumnPages(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshColumn(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "from",(char *) "to", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshColumns(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarHScrollHelper const *)arg1)->GetColumnCount(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsBegin(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsEnd(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_IsColumnVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxVarHScrollHelper const *)arg1)->IsColumnVisible(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VarHScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + size_t arg2 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetRowColumnCount(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + bool arg2 = (bool) true ; + bool arg3 = (bool) true ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + bool val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + } + if (obj2) { + ecode3 = SWIG_AsVal_bool(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'"); + } + arg3 = static_cast< bool >(val3); + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->EnablePhysicalScrolling(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition *arg2 = 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollToRowColumn((wxPosition const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshRowColumn((wxPosition const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition *arg2 = 0 ; + wxPosition *arg3 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "from",(char *) "to", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'"); + } + arg3 = reinterpret_cast< wxPosition * >(argp3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshRowsColumns((wxPosition const &)*arg2,(wxPosition const &)*arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPoint *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxVarHVScrollHelper const *)arg1)->HitTest((wxPoint const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollLayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollLayout(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxSize result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxVarHVScrollHelper const *)arg1)->GetRowColumnCount(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleBegin(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleEnd(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition *arg2 = 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxVarHVScrollHelper const *)arg1)->IsVisible((wxPosition const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VarHVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) wxID_ANY ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + long arg5 = (long) 0 ; + wxString const &arg6_defvalue = wxPyPanelNameStr ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxPyVScrolledWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + wxPoint temp3 ; + wxSize temp4 ; + long val5 ; + int ecode5 = 0 ; + bool temp6 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char * kwnames[] = { + (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + if (obj2) { + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + ecode5 = SWIG_AsVal_long(obj4, &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'"); + } + arg5 = static_cast< long >(val5); + } + if (obj5) { + { + arg6 = wxString_in_helper(obj5); + if (arg6 == NULL) SWIG_fail; + temp6 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 ); + { + if (temp6) + delete arg6; + } + return resultobj; +fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "self",(char *) "_class", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg2 = obj1; + arg3 = obj2; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->_setCallbackInfo(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) wxID_ANY ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) 0 ; + wxString const &arg7_defvalue = wxPyPanelNameStr ; + wxString *arg7 = (wxString *) &arg7_defvalue ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int val3 ; + int ecode3 = 0 ; + wxPoint temp4 ; + wxSize temp5 ; + long val6 ; + int ecode6 = 0 ; + bool temp7 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + ecode6 = SWIG_AsVal_long(obj5, &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); + } + arg6 = static_cast< long >(val6); + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp7) + delete arg7; + } + return resultobj; +fail: + { + if (temp7) + delete arg7; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + size_t arg2 ; + size_t arg3 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyVScrolledWindow const *)arg1)->EstimateTotalHeight(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxPoint *arg2 = 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pt", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_new_HScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) wxID_ANY ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + long arg5 = (long) 0 ; + wxString const &arg6_defvalue = wxPyPanelNameStr ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxPyHScrolledWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + wxPoint temp3 ; + wxSize temp4 ; + long val5 ; + int ecode5 = 0 ; + bool temp6 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char * kwnames[] = { + (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + if (obj2) { + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + ecode5 = SWIG_AsVal_long(obj4, &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'"); + } + arg5 = static_cast< long >(val5); + } + if (obj5) { + { + arg6 = wxString_in_helper(obj5); + if (arg6 == NULL) SWIG_fail; + temp6 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_NEW | 0 ); + { + if (temp6) + delete arg6; + } + return resultobj; +fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_PreHScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args,"new_PreHScrolledWindow",0,0,0)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "self",(char *) "_class", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + arg2 = obj1; + arg3 = obj2; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->_setCallbackInfo(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) wxID_ANY ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) 0 ; + wxString const &arg7_defvalue = wxPyPanelNameStr ; + wxString *arg7 = (wxString *) &arg7_defvalue ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int val3 ; + int ecode3 = 0 ; + wxPoint temp4 ; + wxSize temp5 ; + long val6 ; + int ecode6 = 0 ; + bool temp7 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + ecode6 = SWIG_AsVal_long(obj5, &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); + } + arg6 = static_cast< long >(val6); + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp7) + delete arg7; + } + return resultobj; +fail: + { + if (temp7) + delete arg7; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + wxPoint *arg2 = 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pt", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyHScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + size_t arg2 ; + size_t arg3 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyHScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyHScrolledWindow const *)arg1)->EstimateTotalWidth(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *HScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *HScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_new_HVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) wxID_ANY ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + long arg5 = (long) 0 ; + wxString const &arg6_defvalue = wxPyPanelNameStr ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxPyHVScrolledWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + wxPoint temp3 ; + wxSize temp4 ; + long val5 ; + int ecode5 = 0 ; + bool temp6 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char * kwnames[] = { + (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + if (obj2) { + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + ecode5 = SWIG_AsVal_long(obj4, &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'"); + } + arg5 = static_cast< long >(val5); + } + if (obj5) { + { + arg6 = wxString_in_helper(obj5); + if (arg6 == NULL) SWIG_fail; + temp6 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_NEW | 0 ); + { + if (temp6) + delete arg6; + } + return resultobj; +fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_PreHVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyHVScrolledWindow *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "self",(char *) "_class", NULL + }; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); + arg2 = obj1; + arg3 = obj2; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd(); + (arg1)->_setCallbackInfo(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) wxID_ANY ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) 0 ; + wxString const &arg7_defvalue = wxPyPanelNameStr ; + wxString *arg7 = (wxString *) &arg7_defvalue ; bool result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int val3 ; + int ecode3 = 0 ; + wxPoint temp4 ; + wxSize temp5 ; + long val6 ; + int ecode6 = 0 ; + bool temp7 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "line", NULL + (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + ecode6 = SWIG_AsVal_long(obj5, &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); + } + arg6 = static_cast< long >(val6); + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } + { + if (temp7) + delete arg7; + } return resultobj; fail: + { + if (temp7) + delete arg7; + } return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; + size_t arg2 ; + size_t arg3 ; + int result; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL + }; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); + result = (int)((wxPyHVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; + int result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); + result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalHeight(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; size_t arg2 ; - bool arg3 = (bool) false ; - size_t result; + size_t arg3 ; + int result; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; int ecode2 = 0 ; - bool val3 ; + size_t val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL + (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); - if (obj2) { - ecode3 = SWIG_AsVal_bool(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'"); - } - arg3 = static_cast< bool >(val3); - } + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3); + result = (int)((wxPyHVScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; - size_t arg3 ; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; int result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3); + result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalWidth(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -14186,14 +16292,14 @@ fail: } -SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *HVScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj)); + SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } -SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *HVScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { return SWIG_Python_InitShadowInstance(args); } @@ -31859,27 +33965,84 @@ static PyMethodDef SwigMethods[] = { { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL}, { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL}, { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL}, + { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction) _wrap_VarScrollHelperBase_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_HitTest", (PyCFunction) _wrap_VarScrollHelperBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction)_wrap_VarScrollHelperBase_RefreshAll, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleBegin, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleEnd, METH_O, NULL}, + { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction) _wrap_VarScrollHelperBase_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_UpdateScrollbar, METH_O, NULL}, + { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_RemoveScrollbar, METH_O, NULL}, + { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction) _wrap_VarScrollHelperBase_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction)_wrap_VarScrollHelperBase_GetTargetWindow, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientationTargetSize, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientation, METH_O, NULL}, + { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister, METH_VARARGS, NULL}, + { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction) _wrap_VarVScrollHelper_SetRowCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction) _wrap_VarVScrollHelper_ScrollToRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction) _wrap_VarVScrollHelper_ScrollRows, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction) _wrap_VarVScrollHelper_ScrollRowPages, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction) _wrap_VarVScrollHelper_RefreshRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction) _wrap_VarVScrollHelper_RefreshRows, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction)_wrap_VarVScrollHelper_GetRowCount, METH_O, NULL}, + { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsBegin, METH_O, NULL}, + { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsEnd, METH_O, NULL}, + { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction) _wrap_VarVScrollHelper_IsRowVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister, METH_VARARGS, NULL}, + { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction) _wrap_VarHScrollHelper_SetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction) _wrap_VarHScrollHelper_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumns, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumnPages, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumns, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction)_wrap_VarHScrollHelper_GetColumnCount, METH_O, NULL}, + { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsBegin, METH_O, NULL}, + { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsEnd, METH_O, NULL}, + { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction) _wrap_VarHScrollHelper_IsColumnVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister, METH_VARARGS, NULL}, + { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction) _wrap_VarHVScrollHelper_SetRowColumnCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction) _wrap_VarHVScrollHelper_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_ScrollToRowColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowsColumns, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_HitTest", (PyCFunction) _wrap_VarHVScrollHelper_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction)_wrap_VarHVScrollHelper_ScrollLayout, METH_O, NULL}, + { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction)_wrap_VarHVScrollHelper_GetRowColumnCount, METH_O, NULL}, + { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleBegin, METH_O, NULL}, + { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleEnd, METH_O, NULL}, + { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction) _wrap_VarHVScrollHelper_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister, METH_VARARGS, NULL}, { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL}, { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_VScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_VScrolledWindow_EstimateTotalHeight, METH_O, NULL}, { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL}, - { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL}, - { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL}, - { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL}, - { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL}, - { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL}, - { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL}, { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL}, + { (char *)"new_HScrolledWindow", (PyCFunction) _wrap_new_HScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreHScrolledWindow", (PyCFunction)_wrap_new_PreHScrolledWindow, METH_NOARGS, NULL}, + { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HScrolledWindow_Create", (PyCFunction) _wrap_HScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HScrolledWindow_HitTest", (PyCFunction) _wrap_HScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HScrolledWindow_EstimateTotalWidth, METH_O, NULL}, + { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister, METH_VARARGS, NULL}, + { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit, METH_VARARGS, NULL}, + { (char *)"new_HVScrolledWindow", (PyCFunction) _wrap_new_HVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreHVScrolledWindow", (PyCFunction)_wrap_new_PreHVScrolledWindow, METH_NOARGS, NULL}, + { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HVScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HVScrolledWindow_Create", (PyCFunction) _wrap_HVScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_HVScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalHeight, METH_O, NULL}, + { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HVScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalWidth, METH_O, NULL}, + { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister, METH_VARARGS, NULL}, + { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit, METH_VARARGS, NULL}, { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL}, { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -32521,6 +34684,36 @@ static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) { return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); } +static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x) { + return (void *)((wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x) { + return (void *)((wxVarHScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x) { + return (void *)((wxVarHScrollHelper *) ((wxVarHVScrollHelper *) x)); +} +static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x)); +} +static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +} +static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); +} +static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x) { + return (void *)((wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x)); +} static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); } @@ -32545,14 +34738,14 @@ static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) ((wxMenu *) x)); } -static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); +static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); } static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); } -static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); +static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); } static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); @@ -32578,6 +34771,12 @@ static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); } +static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x)); +} static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); } @@ -32677,15 +34876,15 @@ static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); } -static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) { - return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); -} static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); } static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) { return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); } +static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) { + return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); +} static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); } @@ -33043,6 +35242,12 @@ static void *_p_wxTipWindowTo_p_wxObject(void *x) { static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); } +static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x)); +} static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); } @@ -33136,15 +35341,6 @@ static void *_p_wxPyValidatorTo_p_wxObject(void *x) { static void *_p_wxValidatorTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); } -static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { - return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); -} -static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { - return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); -} -static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { - return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); -} static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); } @@ -33226,12 +35422,6 @@ static void *_p_wxPyPanelTo_p_wxWindow(void *x) { static void *_p_wxMenuBarTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxMenuBar *) x)); } -static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); -} -static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); -} static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); } @@ -33253,12 +35443,24 @@ static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { static void *_p_wxFileDialogTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); } +static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); +} +static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); +} static void *_p_wxPanelTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxPanel *) x)); } static void *_p_wxStatusBarTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxStatusBar *) x)); } +static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *) ((wxPyHScrolledWindow *) x)); +} static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); } @@ -33349,6 +35551,15 @@ static void *_p_wxDialogTo_p_wxWindow(void *x) { static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); } +static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { + return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +} +static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { + return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); +} +static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { + return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); +} static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); } @@ -33397,6 +35608,12 @@ static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); } +static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) ((wxPyHScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) ((wxPyHVScrolledWindow *) x)); +} static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); } @@ -33421,6 +35638,33 @@ static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); } +static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x)); +} +static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) ((wxVarVScrollHelper *) x)); +} +static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) ((wxVarHScrollHelper *) x)); +} +static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x)); +} +static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +} +static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); +} +static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); +} static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); } @@ -33588,6 +35832,7 @@ static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSi static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxPosition = {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0}; @@ -33597,6 +35842,8 @@ static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wx static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxPyHScrolledWindow = {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxPyHVScrolledWindow = {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0}; @@ -33634,6 +35881,10 @@ static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *" static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxVarHScrollHelper = {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxVarHVScrollHelper = {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxVarScrollHelperBase = {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxVarVScrollHelper = {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; @@ -33739,6 +35990,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxPasswordEntryDialog, &_swigt__p_wxPoint, &_swigt__p_wxPopupWindow, + &_swigt__p_wxPosition, &_swigt__p_wxPreviewCanvas, &_swigt__p_wxPreviewControlBar, &_swigt__p_wxPreviewFrame, @@ -33751,6 +36003,8 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxPyApp, &_swigt__p_wxPyCommandEvent, &_swigt__p_wxPyEvent, + &_swigt__p_wxPyHScrolledWindow, + &_swigt__p_wxPyHVScrolledWindow, &_swigt__p_wxPyHtmlListBox, &_swigt__p_wxPyImageHandler, &_swigt__p_wxPyPanel, @@ -33803,6 +36057,10 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxTopLevelWindow, &_swigt__p_wxUpdateUIEvent, &_swigt__p_wxValidator, + &_swigt__p_wxVarHScrollHelper, + &_swigt__p_wxVarHVScrollHelper, + &_swigt__p_wxVarScrollHelperBase, + &_swigt__p_wxVarVScrollHelper, &_swigt__p_wxVisualAttributes, &_swigt__p_wxWindow, &_swigt__p_wxWindowCreateEvent, @@ -33870,7 +36128,7 @@ static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 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_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; @@ -33924,14 +36182,15 @@ static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_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_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_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_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_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_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_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_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_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_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_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_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_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_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPosition[] = { {&_swigt__p_wxPosition, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPreviewControlBar[] = { {&_swigt__p_wxPreviewControlBar, 0, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPreviewFrame[] = { {&_swigt__p_wxPreviewFrame, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0},{0, 0, 0, 0}}; @@ -33941,6 +36200,8 @@ static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDial static swig_cast_info _swigc__p_wxPrintPreview[] = { {&_swigt__p_wxPrintPreview, 0, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHScrolledWindow[] = { {&_swigt__p_wxPyHScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHVScrolledWindow[] = { {&_swigt__p_wxPyHVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; @@ -33978,8 +36239,12 @@ static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVarHScrollHelper[] = { {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxVarHScrollHelper, 0, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVarHVScrollHelper[] = { {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVarScrollHelperBase[] = { {&_swigt__p_wxVarScrollHelperBase, 0, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarVScrollHelper, _p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHScrollHelper, _p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVarVScrollHelper[] = { {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarVScrollHelper, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info *swig_cast_initial[] = { _swigc__p_bool, @@ -34083,6 +36348,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxPasswordEntryDialog, _swigc__p_wxPoint, _swigc__p_wxPopupWindow, + _swigc__p_wxPosition, _swigc__p_wxPreviewCanvas, _swigc__p_wxPreviewControlBar, _swigc__p_wxPreviewFrame, @@ -34095,6 +36361,8 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxPyApp, _swigc__p_wxPyCommandEvent, _swigc__p_wxPyEvent, + _swigc__p_wxPyHScrolledWindow, + _swigc__p_wxPyHVScrolledWindow, _swigc__p_wxPyHtmlListBox, _swigc__p_wxPyImageHandler, _swigc__p_wxPyPanel, @@ -34147,6 +36415,10 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxTopLevelWindow, _swigc__p_wxUpdateUIEvent, _swigc__p_wxValidator, + _swigc__p_wxVarHScrollHelper, + _swigc__p_wxVarHVScrollHelper, + _swigc__p_wxVarScrollHelperBase, + _swigc__p_wxVarVScrollHelper, _swigc__p_wxVisualAttributes, _swigc__p_wxWindow, _swigc__p_wxWindowCreateEvent, diff --git a/wxPython/src/mac/wizard.py b/wxPython/src/mac/wizard.py index e9f8e55957..39413b2d97 100644 --- a/wxPython/src/mac/wizard.py +++ b/wxPython/src/mac/wizard.py @@ -100,7 +100,7 @@ class WizardPage(_windows.Panel): def __init__(self): raise AttributeError, "No constructor defined" __repr__ = _swig_repr def Create(*args, **kwargs): - """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" + """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap) -> bool""" return _wizard.WizardPage_Create(*args, **kwargs) def GetPrev(*args, **kwargs): @@ -125,12 +125,12 @@ class PyWizardPage(WizardPage): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args, **kwargs): - """__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage""" + """__init__(self, Wizard parent, Bitmap bitmap=wxNullBitmap) -> PyWizardPage""" _wizard.PyWizardPage_swiginit(self,_wizard.new_PyWizardPage(*args, **kwargs)) self._setOORInfo(self);PyWizardPage._setCallbackInfo(self, self, PyWizardPage) def Create(*args, **kwargs): - """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" + """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap) -> bool""" return _wizard.PyWizardPage_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -300,7 +300,7 @@ class WizardPageSimple(WizardPage): def __init__(self, *args, **kwargs): """ __init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None, - Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple + Bitmap bitmap=wxNullBitmap) -> WizardPageSimple """ _wizard.WizardPageSimple_swiginit(self,_wizard.new_WizardPageSimple(*args, **kwargs)) self._setOORInfo(self) @@ -308,7 +308,7 @@ class WizardPageSimple(WizardPage): def Create(*args, **kwargs): """ Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None, - Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool + Bitmap bitmap=wxNullBitmap) -> bool """ return _wizard.WizardPageSimple_Create(*args, **kwargs) diff --git a/wxPython/src/mac/wizard_wrap.cpp b/wxPython/src/mac/wizard_wrap.cpp index d37a4282ab..d15af66180 100644 --- a/wxPython/src/mac/wizard_wrap.cpp +++ b/wxPython/src/mac/wizard_wrap.cpp @@ -2477,155 +2477,153 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxBoxSizer swig_types[11] #define SWIGTYPE_p_wxCURHandler swig_types[12] #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[13] -#define SWIGTYPE_p_wxChar swig_types[14] -#define SWIGTYPE_p_wxChildFocusEvent swig_types[15] -#define SWIGTYPE_p_wxClipboardTextEvent swig_types[16] -#define SWIGTYPE_p_wxCloseEvent swig_types[17] -#define SWIGTYPE_p_wxColourData swig_types[18] -#define SWIGTYPE_p_wxColourDialog swig_types[19] -#define SWIGTYPE_p_wxCommandEvent swig_types[20] -#define SWIGTYPE_p_wxContextMenuEvent swig_types[21] -#define SWIGTYPE_p_wxControl swig_types[22] -#define SWIGTYPE_p_wxControlWithItems swig_types[23] -#define SWIGTYPE_p_wxDateEvent swig_types[24] -#define SWIGTYPE_p_wxDialog swig_types[25] -#define SWIGTYPE_p_wxDirDialog swig_types[26] -#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[27] -#define SWIGTYPE_p_wxDropFilesEvent swig_types[28] -#define SWIGTYPE_p_wxDuplexMode swig_types[29] -#define SWIGTYPE_p_wxEraseEvent swig_types[30] -#define SWIGTYPE_p_wxEvent swig_types[31] -#define SWIGTYPE_p_wxEventBlocker swig_types[32] -#define SWIGTYPE_p_wxEvtHandler swig_types[33] -#define SWIGTYPE_p_wxFSFile swig_types[34] -#define SWIGTYPE_p_wxFileDialog swig_types[35] -#define SWIGTYPE_p_wxFileSystem swig_types[36] -#define SWIGTYPE_p_wxFindDialogEvent swig_types[37] -#define SWIGTYPE_p_wxFindReplaceData swig_types[38] -#define SWIGTYPE_p_wxFindReplaceDialog swig_types[39] -#define SWIGTYPE_p_wxFlexGridSizer swig_types[40] -#define SWIGTYPE_p_wxFocusEvent swig_types[41] -#define SWIGTYPE_p_wxFontData swig_types[42] -#define SWIGTYPE_p_wxFontDialog swig_types[43] -#define SWIGTYPE_p_wxFrame swig_types[44] -#define SWIGTYPE_p_wxGBSizerItem swig_types[45] -#define SWIGTYPE_p_wxGIFHandler swig_types[46] -#define SWIGTYPE_p_wxGridBagSizer swig_types[47] -#define SWIGTYPE_p_wxGridSizer swig_types[48] -#define SWIGTYPE_p_wxICOHandler swig_types[49] -#define SWIGTYPE_p_wxIconizeEvent swig_types[50] -#define SWIGTYPE_p_wxIdleEvent swig_types[51] -#define SWIGTYPE_p_wxImage swig_types[52] -#define SWIGTYPE_p_wxImageHandler swig_types[53] -#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[54] -#define SWIGTYPE_p_wxInitDialogEvent swig_types[55] -#define SWIGTYPE_p_wxJPEGHandler swig_types[56] -#define SWIGTYPE_p_wxKeyEvent swig_types[57] -#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[58] -#define SWIGTYPE_p_wxLayoutConstraints swig_types[59] -#define SWIGTYPE_p_wxMDIChildFrame swig_types[60] -#define SWIGTYPE_p_wxMDIClientWindow swig_types[61] -#define SWIGTYPE_p_wxMDIParentFrame swig_types[62] -#define SWIGTYPE_p_wxMaximizeEvent swig_types[63] -#define SWIGTYPE_p_wxMenu swig_types[64] -#define SWIGTYPE_p_wxMenuBar swig_types[65] -#define SWIGTYPE_p_wxMenuEvent swig_types[66] -#define SWIGTYPE_p_wxMenuItem swig_types[67] -#define SWIGTYPE_p_wxMessageDialog swig_types[68] -#define SWIGTYPE_p_wxMiniFrame swig_types[69] -#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[70] -#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[71] -#define SWIGTYPE_p_wxMouseEvent swig_types[72] -#define SWIGTYPE_p_wxMoveEvent swig_types[73] -#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[74] -#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[75] -#define SWIGTYPE_p_wxNcPaintEvent swig_types[76] -#define SWIGTYPE_p_wxNotifyEvent swig_types[77] -#define SWIGTYPE_p_wxNumberEntryDialog swig_types[78] -#define SWIGTYPE_p_wxObject swig_types[79] -#define SWIGTYPE_p_wxPCXHandler swig_types[80] -#define SWIGTYPE_p_wxPNGHandler swig_types[81] -#define SWIGTYPE_p_wxPNMHandler swig_types[82] -#define SWIGTYPE_p_wxPageSetupDialog swig_types[83] -#define SWIGTYPE_p_wxPageSetupDialogData swig_types[84] -#define SWIGTYPE_p_wxPaintEvent swig_types[85] -#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[86] -#define SWIGTYPE_p_wxPanel swig_types[87] -#define SWIGTYPE_p_wxPaperSize swig_types[88] -#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[89] -#define SWIGTYPE_p_wxPopupWindow swig_types[90] -#define SWIGTYPE_p_wxPreviewCanvas swig_types[91] -#define SWIGTYPE_p_wxPreviewControlBar swig_types[92] -#define SWIGTYPE_p_wxPreviewFrame swig_types[93] -#define SWIGTYPE_p_wxPrintData swig_types[94] -#define SWIGTYPE_p_wxPrintDialog swig_types[95] -#define SWIGTYPE_p_wxPrintDialogData swig_types[96] -#define SWIGTYPE_p_wxPrintPreview swig_types[97] -#define SWIGTYPE_p_wxPrinter swig_types[98] -#define SWIGTYPE_p_wxProgressDialog swig_types[99] -#define SWIGTYPE_p_wxPyApp swig_types[100] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[101] -#define SWIGTYPE_p_wxPyEvent swig_types[102] -#define SWIGTYPE_p_wxPyHtmlListBox swig_types[103] -#define SWIGTYPE_p_wxPyImageHandler swig_types[104] -#define SWIGTYPE_p_wxPyPanel swig_types[105] -#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[106] -#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[107] -#define SWIGTYPE_p_wxPyPreviewFrame swig_types[108] -#define SWIGTYPE_p_wxPyPrintPreview swig_types[109] -#define SWIGTYPE_p_wxPyPrintout swig_types[110] -#define SWIGTYPE_p_wxPyScrolledWindow swig_types[111] -#define SWIGTYPE_p_wxPySizer swig_types[112] -#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[113] -#define SWIGTYPE_p_wxPyVListBox swig_types[114] -#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[115] -#define SWIGTYPE_p_wxPyValidator swig_types[116] -#define SWIGTYPE_p_wxPyWindow swig_types[117] -#define SWIGTYPE_p_wxPyWizardPage swig_types[118] -#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[119] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[120] -#define SWIGTYPE_p_wxSashEvent swig_types[121] -#define SWIGTYPE_p_wxSashLayoutWindow swig_types[122] -#define SWIGTYPE_p_wxSashWindow swig_types[123] -#define SWIGTYPE_p_wxScrollEvent swig_types[124] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[125] -#define SWIGTYPE_p_wxScrolledWindow swig_types[126] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[127] -#define SWIGTYPE_p_wxShowEvent swig_types[128] -#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[129] -#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[130] -#define SWIGTYPE_p_wxSize swig_types[131] -#define SWIGTYPE_p_wxSizeEvent swig_types[132] -#define SWIGTYPE_p_wxSizer swig_types[133] -#define SWIGTYPE_p_wxSizerItem swig_types[134] -#define SWIGTYPE_p_wxSplashScreen swig_types[135] -#define SWIGTYPE_p_wxSplashScreenWindow swig_types[136] -#define SWIGTYPE_p_wxSplitterEvent swig_types[137] -#define SWIGTYPE_p_wxSplitterWindow swig_types[138] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[139] -#define SWIGTYPE_p_wxStatusBar swig_types[140] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[141] -#define SWIGTYPE_p_wxString swig_types[142] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[143] -#define SWIGTYPE_p_wxTGAHandler swig_types[144] -#define SWIGTYPE_p_wxTIFFHandler swig_types[145] -#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[146] -#define SWIGTYPE_p_wxTextEntryDialog swig_types[147] -#define SWIGTYPE_p_wxTipWindow swig_types[148] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[149] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[150] -#define SWIGTYPE_p_wxValidator swig_types[151] -#define SWIGTYPE_p_wxVisualAttributes swig_types[152] -#define SWIGTYPE_p_wxWindow swig_types[153] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[154] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[155] -#define SWIGTYPE_p_wxWizard swig_types[156] -#define SWIGTYPE_p_wxWizardEvent swig_types[157] -#define SWIGTYPE_p_wxWizardPage swig_types[158] -#define SWIGTYPE_p_wxWizardPageSimple swig_types[159] -#define SWIGTYPE_p_wxXPMHandler swig_types[160] -static swig_type_info *swig_types[162]; -static swig_module_info swig_module = {swig_types, 161, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxChildFocusEvent swig_types[14] +#define SWIGTYPE_p_wxClipboardTextEvent swig_types[15] +#define SWIGTYPE_p_wxCloseEvent swig_types[16] +#define SWIGTYPE_p_wxColourData swig_types[17] +#define SWIGTYPE_p_wxColourDialog swig_types[18] +#define SWIGTYPE_p_wxCommandEvent swig_types[19] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[20] +#define SWIGTYPE_p_wxControl swig_types[21] +#define SWIGTYPE_p_wxControlWithItems swig_types[22] +#define SWIGTYPE_p_wxDateEvent swig_types[23] +#define SWIGTYPE_p_wxDialog swig_types[24] +#define SWIGTYPE_p_wxDirDialog swig_types[25] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[27] +#define SWIGTYPE_p_wxDuplexMode swig_types[28] +#define SWIGTYPE_p_wxEraseEvent swig_types[29] +#define SWIGTYPE_p_wxEvent swig_types[30] +#define SWIGTYPE_p_wxEventBlocker swig_types[31] +#define SWIGTYPE_p_wxEvtHandler swig_types[32] +#define SWIGTYPE_p_wxFSFile swig_types[33] +#define SWIGTYPE_p_wxFileDialog swig_types[34] +#define SWIGTYPE_p_wxFileSystem swig_types[35] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[36] +#define SWIGTYPE_p_wxFindReplaceData swig_types[37] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[38] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[39] +#define SWIGTYPE_p_wxFocusEvent swig_types[40] +#define SWIGTYPE_p_wxFontData swig_types[41] +#define SWIGTYPE_p_wxFontDialog swig_types[42] +#define SWIGTYPE_p_wxFrame swig_types[43] +#define SWIGTYPE_p_wxGBSizerItem swig_types[44] +#define SWIGTYPE_p_wxGIFHandler swig_types[45] +#define SWIGTYPE_p_wxGridBagSizer swig_types[46] +#define SWIGTYPE_p_wxGridSizer swig_types[47] +#define SWIGTYPE_p_wxICOHandler swig_types[48] +#define SWIGTYPE_p_wxIconizeEvent swig_types[49] +#define SWIGTYPE_p_wxIdleEvent swig_types[50] +#define SWIGTYPE_p_wxImage swig_types[51] +#define SWIGTYPE_p_wxImageHandler swig_types[52] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[53] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[54] +#define SWIGTYPE_p_wxJPEGHandler swig_types[55] +#define SWIGTYPE_p_wxKeyEvent swig_types[56] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[57] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[58] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[59] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[60] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[61] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[62] +#define SWIGTYPE_p_wxMenu swig_types[63] +#define SWIGTYPE_p_wxMenuBar swig_types[64] +#define SWIGTYPE_p_wxMenuEvent swig_types[65] +#define SWIGTYPE_p_wxMenuItem swig_types[66] +#define SWIGTYPE_p_wxMessageDialog swig_types[67] +#define SWIGTYPE_p_wxMiniFrame swig_types[68] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[69] +#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[70] +#define SWIGTYPE_p_wxMouseEvent swig_types[71] +#define SWIGTYPE_p_wxMoveEvent swig_types[72] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[73] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[74] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[75] +#define SWIGTYPE_p_wxNotifyEvent swig_types[76] +#define SWIGTYPE_p_wxNumberEntryDialog swig_types[77] +#define SWIGTYPE_p_wxObject swig_types[78] +#define SWIGTYPE_p_wxPCXHandler swig_types[79] +#define SWIGTYPE_p_wxPNGHandler swig_types[80] +#define SWIGTYPE_p_wxPNMHandler swig_types[81] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[82] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[83] +#define SWIGTYPE_p_wxPaintEvent swig_types[84] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[85] +#define SWIGTYPE_p_wxPanel swig_types[86] +#define SWIGTYPE_p_wxPaperSize swig_types[87] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[88] +#define SWIGTYPE_p_wxPopupWindow swig_types[89] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[90] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[91] +#define SWIGTYPE_p_wxPreviewFrame swig_types[92] +#define SWIGTYPE_p_wxPrintData swig_types[93] +#define SWIGTYPE_p_wxPrintDialog swig_types[94] +#define SWIGTYPE_p_wxPrintDialogData swig_types[95] +#define SWIGTYPE_p_wxPrintPreview swig_types[96] +#define SWIGTYPE_p_wxPrinter swig_types[97] +#define SWIGTYPE_p_wxProgressDialog swig_types[98] +#define SWIGTYPE_p_wxPyApp swig_types[99] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[100] +#define SWIGTYPE_p_wxPyEvent swig_types[101] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[102] +#define SWIGTYPE_p_wxPyImageHandler swig_types[103] +#define SWIGTYPE_p_wxPyPanel swig_types[104] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[105] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[106] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[107] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[108] +#define SWIGTYPE_p_wxPyPrintout swig_types[109] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[110] +#define SWIGTYPE_p_wxPySizer swig_types[111] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[112] +#define SWIGTYPE_p_wxPyVListBox swig_types[113] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[114] +#define SWIGTYPE_p_wxPyValidator swig_types[115] +#define SWIGTYPE_p_wxPyWindow swig_types[116] +#define SWIGTYPE_p_wxPyWizardPage swig_types[117] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[118] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[119] +#define SWIGTYPE_p_wxSashEvent swig_types[120] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[121] +#define SWIGTYPE_p_wxSashWindow swig_types[122] +#define SWIGTYPE_p_wxScrollEvent swig_types[123] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[124] +#define SWIGTYPE_p_wxScrolledWindow swig_types[125] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[126] +#define SWIGTYPE_p_wxShowEvent swig_types[127] +#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[128] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[129] +#define SWIGTYPE_p_wxSize swig_types[130] +#define SWIGTYPE_p_wxSizeEvent swig_types[131] +#define SWIGTYPE_p_wxSizer swig_types[132] +#define SWIGTYPE_p_wxSizerItem swig_types[133] +#define SWIGTYPE_p_wxSplashScreen swig_types[134] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[135] +#define SWIGTYPE_p_wxSplitterEvent swig_types[136] +#define SWIGTYPE_p_wxSplitterWindow swig_types[137] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[138] +#define SWIGTYPE_p_wxStatusBar swig_types[139] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[140] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[141] +#define SWIGTYPE_p_wxTGAHandler swig_types[142] +#define SWIGTYPE_p_wxTIFFHandler swig_types[143] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[144] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[145] +#define SWIGTYPE_p_wxTipWindow swig_types[146] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[147] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[148] +#define SWIGTYPE_p_wxValidator swig_types[149] +#define SWIGTYPE_p_wxVisualAttributes swig_types[150] +#define SWIGTYPE_p_wxWindow swig_types[151] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[152] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[153] +#define SWIGTYPE_p_wxWizard swig_types[154] +#define SWIGTYPE_p_wxWizardEvent swig_types[155] +#define SWIGTYPE_p_wxWizardPage swig_types[156] +#define SWIGTYPE_p_wxWizardPageSimple swig_types[157] +#define SWIGTYPE_p_wxXPMHandler swig_types[158] +static swig_type_info *swig_types[160]; +static swig_module_info swig_module = {swig_types, 159, 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) @@ -2798,21 +2796,14 @@ SWIG_AsVal_bool (PyObject *obj, bool *val) } } -SWIGINTERN bool wxWizardPage_Create(wxWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){ - const wxChar* res = NULL; - if (resource.length()) - res = (const wxChar*)resource.c_str(); - return self->Create(parent, bitmap, res); - } // C++ Version of a Python aware class class wxPyWizardPage : public wxWizardPage { DECLARE_ABSTRACT_CLASS(wxPyWizardPage) public: wxPyWizardPage() : wxWizardPage() {} wxPyWizardPage(wxWizard *parent, - const wxBitmap& bitmap = wxNullBitmap, - const wxChar* resource = NULL) - : wxWizardPage(parent, bitmap, resource) {} + const wxBitmap& bitmap = wxNullBitmap) + : wxWizardPage(parent, bitmap) {} DEC_PYCALLBACK_WIZPG__pure(GetPrev); DEC_PYCALLBACK_WIZPG__pure(GetNext); @@ -2877,18 +2868,6 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, AddChild); IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, RemoveChild); -SWIGINTERN wxPyWizardPage *new_wxPyWizardPage(wxWizard *parent,wxBitmap const *bitmap=&wxNullBitmap,wxString const *resource=&wxPyEmptyString){ - const wxChar* res = NULL; - if (resource->length()) - res = (const wxChar*)resource->c_str(); - return new wxPyWizardPage(parent, *bitmap, res); - } -SWIGINTERN bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){ - const wxChar* res = NULL; - if (resource.length()) - res = (const wxChar*)resource.c_str(); - return self->Create(parent, bitmap, res); - } #ifdef __cplusplus extern "C" { #endif @@ -3034,8 +3013,6 @@ SWIGINTERN PyObject *_wrap_WizardPage_Create(PyObject *SWIGUNUSEDPARM(self), PyO wxWizard *arg2 = (wxWizard *) 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ; - wxString const &arg4_defvalue = wxPyEmptyString ; - wxString *arg4 = (wxString *) &arg4_defvalue ; bool result; void *argp1 = 0 ; int res1 = 0 ; @@ -3043,16 +3020,14 @@ SWIGINTERN PyObject *_wrap_WizardPage_Create(PyObject *SWIGUNUSEDPARM(self), PyO int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; - bool temp4 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL + (char *) "self",(char *) "parent",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:WizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:WizardPage_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWizardPage, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WizardPage_Create" "', expected argument " "1"" of type '" "wxWizardPage *""'"); @@ -3073,32 +3048,17 @@ SWIGINTERN PyObject *_wrap_WizardPage_Create(PyObject *SWIGUNUSEDPARM(self), PyO } arg3 = reinterpret_cast< wxBitmap * >(argp3); } - if (obj3) { - { - arg4 = wxString_in_helper(obj3); - if (arg4 == NULL) SWIG_fail; - temp4 = true; - } - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4); + result = (bool)(arg1)->Create(arg2,(wxBitmap const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } - { - if (temp4) - delete arg4; - } return resultobj; fail: - { - if (temp4) - delete arg4; - } return NULL; } @@ -3201,59 +3161,45 @@ SWIGINTERN PyObject *WizardPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyO SWIGINTERN PyObject *_wrap_new_PyWizardPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxWizard *arg1 = (wxWizard *) 0 ; - wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ; - wxString *arg3 = (wxString *) &wxPyEmptyString ; + wxBitmap const &arg2_defvalue = wxNullBitmap ; + wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ; wxPyWizardPage *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "parent",(char *) "bitmap",(char *) "resource", NULL + (char *) "parent",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_PyWizardPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PyWizardPage",kwnames,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWizardPage" "', expected argument " "1"" of type '" "wxWizard *""'"); } arg1 = reinterpret_cast< wxWizard * >(argp1); if (obj1) { - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyWizardPage" "', expected argument " "2"" of type '" "wxBitmap const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyWizardPage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); } - arg2 = reinterpret_cast< wxBitmap * >(argp2); - } - if (obj2) { - { - arg3 = wxString_in_helper(obj2); - if (arg3 == NULL) SWIG_fail; - temp3 = true; + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyWizardPage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); } + arg2 = reinterpret_cast< wxBitmap * >(argp2); } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxPyWizardPage *)new_wxPyWizardPage(arg1,(wxBitmap const *)arg2,(wxString const *)arg3); + result = (wxPyWizardPage *)new wxPyWizardPage(arg1,(wxBitmap const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_NEW | 0 ); - { - if (temp3) - delete arg3; - } return resultobj; fail: - { - if (temp3) - delete arg3; - } return NULL; } @@ -3283,8 +3229,6 @@ SWIGINTERN PyObject *_wrap_PyWizardPage_Create(PyObject *SWIGUNUSEDPARM(self), P wxWizard *arg2 = (wxWizard *) 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ; - wxString const &arg4_defvalue = wxPyEmptyString ; - wxString *arg4 = (wxString *) &arg4_defvalue ; bool result; void *argp1 = 0 ; int res1 = 0 ; @@ -3292,16 +3236,14 @@ SWIGINTERN PyObject *_wrap_PyWizardPage_Create(PyObject *SWIGUNUSEDPARM(self), P int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; - bool temp4 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL + (char *) "self",(char *) "parent",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyWizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyWizardPage_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWizardPage, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWizardPage_Create" "', expected argument " "1"" of type '" "wxPyWizardPage *""'"); @@ -3322,32 +3264,17 @@ SWIGINTERN PyObject *_wrap_PyWizardPage_Create(PyObject *SWIGUNUSEDPARM(self), P } arg3 = reinterpret_cast< wxBitmap * >(argp3); } - if (obj3) { - { - arg4 = wxString_in_helper(obj3); - if (arg4 == NULL) SWIG_fail; - temp4 = true; - } - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxPyWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4); + result = (bool)(arg1)->Create(arg2,(wxBitmap const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } - { - if (temp4) - delete arg4; - } return resultobj; fail: - { - if (temp4) - delete arg4; - } return NULL; } @@ -3892,7 +3819,6 @@ SWIGINTERN PyObject *_wrap_new_WizardPageSimple(PyObject *SWIGUNUSEDPARM(self), wxWizardPage *arg3 = (wxWizardPage *) NULL ; wxBitmap const &arg4_defvalue = wxNullBitmap ; wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; - wxChar *arg5 = (wxChar *) NULL ; wxWizardPageSimple *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -3902,18 +3828,15 @@ SWIGINTERN PyObject *_wrap_new_WizardPageSimple(PyObject *SWIGUNUSEDPARM(self), int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; char * kwnames[] = { - (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL + (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_WizardPageSimple",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_WizardPageSimple",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_WizardPageSimple" "', expected argument " "1"" of type '" "wxWizard *""'"); @@ -3943,17 +3866,10 @@ SWIGINTERN PyObject *_wrap_new_WizardPageSimple(PyObject *SWIGUNUSEDPARM(self), } arg4 = reinterpret_cast< wxBitmap * >(argp4); } - if (obj4) { - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxChar, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_WizardPageSimple" "', expected argument " "5"" of type '" "wxChar const *""'"); - } - arg5 = reinterpret_cast< wxChar * >(argp5); - } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWizardPageSimple *)new wxWizardPageSimple(arg1,arg2,arg3,(wxBitmap const &)*arg4,(wxChar const *)arg5); + result = (wxWizardPageSimple *)new wxWizardPageSimple(arg1,arg2,arg3,(wxBitmap const &)*arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -3991,7 +3907,6 @@ SWIGINTERN PyObject *_wrap_WizardPageSimple_Create(PyObject *SWIGUNUSEDPARM(self wxWizardPage *arg4 = (wxWizardPage *) NULL ; wxBitmap const &arg5_defvalue = wxNullBitmap ; wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; - wxChar *arg6 = (wxChar *) NULL ; bool result; void *argp1 = 0 ; int res1 = 0 ; @@ -4003,19 +3918,16 @@ SWIGINTERN PyObject *_wrap_WizardPageSimple_Create(PyObject *SWIGUNUSEDPARM(self int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL + (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:WizardPageSimple_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:WizardPageSimple_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWizardPageSimple, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WizardPageSimple_Create" "', expected argument " "1"" of type '" "wxWizardPageSimple *""'"); @@ -4052,16 +3964,9 @@ SWIGINTERN PyObject *_wrap_WizardPageSimple_Create(PyObject *SWIGUNUSEDPARM(self } arg5 = reinterpret_cast< wxBitmap * >(argp5); } - if (obj5) { - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxChar, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "WizardPageSimple_Create" "', expected argument " "6"" of type '" "wxChar const *""'"); - } - arg6 = reinterpret_cast< wxChar * >(argp6); - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxBitmap const &)*arg5,(wxChar const *)arg6); + result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxBitmap const &)*arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -6006,7 +5911,6 @@ static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned c static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; @@ -6152,7 +6056,6 @@ static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (voi static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyWizardPage = {"_p_wxPyWizardPage", "wxPyWizardPage *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; @@ -6176,7 +6079,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxBoxSizer, &_swigt__p_wxCURHandler, &_swigt__p_wxCalculateLayoutEvent, - &_swigt__p_wxChar, &_swigt__p_wxChildFocusEvent, &_swigt__p_wxClipboardTextEvent, &_swigt__p_wxCloseEvent, @@ -6304,7 +6206,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxStaticBoxSizer, &_swigt__p_wxStatusBar, &_swigt__p_wxStdDialogButtonSizer, - &_swigt__p_wxString, &_swigt__p_wxSysColourChangedEvent, &_swigt__p_wxTGAHandler, &_swigt__p_wxTIFFHandler, @@ -6332,7 +6233,6 @@ static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; @@ -6478,7 +6378,6 @@ static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPyVListBox, _p_wxPy static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyWizardPage[] = { {&_swigt__p_wxPyWizardPage, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; @@ -6502,7 +6401,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxBoxSizer, _swigc__p_wxCURHandler, _swigc__p_wxCalculateLayoutEvent, - _swigc__p_wxChar, _swigc__p_wxChildFocusEvent, _swigc__p_wxClipboardTextEvent, _swigc__p_wxCloseEvent, @@ -6630,7 +6528,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxStaticBoxSizer, _swigc__p_wxStatusBar, _swigc__p_wxStdDialogButtonSizer, - _swigc__p_wxString, _swigc__p_wxSysColourChangedEvent, _swigc__p_wxTGAHandler, _swigc__p_wxTIFFHandler, diff --git a/wxPython/src/msw/_controls.py b/wxPython/src/msw/_controls.py index 9506c5639d..f0ad01c700 100644 --- a/wxPython/src/msw/_controls.py +++ b/wxPython/src/msw/_controls.py @@ -99,7 +99,7 @@ class Button(_core.Control): def SetDefault(*args, **kwargs): """ - SetDefault(self) + SetDefault(self) -> Window This sets the button to be the default item for the panel or dialog box. """ diff --git a/wxPython/src/msw/_controls_wrap.cpp b/wxPython/src/msw/_controls_wrap.cpp index da5af3d1b6..9ef9e4770b 100644 --- a/wxPython/src/msw/_controls_wrap.cpp +++ b/wxPython/src/msw/_controls_wrap.cpp @@ -3733,6 +3733,7 @@ fail: SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxButton *arg1 = (wxButton *) 0 ; + wxWindow *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -3746,11 +3747,13 @@ SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyO arg1 = reinterpret_cast< wxButton * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetDefault(); + result = (wxWindow *)(arg1)->SetDefault(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + { + resultobj = wxPyMake_wxObject(result, 0); + } return resultobj; fail: return NULL; diff --git a/wxPython/src/msw/_core.py b/wxPython/src/msw/_core.py index 9b70b934b5..888d6af8da 100644 --- a/wxPython/src/msw/_core.py +++ b/wxPython/src/msw/_core.py @@ -1908,6 +1908,73 @@ class Rect2D(object): _core_.Rect2D_swigregister(Rect2D) +class Position(object): + """Proxy of C++ Position class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """__init__(self, int row=0, int col=0) -> Position""" + _core_.Position_swiginit(self,_core_.new_Position(*args, **kwargs)) + __swig_destroy__ = _core_.delete_Position + __del__ = lambda self : None; + def GetRow(*args, **kwargs): + """GetRow(self) -> int""" + return _core_.Position_GetRow(*args, **kwargs) + + def GetColumn(*args, **kwargs): + """GetColumn(self) -> int""" + return _core_.Position_GetColumn(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol(self) -> int""" + return _core_.Position_GetCol(*args, **kwargs) + + def SetRow(*args, **kwargs): + """SetRow(self, int row)""" + return _core_.Position_SetRow(*args, **kwargs) + + def SetColumn(*args, **kwargs): + """SetColumn(self, int column)""" + return _core_.Position_SetColumn(*args, **kwargs) + + def SetCol(*args, **kwargs): + """SetCol(self, int column)""" + return _core_.Position_SetCol(*args, **kwargs) + + def __eq__(*args, **kwargs): + """ + __eq__(self, PyObject other) -> bool + + Test for equality of wx.Position objects. + """ + return _core_.Position___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """ + __ne__(self, PyObject other) -> bool + + Test for inequality of wx.Position objects. + """ + return _core_.Position___ne__(*args, **kwargs) + + def __add__(*args): + """ + __add__(self, Position p) -> Position + __add__(self, Size s) -> Position + """ + return _core_.Position___add__(*args) + + def __sub__(*args): + """ + __sub__(self, Position p) -> Position + __sub__(self, Size s) -> Position + """ + return _core_.Position___sub__(*args) + + row = property(GetRow,SetRow) + col = property(GetCol,SetCol) +_core_.Position_swigregister(Position) + #--------------------------------------------------------------------------- FromStart = _core_.FromStart @@ -8140,9 +8207,21 @@ class VisualAttributes(object): _core_.VisualAttributes_swiginit(self,_core_.new_VisualAttributes(*args, **kwargs)) __swig_destroy__ = _core_.delete_VisualAttributes __del__ = lambda self : None; - font = property(_core_.VisualAttributes_font_get, _core_.VisualAttributes_font_set) - colFg = property(_core_.VisualAttributes_colFg_get, _core_.VisualAttributes_colFg_set) - colBg = property(_core_.VisualAttributes_colBg_get, _core_.VisualAttributes_colBg_set) + def _get_font(*args, **kwargs): + """_get_font(self) -> Font""" + return _core_.VisualAttributes__get_font(*args, **kwargs) + + def _get_colFg(*args, **kwargs): + """_get_colFg(self) -> Colour""" + return _core_.VisualAttributes__get_colFg(*args, **kwargs) + + def _get_colBg(*args, **kwargs): + """_get_colBg(self) -> Colour""" + return _core_.VisualAttributes__get_colBg(*args, **kwargs) + + font = property(_get_font) + colFg = property(_get_colFg) + colBg = property(_get_colBg) _core_.VisualAttributes_swigregister(VisualAttributes) NullAcceleratorTable = cvar.NullAcceleratorTable PanelNameStr = cvar.PanelNameStr @@ -9091,6 +9170,10 @@ class Window(EvtHandler): """ return _core_.Window_CanAcceptFocusFromKeyboard(*args, **kwargs) + def SetCanFocus(*args, **kwargs): + """SetCanFocus(self, bool canFocus)""" + return _core_.Window_SetCanFocus(*args, **kwargs) + def NavigateIn(*args, **kwargs): """ NavigateIn(self, int flags=NavigationKeyEvent.IsForward) -> bool diff --git a/wxPython/src/msw/_core_wrap.cpp b/wxPython/src/msw/_core_wrap.cpp index 0bea93b76f..401e6f763f 100644 --- a/wxPython/src/msw/_core_wrap.cpp +++ b/wxPython/src/msw/_core_wrap.cpp @@ -2559,49 +2559,50 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxPaperSize swig_types[93] #define SWIGTYPE_p_wxPoint swig_types[94] #define SWIGTYPE_p_wxPoint2D swig_types[95] -#define SWIGTYPE_p_wxPropagateOnce swig_types[96] -#define SWIGTYPE_p_wxPropagationDisabler swig_types[97] -#define SWIGTYPE_p_wxPyApp swig_types[98] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[99] -#define SWIGTYPE_p_wxPyDropTarget swig_types[100] -#define SWIGTYPE_p_wxPyEvent swig_types[101] -#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[102] -#define SWIGTYPE_p_wxPyImageHandler swig_types[103] -#define SWIGTYPE_p_wxPyInputStream swig_types[104] -#define SWIGTYPE_p_wxPySizer swig_types[105] -#define SWIGTYPE_p_wxPyValidator swig_types[106] -#define SWIGTYPE_p_wxQuantize swig_types[107] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[108] -#define SWIGTYPE_p_wxRealPoint swig_types[109] -#define SWIGTYPE_p_wxRect swig_types[110] -#define SWIGTYPE_p_wxRect2D swig_types[111] -#define SWIGTYPE_p_wxRegion swig_types[112] -#define SWIGTYPE_p_wxScrollEvent swig_types[113] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[114] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[115] -#define SWIGTYPE_p_wxShowEvent swig_types[116] -#define SWIGTYPE_p_wxSize swig_types[117] -#define SWIGTYPE_p_wxSizeEvent swig_types[118] -#define SWIGTYPE_p_wxSizer swig_types[119] -#define SWIGTYPE_p_wxSizerFlags swig_types[120] -#define SWIGTYPE_p_wxSizerItem swig_types[121] -#define SWIGTYPE_p_wxStaticBox swig_types[122] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[123] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[125] -#define SWIGTYPE_p_wxTGAHandler swig_types[126] -#define SWIGTYPE_p_wxTIFFHandler swig_types[127] -#define SWIGTYPE_p_wxToolTip swig_types[128] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[129] -#define SWIGTYPE_p_wxValidator swig_types[130] -#define SWIGTYPE_p_wxVisualAttributes swig_types[131] -#define SWIGTYPE_p_wxWindow swig_types[132] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[133] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[134] -#define SWIGTYPE_p_wxXPMHandler swig_types[135] -#define SWIGTYPE_p_wxZipFSHandler swig_types[136] -static swig_type_info *swig_types[138]; -static swig_module_info swig_module = {swig_types, 137, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxPosition swig_types[96] +#define SWIGTYPE_p_wxPropagateOnce swig_types[97] +#define SWIGTYPE_p_wxPropagationDisabler swig_types[98] +#define SWIGTYPE_p_wxPyApp swig_types[99] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[100] +#define SWIGTYPE_p_wxPyDropTarget swig_types[101] +#define SWIGTYPE_p_wxPyEvent swig_types[102] +#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[103] +#define SWIGTYPE_p_wxPyImageHandler swig_types[104] +#define SWIGTYPE_p_wxPyInputStream swig_types[105] +#define SWIGTYPE_p_wxPySizer swig_types[106] +#define SWIGTYPE_p_wxPyValidator swig_types[107] +#define SWIGTYPE_p_wxQuantize swig_types[108] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[109] +#define SWIGTYPE_p_wxRealPoint swig_types[110] +#define SWIGTYPE_p_wxRect swig_types[111] +#define SWIGTYPE_p_wxRect2D swig_types[112] +#define SWIGTYPE_p_wxRegion swig_types[113] +#define SWIGTYPE_p_wxScrollEvent swig_types[114] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[115] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[116] +#define SWIGTYPE_p_wxShowEvent swig_types[117] +#define SWIGTYPE_p_wxSize swig_types[118] +#define SWIGTYPE_p_wxSizeEvent swig_types[119] +#define SWIGTYPE_p_wxSizer swig_types[120] +#define SWIGTYPE_p_wxSizerFlags swig_types[121] +#define SWIGTYPE_p_wxSizerItem swig_types[122] +#define SWIGTYPE_p_wxStaticBox swig_types[123] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[124] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[125] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126] +#define SWIGTYPE_p_wxTGAHandler swig_types[127] +#define SWIGTYPE_p_wxTIFFHandler swig_types[128] +#define SWIGTYPE_p_wxToolTip swig_types[129] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[130] +#define SWIGTYPE_p_wxValidator swig_types[131] +#define SWIGTYPE_p_wxVisualAttributes swig_types[132] +#define SWIGTYPE_p_wxWindow swig_types[133] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[134] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[135] +#define SWIGTYPE_p_wxXPMHandler swig_types[136] +#define SWIGTYPE_p_wxZipFSHandler swig_types[137] +static swig_type_info *swig_types[139]; +static swig_module_info swig_module = {swig_types, 138, 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) @@ -2899,7 +2900,8 @@ static wxPyCoreAPI API = { wxArrayDouble2PyList_helper, wxPoint2D_LIST_helper, wxRect2D_helper, - + wxPosition_helper, + }; #endif @@ -3208,6 +3210,24 @@ SWIGINTERN PyObject *wxRect2D_Get(wxRect2D *self){ //wxPyEndBlockThreads(blocked); return tup; } +SWIGINTERN bool wxPosition___eq__(wxPosition *self,PyObject *other){ + wxPosition temp, *obj = &temp; + if ( other == Py_None ) return false; + if ( ! wxPosition_helper(other, &obj) ) { + PyErr_Clear(); + return false; + } + return self->operator==(*obj); + } +SWIGINTERN bool wxPosition___ne__(wxPosition *self,PyObject *other){ + wxPosition temp, *obj = &temp; + if ( other == Py_None ) return true; + if ( ! wxPosition_helper(other, &obj)) { + PyErr_Clear(); + return true; + } + return self->operator!=(*obj); + } #include "wx/wxPython/pyistream.h" @@ -3881,6 +3901,9 @@ public: static const wxString wxPyPanelNameStr(wxPanelNameStr); SWIGINTERN wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; } SWIGINTERN void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; } +SWIGINTERN wxFont wxVisualAttributes__get_font(wxVisualAttributes *self){ return self->font; } +SWIGINTERN wxColour wxVisualAttributes__get_colFg(wxVisualAttributes *self){ return self->colFg; } +SWIGINTERN wxColour wxVisualAttributes__get_colBg(wxVisualAttributes *self){ return self->colBg; } SWIGINTERN PyObject *wxWindow_GetChildren(wxWindow *self){ wxWindowList& list = self->GetChildren(); return wxPy_ConvertList(&list); @@ -11454,6 +11477,520 @@ SWIGINTERN PyObject *Rect2D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *a return SWIG_Python_InitShadowInstance(args); } +SWIGINTERN PyObject *_wrap_new_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + int arg1 = (int) 0 ; + int arg2 = (int) 0 ; + wxPosition *result = 0 ; + int val1 ; + int ecode1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "row",(char *) "col", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Position",kwnames,&obj0,&obj1)) SWIG_fail; + if (obj0) { + ecode1 = SWIG_AsVal_int(obj0, &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Position" "', expected argument " "1"" of type '" "int""'"); + } + arg1 = static_cast< int >(val1); + } + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Position" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + { + result = (wxPosition *)new wxPosition(arg1,arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPosition, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Position" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + delete arg1; + + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_GetRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_GetRow" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + result = (int)((wxPosition const *)arg1)->GetRow(); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_GetColumn" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + result = (int)((wxPosition const *)arg1)->GetColumn(); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_GetCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_GetCol" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + result = (int)((wxPosition const *)arg1)->GetCol(); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_SetRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 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 *) "row", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position_SetRow",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_SetRow" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Position_SetRow" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + (arg1)->SetRow(arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 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 *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_SetColumn" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Position_SetColumn" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + (arg1)->SetColumn(arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position_SetCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 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 *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position_SetCol",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position_SetCol" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Position_SetCol" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + (arg1)->SetCol(arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "other", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position___eq__",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___eq__" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + arg2 = obj1; + { + result = (bool)wxPosition___eq__(arg1,arg2); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "other", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Position___ne__",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___ne__" "', expected argument " "1"" of type '" "wxPosition *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + arg2 = obj1; + { + result = (bool)wxPosition___ne__(arg1,arg2); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___add____SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + wxPosition *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___add__" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Position___add__" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Position___add__" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + result = ((wxPosition const *)arg1)->operator +((wxPosition const &)*arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + wxPosition *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___sub__" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Position___sub__" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Position___sub__" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + result = ((wxPosition const *)arg1)->operator -((wxPosition const &)*arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___add____SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + wxSize *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + wxSize temp2 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___add__" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + arg2 = &temp2; + if ( ! wxSize_helper(swig_obj[1], &arg2)) SWIG_fail; + } + { + result = ((wxPosition const *)arg1)->operator +((wxSize const &)*arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___add__(PyObject *self, PyObject *args) { + int argc; + PyObject *argv[3]; + + if (!(argc = SWIG_Python_UnpackTuple(args,"Position___add__",0,2,argv))) SWIG_fail; + --argc; + if (argc == 2) { + int _v = 0; + { + int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_wxPosition, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_Position___add____SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + return _wrap_Position___add____SWIG_1(self, argc, argv); + } + +fail: + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +SWIGINTERN PyObject *_wrap_Position___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxPosition *arg1 = (wxPosition *) 0 ; + wxSize *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + wxSize temp2 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPosition, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Position___sub__" "', expected argument " "1"" of type '" "wxPosition const *""'"); + } + arg1 = reinterpret_cast< wxPosition * >(argp1); + { + arg2 = &temp2; + if ( ! wxSize_helper(swig_obj[1], &arg2)) SWIG_fail; + } + { + result = ((wxPosition const *)arg1)->operator -((wxSize const &)*arg2); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Position___sub__(PyObject *self, PyObject *args) { + int argc; + PyObject *argv[3]; + + if (!(argc = SWIG_Python_UnpackTuple(args,"Position___sub__",0,2,argv))) SWIG_fail; + --argc; + if (argc == 2) { + int _v = 0; + { + int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_wxPosition, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_Position___sub____SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + return _wrap_Position___sub____SWIG_1(self, argc, argv); + } + +fail: + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +SWIGINTERN PyObject *Position_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxPosition, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *Position_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + SWIGINTERN int DefaultPosition_set(PyObject *) { SWIG_Error(SWIG_AttributeError,"Variable DefaultPosition is read-only."); return 1; @@ -32677,40 +33214,10 @@ fail: } -SWIGINTERN PyObject *_wrap_VisualAttributes_font_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxFont *arg2 = (wxFont *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; - - if (!SWIG_Python_UnpackTuple(args,"VisualAttributes_font_set",2,2,swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); - } - arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFont, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'"); - } - arg2 = reinterpret_cast< wxFont * >(argp2); - if (arg1) (arg1)->font = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_VisualAttributes_font_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VisualAttributes__get_font(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxFont *result = 0 ; + wxFont result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -32719,51 +33226,26 @@ SWIGINTERN PyObject *_wrap_VisualAttributes_font_get(PyObject *SWIGUNUSEDPARM(se swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); - } - arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - result = (wxFont *)& ((arg1)->font); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_VisualAttributes_colFg_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour *arg2 = (wxColour *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; - - if (!SWIG_Python_UnpackTuple(args,"VisualAttributes_colFg_set",2,2,swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes__get_font" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); } arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxColour, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'"); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxVisualAttributes__get_font(arg1); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } - arg2 = reinterpret_cast< wxColour * >(argp2); - if (arg1) (arg1)->colFg = *arg2; - - resultobj = SWIG_Py_Void(); + resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VisualAttributes_colFg_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VisualAttributes__get_colFg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour *result = 0 ; + wxColour result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -32772,51 +33254,26 @@ SWIGINTERN PyObject *_wrap_VisualAttributes_colFg_get(PyObject *SWIGUNUSEDPARM(s swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); - } - arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - result = (wxColour *)& ((arg1)->colFg); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_VisualAttributes_colBg_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour *arg2 = (wxColour *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; - - if (!SWIG_Python_UnpackTuple(args,"VisualAttributes_colBg_set",2,2,swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes__get_colFg" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); } arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxColour, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'"); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxVisualAttributes__get_colFg(arg1); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } - arg2 = reinterpret_cast< wxColour * >(argp2); - if (arg1) (arg1)->colBg = *arg2; - - resultobj = SWIG_Py_Void(); + resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VisualAttributes_colBg_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VisualAttributes__get_colBg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour *result = 0 ; + wxColour result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -32825,11 +33282,16 @@ SWIGINTERN PyObject *_wrap_VisualAttributes_colBg_get(PyObject *SWIGUNUSEDPARM(s swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVisualAttributes, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VisualAttributes__get_colBg" "', expected argument " "1"" of type '" "wxVisualAttributes *""'"); } arg1 = reinterpret_cast< wxVisualAttributes * >(argp1); - result = (wxColour *)& ((arg1)->colBg); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxVisualAttributes__get_colBg(arg1); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -36448,6 +36910,44 @@ fail: } +SWIGINTERN PyObject *_wrap_Window_SetCanFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "canFocus", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCanFocus",kwnames,&obj0,&obj1)) 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_SetCanFocus" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Window_SetCanFocus" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetCanFocus(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_Window_NavigateIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxWindow *arg1 = (wxWindow *) 0 ; @@ -58084,6 +58584,20 @@ static PyMethodDef SwigMethods[] = { { (char *)"Rect2D_Get", (PyCFunction)_wrap_Rect2D_Get, METH_O, NULL}, { (char *)"Rect2D_swigregister", Rect2D_swigregister, METH_VARARGS, NULL}, { (char *)"Rect2D_swiginit", Rect2D_swiginit, METH_VARARGS, NULL}, + { (char *)"new_Position", (PyCFunction) _wrap_new_Position, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_Position", (PyCFunction)_wrap_delete_Position, METH_O, NULL}, + { (char *)"Position_GetRow", (PyCFunction)_wrap_Position_GetRow, METH_O, NULL}, + { (char *)"Position_GetColumn", (PyCFunction)_wrap_Position_GetColumn, METH_O, NULL}, + { (char *)"Position_GetCol", (PyCFunction)_wrap_Position_GetCol, METH_O, NULL}, + { (char *)"Position_SetRow", (PyCFunction) _wrap_Position_SetRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position_SetColumn", (PyCFunction) _wrap_Position_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position_SetCol", (PyCFunction) _wrap_Position_SetCol, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position___eq__", (PyCFunction) _wrap_Position___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position___ne__", (PyCFunction) _wrap_Position___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Position___add__", _wrap_Position___add__, METH_VARARGS, NULL}, + { (char *)"Position___sub__", _wrap_Position___sub__, METH_VARARGS, NULL}, + { (char *)"Position_swigregister", Position_swigregister, METH_VARARGS, NULL}, + { (char *)"Position_swiginit", Position_swiginit, METH_VARARGS, NULL}, { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_InputStream", (PyCFunction)_wrap_delete_InputStream, METH_O, NULL}, { (char *)"InputStream_close", (PyCFunction)_wrap_InputStream_close, METH_O, NULL}, @@ -58797,12 +59311,9 @@ static PyMethodDef SwigMethods[] = { { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit, METH_VARARGS, NULL}, { (char *)"new_VisualAttributes", (PyCFunction)_wrap_new_VisualAttributes, METH_NOARGS, NULL}, { (char *)"delete_VisualAttributes", (PyCFunction)_wrap_delete_VisualAttributes, METH_O, NULL}, - { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set, METH_VARARGS, NULL}, - { (char *)"VisualAttributes_font_get", (PyCFunction)_wrap_VisualAttributes_font_get, METH_O, NULL}, - { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set, METH_VARARGS, NULL}, - { (char *)"VisualAttributes_colFg_get", (PyCFunction)_wrap_VisualAttributes_colFg_get, METH_O, NULL}, - { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set, METH_VARARGS, NULL}, - { (char *)"VisualAttributes_colBg_get", (PyCFunction)_wrap_VisualAttributes_colBg_get, METH_O, NULL}, + { (char *)"VisualAttributes__get_font", (PyCFunction)_wrap_VisualAttributes__get_font, METH_O, NULL}, + { (char *)"VisualAttributes__get_colFg", (PyCFunction)_wrap_VisualAttributes__get_colFg, METH_O, NULL}, + { (char *)"VisualAttributes__get_colBg", (PyCFunction)_wrap_VisualAttributes__get_colBg, METH_O, NULL}, { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS, NULL}, { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit, METH_VARARGS, NULL}, { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -58902,6 +59413,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Window_CanAcceptFocus", (PyCFunction)_wrap_Window_CanAcceptFocus, METH_O, NULL}, { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction)_wrap_Window_AcceptsFocusFromKeyboard, METH_O, NULL}, { (char *)"Window_CanAcceptFocusFromKeyboard", (PyCFunction)_wrap_Window_CanAcceptFocusFromKeyboard, METH_O, NULL}, + { (char *)"Window_SetCanFocus", (PyCFunction) _wrap_Window_SetCanFocus, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Window_NavigateIn", (PyCFunction) _wrap_Window_NavigateIn, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -60112,6 +60624,7 @@ static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEve static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPoint2D = {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxPosition = {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPropagateOnce = {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPropagationDisabler = {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0}; @@ -60251,6 +60764,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxPaperSize, &_swigt__p_wxPoint, &_swigt__p_wxPoint2D, + &_swigt__p_wxPosition, &_swigt__p_wxPropagateOnce, &_swigt__p_wxPropagationDisabler, &_swigt__p_wxPyApp, @@ -60390,6 +60904,7 @@ static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = { {&_swigt__p_wxPalet static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPoint2D[] = { {&_swigt__p_wxPoint2D, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPosition[] = { {&_swigt__p_wxPosition, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPropagateOnce[] = { {&_swigt__p_wxPropagateOnce, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPropagationDisabler[] = { {&_swigt__p_wxPropagationDisabler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyApp[] = { {&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; @@ -60529,6 +61044,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxPaperSize, _swigc__p_wxPoint, _swigc__p_wxPoint2D, + _swigc__p_wxPosition, _swigc__p_wxPropagateOnce, _swigc__p_wxPropagationDisabler, _swigc__p_wxPyApp, diff --git a/wxPython/src/msw/_gdi.py b/wxPython/src/msw/_gdi.py index eeed44bce8..5055f2e9b9 100644 --- a/wxPython/src/msw/_gdi.py +++ b/wxPython/src/msw/_gdi.py @@ -1267,19 +1267,73 @@ class IconBundle(object): _gdi_.IconBundle_swiginit(self,_gdi_.new_IconBundle(*args, **kwargs)) __swig_destroy__ = _gdi_.delete_IconBundle __del__ = lambda self : None; + def IsOk(*args, **kwargs): + """IsOk(self) -> bool""" + return _gdi_.IconBundle_IsOk(*args, **kwargs) + + def __nonzero__(self): return self.IsOk() def AddIcon(*args, **kwargs): - """AddIcon(self, Icon icon)""" + """ + AddIcon(self, Icon icon) + + Adds the icon to the collection, if the collection already contains an + icon with the same width and height, it is replaced + """ return _gdi_.IconBundle_AddIcon(*args, **kwargs) def AddIconFromFile(*args, **kwargs): - """AddIconFromFile(self, String file, long type)""" + """ + AddIconFromFile(self, String file, long type) + + Adds all the icons contained in the file to the collection, if the + collection already contains icons with the same width and height, they + are replaced + """ return _gdi_.IconBundle_AddIconFromFile(*args, **kwargs) def GetIcon(*args, **kwargs): - """GetIcon(self, Size size) -> Icon""" + """ + GetIcon(self, Size size) -> Icon + + Returns the icon with the given size; if no such icon exists, returns + the icon with size wxSYS_ICON_[XY]; if no such icon exists, returns + the first icon in the bundle + """ return _gdi_.IconBundle_GetIcon(*args, **kwargs) - Icon = property(GetIcon,doc="See `GetIcon`") + def GetIconOfExactSize(*args, **kwargs): + """ + GetIconOfExactSize(self, Size size) -> Icon + + Returns the icon exactly of the specified size or wxNullIcon if no + icon of exactly given size are available. + """ + return _gdi_.IconBundle_GetIconOfExactSize(*args, **kwargs) + + def GetIconCount(*args, **kwargs): + """ + GetIconCount(self) -> size_t + + return the number of available icons + """ + return _gdi_.IconBundle_GetIconCount(*args, **kwargs) + + def GetIconByIndex(*args, **kwargs): + """ + GetIconByIndex(self, size_t n) -> Icon + + Return the icon at index (must be < GetIconCount()) + """ + return _gdi_.IconBundle_GetIconByIndex(*args, **kwargs) + + def IsEmpty(*args, **kwargs): + """ + IsEmpty(self) -> bool + + Check if we have any icons at all + """ + return _gdi_.IconBundle_IsEmpty(*args, **kwargs) + _gdi_.IconBundle_swigregister(IconBundle) def IconBundleFromFile(*args, **kwargs): @@ -6383,6 +6437,7 @@ NullBrush = cvar.NullBrush NullPalette = cvar.NullPalette NullFont = cvar.NullFont NullColour = cvar.NullColour +NullIconBundle = cvar.NullIconBundle class PenList(GDIObjListBase): """Proxy of C++ PenList class""" diff --git a/wxPython/src/msw/_gdi_wrap.cpp b/wxPython/src/msw/_gdi_wrap.cpp index 6de3de8aad..4374134f43 100644 --- a/wxPython/src/msw/_gdi_wrap.cpp +++ b/wxPython/src/msw/_gdi_wrap.cpp @@ -3245,6 +3245,23 @@ SWIGINTERN int wxIconLocation_GetIndex(wxIconLocation *self){ } + +SWIGINTERNINLINE PyObject * +SWIG_From_size_t (size_t value) +{ + return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); +} + + +SWIGINTERNINLINE int +SWIG_AsVal_size_t (PyObject * obj, size_t *val) +{ + unsigned long v; + int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); + if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); + return res; +} + SWIGINTERN wxCursor *new_wxCursor(wxString const &cursorName,long type,int hotSpotX=0,int hotSpotY=0){ #ifdef __WXGTK__ wxImage img(cursorName, type); @@ -3279,23 +3296,6 @@ SWIGINTERN wxString wxNativeFontInfo___str__(wxNativeFontInfo *self){ bool wxTestFontEncoding(const wxNativeEncodingInfo& info) { wxPyRaiseNotImplemented(); return false; } - -SWIGINTERNINLINE PyObject * -SWIG_From_size_t (size_t value) -{ - return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); -} - - -SWIGINTERNINLINE int -SWIG_AsVal_size_t (PyObject * obj, size_t *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); - if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); - return res; -} - SWIGINTERN PyObject *wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,wxString const &facename=wxPyEmptyString,bool interactive=true){ wxFontEncoding alt_enc; if (self->GetAltForEncoding(encoding, &alt_enc, facename, interactive)) @@ -10276,6 +10276,36 @@ fail: } +SWIGINTERN PyObject *_wrap_IconBundle_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_IsOk" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxIconBundle const *)arg1)->IsOk(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_IconBundle_AddIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxIconBundle *arg1 = (wxIconBundle *) 0 ; @@ -10414,6 +10444,140 @@ fail: } +SWIGINTERN PyObject *_wrap_IconBundle_GetIconOfExactSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + wxSize *arg2 = 0 ; + wxIcon result; + void *argp1 = 0 ; + int res1 = 0 ; + wxSize temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "size", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIconOfExactSize",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_GetIconOfExactSize" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + { + arg2 = &temp2; + if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxIconBundle const *)arg1)->GetIconOfExactSize((wxSize const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IconBundle_GetIconCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_GetIconCount" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxIconBundle const *)arg1)->GetIconCount(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IconBundle_GetIconByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + size_t arg2 ; + wxIcon result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "n", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIconByIndex",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxIconBundle const *)arg1)->GetIconByIndex(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IconBundle_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxIconBundle *arg1 = (wxIconBundle *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxIconBundle, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IconBundle_IsEmpty" "', expected argument " "1"" of type '" "wxIconBundle const *""'"); + } + arg1 = reinterpret_cast< wxIconBundle * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxIconBundle const *)arg1)->IsEmpty(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *IconBundle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; @@ -33225,6 +33389,20 @@ SWIGINTERN PyObject *NullColour_get(void) { } +SWIGINTERN int NullIconBundle_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable NullIconBundle is read-only."); + return 1; +} + + +SWIGINTERN PyObject *NullIconBundle_get(void) { + PyObject *pyobj = 0; + + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIconBundle), SWIGTYPE_p_wxIconBundle, 0 ); + return pyobj; +} + + SWIGINTERN PyObject *_wrap_new_GDIObjListBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxGDIObjListBase *result = 0 ; @@ -39625,9 +39803,14 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_IconBundleFromFile", (PyCFunction) _wrap_new_IconBundleFromFile, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_IconBundleFromIcon", (PyCFunction) _wrap_new_IconBundleFromIcon, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_IconBundle", (PyCFunction)_wrap_delete_IconBundle, METH_O, NULL}, + { (char *)"IconBundle_IsOk", (PyCFunction)_wrap_IconBundle_IsOk, METH_O, NULL}, { (char *)"IconBundle_AddIcon", (PyCFunction) _wrap_IconBundle_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"IconBundle_AddIconFromFile", (PyCFunction) _wrap_IconBundle_AddIconFromFile, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"IconBundle_GetIcon", (PyCFunction) _wrap_IconBundle_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IconBundle_GetIconOfExactSize", (PyCFunction) _wrap_IconBundle_GetIconOfExactSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IconBundle_GetIconCount", (PyCFunction)_wrap_IconBundle_GetIconCount, METH_O, NULL}, + { (char *)"IconBundle_GetIconByIndex", (PyCFunction) _wrap_IconBundle_GetIconByIndex, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IconBundle_IsEmpty", (PyCFunction)_wrap_IconBundle_IsEmpty, METH_O, NULL}, { (char *)"IconBundle_swigregister", IconBundle_swigregister, METH_VARARGS, NULL}, { (char *)"IconBundle_swiginit", IconBundle_swiginit, METH_VARARGS, NULL}, { (char *)"new_Cursor", (PyCFunction) _wrap_new_Cursor, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -42500,6 +42683,7 @@ SWIGEXPORT void SWIG_init(void) { SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get, NullPalette_set); SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get, NullFont_set); SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get, NullColour_set); + SWIG_addvarlink(SWIG_globals(),(char*)"NullIconBundle",NullIconBundle_get, NullIconBundle_set); SWIG_Python_SetConstant(d, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED))); SWIG_Python_SetConstant(d, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED))); SWIG_Python_SetConstant(d, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED))); diff --git a/wxPython/src/msw/_misc.py b/wxPython/src/msw/_misc.py index f45e23f3c4..1ef4e7078e 100644 --- a/wxPython/src/msw/_misc.py +++ b/wxPython/src/msw/_misc.py @@ -1986,6 +1986,8 @@ EXEC_SYNC = _misc_.EXEC_SYNC EXEC_NOHIDE = _misc_.EXEC_NOHIDE EXEC_MAKE_GROUP_LEADER = _misc_.EXEC_MAKE_GROUP_LEADER EXEC_NODISABLE = _misc_.EXEC_NODISABLE +EXEC_NOEVENTS = _misc_.EXEC_NOEVENTS +EXEC_BLOCK = _misc_.EXEC_BLOCK def Execute(*args, **kwargs): """Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long""" @@ -2712,6 +2714,16 @@ class ArtProvider(object): return _misc_.ArtProvider_GetIcon(*args, **kwargs) GetIcon = staticmethod(GetIcon) + def GetIconBundle(*args, **kwargs): + """ + GetIconBundle(wxArtID id, wxArtClient client=wxART_OTHER) -> wxIconBundle + + Query the providers for iconbundle with given ID and return it. Return + wx.NullIconBundle if no provider provides it. + """ + return _misc_.ArtProvider_GetIconBundle(*args, **kwargs) + + GetIconBundle = staticmethod(GetIconBundle) def GetSizeHint(*args, **kwargs): """ GetSizeHint(String client, bool platform_dependent=False) -> Size @@ -2735,6 +2747,7 @@ ART_CMN_DIALOG = cvar.ART_CMN_DIALOG ART_HELP_BROWSER = cvar.ART_HELP_BROWSER ART_MESSAGE_BOX = cvar.ART_MESSAGE_BOX ART_BUTTON = cvar.ART_BUTTON +ART_LIST = cvar.ART_LIST ART_OTHER = cvar.ART_OTHER ART_ADD_BOOKMARK = cvar.ART_ADD_BOOKMARK ART_DEL_BOOKMARK = cvar.ART_DEL_BOOKMARK @@ -2838,6 +2851,15 @@ def ArtProvider_GetIcon(*args, **kwargs): """ return _misc_.ArtProvider_GetIcon(*args, **kwargs) +def ArtProvider_GetIconBundle(*args, **kwargs): + """ + ArtProvider_GetIconBundle(wxArtID id, wxArtClient client=wxART_OTHER) -> wxIconBundle + + Query the providers for iconbundle with given ID and return it. Return + wx.NullIconBundle if no provider provides it. + """ + return _misc_.ArtProvider_GetIconBundle(*args, **kwargs) + def ArtProvider_GetSizeHint(*args, **kwargs): """ ArtProvider_GetSizeHint(String client, bool platform_dependent=False) -> Size diff --git a/wxPython/src/msw/_misc_wrap.cpp b/wxPython/src/msw/_misc_wrap.cpp index 56dbd55ba3..8731659a88 100644 --- a/wxPython/src/msw/_misc_wrap.cpp +++ b/wxPython/src/msw/_misc_wrap.cpp @@ -2475,172 +2475,175 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxAcceleratorTable swig_types[9] #define SWIGTYPE_p_wxActivateEvent swig_types[10] #define SWIGTYPE_p_wxArrayString swig_types[11] -#define SWIGTYPE_p_wxBMPHandler swig_types[12] -#define SWIGTYPE_p_wxBitmap swig_types[13] -#define SWIGTYPE_p_wxBitmapDataObject swig_types[14] -#define SWIGTYPE_p_wxBoxSizer swig_types[15] -#define SWIGTYPE_p_wxBusyCursor swig_types[16] -#define SWIGTYPE_p_wxBusyInfo swig_types[17] -#define SWIGTYPE_p_wxCURHandler swig_types[18] -#define SWIGTYPE_p_wxCaret swig_types[19] -#define SWIGTYPE_p_wxChar swig_types[20] -#define SWIGTYPE_p_wxChildFocusEvent swig_types[21] -#define SWIGTYPE_p_wxClipboard swig_types[22] -#define SWIGTYPE_p_wxClipboardLocker swig_types[23] -#define SWIGTYPE_p_wxClipboardTextEvent swig_types[24] -#define SWIGTYPE_p_wxCloseEvent swig_types[25] -#define SWIGTYPE_p_wxColour swig_types[26] -#define SWIGTYPE_p_wxCommandEvent swig_types[27] -#define SWIGTYPE_p_wxConfig swig_types[28] -#define SWIGTYPE_p_wxConfigBase swig_types[29] -#define SWIGTYPE_p_wxConfigPathChanger swig_types[30] -#define SWIGTYPE_p_wxContextMenuEvent swig_types[31] -#define SWIGTYPE_p_wxControl swig_types[32] -#define SWIGTYPE_p_wxControlWithItems swig_types[33] -#define SWIGTYPE_p_wxCursor swig_types[34] -#define SWIGTYPE_p_wxCustomDataObject swig_types[35] -#define SWIGTYPE_p_wxDC swig_types[36] -#define SWIGTYPE_p_wxDataFormat swig_types[37] -#define SWIGTYPE_p_wxDataObject swig_types[38] -#define SWIGTYPE_p_wxDataObjectComposite swig_types[39] -#define SWIGTYPE_p_wxDataObjectSimple swig_types[40] -#define SWIGTYPE_p_wxDateEvent swig_types[41] -#define SWIGTYPE_p_wxDateSpan swig_types[42] -#define SWIGTYPE_p_wxDateTime swig_types[43] -#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[44] -#define SWIGTYPE_p_wxDisplay swig_types[45] -#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46] -#define SWIGTYPE_p_wxDropFilesEvent swig_types[47] -#define SWIGTYPE_p_wxDuplexMode swig_types[48] -#define SWIGTYPE_p_wxEraseEvent swig_types[49] -#define SWIGTYPE_p_wxEvent swig_types[50] -#define SWIGTYPE_p_wxEventBlocker swig_types[51] -#define SWIGTYPE_p_wxEvtHandler swig_types[52] -#define SWIGTYPE_p_wxFSFile swig_types[53] -#define SWIGTYPE_p_wxFileConfig swig_types[54] -#define SWIGTYPE_p_wxFileDataObject swig_types[55] -#define SWIGTYPE_p_wxFileHistory swig_types[56] -#define SWIGTYPE_p_wxFileSystem swig_types[57] -#define SWIGTYPE_p_wxFileType swig_types[58] -#define SWIGTYPE_p_wxFileTypeInfo swig_types[59] -#define SWIGTYPE_p_wxFlexGridSizer swig_types[60] -#define SWIGTYPE_p_wxFocusEvent swig_types[61] -#define SWIGTYPE_p_wxFont swig_types[62] -#define SWIGTYPE_p_wxFrame swig_types[63] -#define SWIGTYPE_p_wxGBSizerItem swig_types[64] -#define SWIGTYPE_p_wxGIFHandler swig_types[65] -#define SWIGTYPE_p_wxGridBagSizer swig_types[66] -#define SWIGTYPE_p_wxGridSizer swig_types[67] -#define SWIGTYPE_p_wxICOHandler swig_types[68] -#define SWIGTYPE_p_wxIcon swig_types[69] -#define SWIGTYPE_p_wxIconizeEvent swig_types[70] -#define SWIGTYPE_p_wxIdleEvent swig_types[71] -#define SWIGTYPE_p_wxImage swig_types[72] -#define SWIGTYPE_p_wxImageHandler swig_types[73] -#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[74] -#define SWIGTYPE_p_wxInitDialogEvent swig_types[75] -#define SWIGTYPE_p_wxJPEGHandler swig_types[76] -#define SWIGTYPE_p_wxJoystick swig_types[77] -#define SWIGTYPE_p_wxJoystickEvent swig_types[78] -#define SWIGTYPE_p_wxKeyEvent swig_types[79] -#define SWIGTYPE_p_wxKillError swig_types[80] -#define SWIGTYPE_p_wxLayoutConstraints swig_types[81] -#define SWIGTYPE_p_wxLog swig_types[82] -#define SWIGTYPE_p_wxLogBuffer swig_types[83] -#define SWIGTYPE_p_wxLogChain swig_types[84] -#define SWIGTYPE_p_wxLogGui swig_types[85] -#define SWIGTYPE_p_wxLogNull swig_types[86] -#define SWIGTYPE_p_wxLogStderr swig_types[87] -#define SWIGTYPE_p_wxLogTextCtrl swig_types[88] -#define SWIGTYPE_p_wxLogWindow swig_types[89] -#define SWIGTYPE_p_wxMaximizeEvent swig_types[90] -#define SWIGTYPE_p_wxMenu swig_types[91] -#define SWIGTYPE_p_wxMenuBar swig_types[92] -#define SWIGTYPE_p_wxMenuEvent swig_types[93] -#define SWIGTYPE_p_wxMenuItem swig_types[94] -#define SWIGTYPE_p_wxMetafile swig_types[95] -#define SWIGTYPE_p_wxMetafileDataObject swig_types[96] -#define SWIGTYPE_p_wxMimeTypesManager swig_types[97] -#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[98] -#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[99] -#define SWIGTYPE_p_wxMouseEvent swig_types[100] -#define SWIGTYPE_p_wxMouseState swig_types[101] -#define SWIGTYPE_p_wxMoveEvent swig_types[102] -#define SWIGTYPE_p_wxMutexGuiLocker swig_types[103] -#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[104] -#define SWIGTYPE_p_wxNcPaintEvent swig_types[105] -#define SWIGTYPE_p_wxNotifyEvent swig_types[106] -#define SWIGTYPE_p_wxObject swig_types[107] -#define SWIGTYPE_p_wxOutputStream swig_types[108] -#define SWIGTYPE_p_wxPCXHandler swig_types[109] -#define SWIGTYPE_p_wxPNGHandler swig_types[110] -#define SWIGTYPE_p_wxPNMHandler swig_types[111] -#define SWIGTYPE_p_wxPaintEvent swig_types[112] -#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113] -#define SWIGTYPE_p_wxPaperSize swig_types[114] -#define SWIGTYPE_p_wxPlatformInfo swig_types[115] -#define SWIGTYPE_p_wxPoint swig_types[116] -#define SWIGTYPE_p_wxPowerEvent swig_types[117] -#define SWIGTYPE_p_wxProcessEvent swig_types[118] -#define SWIGTYPE_p_wxPyApp swig_types[119] -#define SWIGTYPE_p_wxPyArtProvider swig_types[120] -#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[121] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[122] -#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[123] -#define SWIGTYPE_p_wxPyDropSource swig_types[124] -#define SWIGTYPE_p_wxPyDropTarget swig_types[125] -#define SWIGTYPE_p_wxPyEvent swig_types[126] -#define SWIGTYPE_p_wxPyFileDropTarget swig_types[127] -#define SWIGTYPE_p_wxPyImageHandler swig_types[128] -#define SWIGTYPE_p_wxPyLog swig_types[129] -#define SWIGTYPE_p_wxPyProcess swig_types[130] -#define SWIGTYPE_p_wxPySizer swig_types[131] -#define SWIGTYPE_p_wxPyTextDataObject swig_types[132] -#define SWIGTYPE_p_wxPyTextDropTarget swig_types[133] -#define SWIGTYPE_p_wxPyTimer swig_types[134] -#define SWIGTYPE_p_wxPyTipProvider swig_types[135] -#define SWIGTYPE_p_wxPyValidator swig_types[136] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[137] -#define SWIGTYPE_p_wxRect swig_types[138] -#define SWIGTYPE_p_wxScrollEvent swig_types[139] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[140] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[141] -#define SWIGTYPE_p_wxShowEvent swig_types[142] -#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[143] -#define SWIGTYPE_p_wxSize swig_types[144] -#define SWIGTYPE_p_wxSizeEvent swig_types[145] -#define SWIGTYPE_p_wxSizer swig_types[146] -#define SWIGTYPE_p_wxSizerItem swig_types[147] -#define SWIGTYPE_p_wxSound swig_types[148] -#define SWIGTYPE_p_wxStandardPaths swig_types[149] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[150] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151] -#define SWIGTYPE_p_wxStopWatch swig_types[152] -#define SWIGTYPE_p_wxString swig_types[153] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154] -#define SWIGTYPE_p_wxSystemOptions swig_types[155] -#define SWIGTYPE_p_wxSystemSettings swig_types[156] -#define SWIGTYPE_p_wxTGAHandler swig_types[157] -#define SWIGTYPE_p_wxTIFFHandler swig_types[158] -#define SWIGTYPE_p_wxTextCtrl swig_types[159] -#define SWIGTYPE_p_wxTextDataObject swig_types[160] -#define SWIGTYPE_p_wxTimeSpan swig_types[161] -#define SWIGTYPE_p_wxTimer swig_types[162] -#define SWIGTYPE_p_wxTimerEvent swig_types[163] -#define SWIGTYPE_p_wxTimerRunner swig_types[164] -#define SWIGTYPE_p_wxTipProvider swig_types[165] -#define SWIGTYPE_p_wxToolTip swig_types[166] -#define SWIGTYPE_p_wxURLDataObject swig_types[167] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[168] -#define SWIGTYPE_p_wxValidator swig_types[169] -#define SWIGTYPE_p_wxVideoMode swig_types[170] -#define SWIGTYPE_p_wxWindow swig_types[171] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[172] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173] -#define SWIGTYPE_p_wxWindowDisabler swig_types[174] -#define SWIGTYPE_p_wxXPMHandler swig_types[175] -static swig_type_info *swig_types[177]; -static swig_module_info swig_module = {swig_types, 176, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxArtClient swig_types[12] +#define SWIGTYPE_p_wxArtID swig_types[13] +#define SWIGTYPE_p_wxBMPHandler swig_types[14] +#define SWIGTYPE_p_wxBitmap swig_types[15] +#define SWIGTYPE_p_wxBitmapDataObject swig_types[16] +#define SWIGTYPE_p_wxBoxSizer swig_types[17] +#define SWIGTYPE_p_wxBusyCursor swig_types[18] +#define SWIGTYPE_p_wxBusyInfo swig_types[19] +#define SWIGTYPE_p_wxCURHandler swig_types[20] +#define SWIGTYPE_p_wxCaret swig_types[21] +#define SWIGTYPE_p_wxChar swig_types[22] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[23] +#define SWIGTYPE_p_wxClipboard swig_types[24] +#define SWIGTYPE_p_wxClipboardLocker swig_types[25] +#define SWIGTYPE_p_wxClipboardTextEvent swig_types[26] +#define SWIGTYPE_p_wxCloseEvent swig_types[27] +#define SWIGTYPE_p_wxColour swig_types[28] +#define SWIGTYPE_p_wxCommandEvent swig_types[29] +#define SWIGTYPE_p_wxConfig swig_types[30] +#define SWIGTYPE_p_wxConfigBase swig_types[31] +#define SWIGTYPE_p_wxConfigPathChanger swig_types[32] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[33] +#define SWIGTYPE_p_wxControl swig_types[34] +#define SWIGTYPE_p_wxControlWithItems swig_types[35] +#define SWIGTYPE_p_wxCursor swig_types[36] +#define SWIGTYPE_p_wxCustomDataObject swig_types[37] +#define SWIGTYPE_p_wxDC swig_types[38] +#define SWIGTYPE_p_wxDataFormat swig_types[39] +#define SWIGTYPE_p_wxDataObject swig_types[40] +#define SWIGTYPE_p_wxDataObjectComposite swig_types[41] +#define SWIGTYPE_p_wxDataObjectSimple swig_types[42] +#define SWIGTYPE_p_wxDateEvent swig_types[43] +#define SWIGTYPE_p_wxDateSpan swig_types[44] +#define SWIGTYPE_p_wxDateTime swig_types[45] +#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[46] +#define SWIGTYPE_p_wxDisplay swig_types[47] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[48] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[49] +#define SWIGTYPE_p_wxDuplexMode swig_types[50] +#define SWIGTYPE_p_wxEraseEvent swig_types[51] +#define SWIGTYPE_p_wxEvent swig_types[52] +#define SWIGTYPE_p_wxEventBlocker swig_types[53] +#define SWIGTYPE_p_wxEvtHandler swig_types[54] +#define SWIGTYPE_p_wxFSFile swig_types[55] +#define SWIGTYPE_p_wxFileConfig swig_types[56] +#define SWIGTYPE_p_wxFileDataObject swig_types[57] +#define SWIGTYPE_p_wxFileHistory swig_types[58] +#define SWIGTYPE_p_wxFileSystem swig_types[59] +#define SWIGTYPE_p_wxFileType swig_types[60] +#define SWIGTYPE_p_wxFileTypeInfo swig_types[61] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[62] +#define SWIGTYPE_p_wxFocusEvent swig_types[63] +#define SWIGTYPE_p_wxFont swig_types[64] +#define SWIGTYPE_p_wxFrame swig_types[65] +#define SWIGTYPE_p_wxGBSizerItem swig_types[66] +#define SWIGTYPE_p_wxGIFHandler swig_types[67] +#define SWIGTYPE_p_wxGridBagSizer swig_types[68] +#define SWIGTYPE_p_wxGridSizer swig_types[69] +#define SWIGTYPE_p_wxICOHandler swig_types[70] +#define SWIGTYPE_p_wxIcon swig_types[71] +#define SWIGTYPE_p_wxIconBundle swig_types[72] +#define SWIGTYPE_p_wxIconizeEvent swig_types[73] +#define SWIGTYPE_p_wxIdleEvent swig_types[74] +#define SWIGTYPE_p_wxImage swig_types[75] +#define SWIGTYPE_p_wxImageHandler swig_types[76] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[77] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[78] +#define SWIGTYPE_p_wxJPEGHandler swig_types[79] +#define SWIGTYPE_p_wxJoystick swig_types[80] +#define SWIGTYPE_p_wxJoystickEvent swig_types[81] +#define SWIGTYPE_p_wxKeyEvent swig_types[82] +#define SWIGTYPE_p_wxKillError swig_types[83] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[84] +#define SWIGTYPE_p_wxLog swig_types[85] +#define SWIGTYPE_p_wxLogBuffer swig_types[86] +#define SWIGTYPE_p_wxLogChain swig_types[87] +#define SWIGTYPE_p_wxLogGui swig_types[88] +#define SWIGTYPE_p_wxLogNull swig_types[89] +#define SWIGTYPE_p_wxLogStderr swig_types[90] +#define SWIGTYPE_p_wxLogTextCtrl swig_types[91] +#define SWIGTYPE_p_wxLogWindow swig_types[92] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[93] +#define SWIGTYPE_p_wxMenu swig_types[94] +#define SWIGTYPE_p_wxMenuBar swig_types[95] +#define SWIGTYPE_p_wxMenuEvent swig_types[96] +#define SWIGTYPE_p_wxMenuItem swig_types[97] +#define SWIGTYPE_p_wxMetafile swig_types[98] +#define SWIGTYPE_p_wxMetafileDataObject swig_types[99] +#define SWIGTYPE_p_wxMimeTypesManager swig_types[100] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101] +#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102] +#define SWIGTYPE_p_wxMouseEvent swig_types[103] +#define SWIGTYPE_p_wxMouseState swig_types[104] +#define SWIGTYPE_p_wxMoveEvent swig_types[105] +#define SWIGTYPE_p_wxMutexGuiLocker swig_types[106] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[107] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[108] +#define SWIGTYPE_p_wxNotifyEvent swig_types[109] +#define SWIGTYPE_p_wxObject swig_types[110] +#define SWIGTYPE_p_wxOutputStream swig_types[111] +#define SWIGTYPE_p_wxPCXHandler swig_types[112] +#define SWIGTYPE_p_wxPNGHandler swig_types[113] +#define SWIGTYPE_p_wxPNMHandler swig_types[114] +#define SWIGTYPE_p_wxPaintEvent swig_types[115] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116] +#define SWIGTYPE_p_wxPaperSize swig_types[117] +#define SWIGTYPE_p_wxPlatformInfo swig_types[118] +#define SWIGTYPE_p_wxPoint swig_types[119] +#define SWIGTYPE_p_wxPowerEvent swig_types[120] +#define SWIGTYPE_p_wxProcessEvent swig_types[121] +#define SWIGTYPE_p_wxPyApp swig_types[122] +#define SWIGTYPE_p_wxPyArtProvider swig_types[123] +#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[124] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[125] +#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[126] +#define SWIGTYPE_p_wxPyDropSource swig_types[127] +#define SWIGTYPE_p_wxPyDropTarget swig_types[128] +#define SWIGTYPE_p_wxPyEvent swig_types[129] +#define SWIGTYPE_p_wxPyFileDropTarget swig_types[130] +#define SWIGTYPE_p_wxPyImageHandler swig_types[131] +#define SWIGTYPE_p_wxPyLog swig_types[132] +#define SWIGTYPE_p_wxPyProcess swig_types[133] +#define SWIGTYPE_p_wxPySizer swig_types[134] +#define SWIGTYPE_p_wxPyTextDataObject swig_types[135] +#define SWIGTYPE_p_wxPyTextDropTarget swig_types[136] +#define SWIGTYPE_p_wxPyTimer swig_types[137] +#define SWIGTYPE_p_wxPyTipProvider swig_types[138] +#define SWIGTYPE_p_wxPyValidator swig_types[139] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140] +#define SWIGTYPE_p_wxRect swig_types[141] +#define SWIGTYPE_p_wxScrollEvent swig_types[142] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[143] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[144] +#define SWIGTYPE_p_wxShowEvent swig_types[145] +#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[146] +#define SWIGTYPE_p_wxSize swig_types[147] +#define SWIGTYPE_p_wxSizeEvent swig_types[148] +#define SWIGTYPE_p_wxSizer swig_types[149] +#define SWIGTYPE_p_wxSizerItem swig_types[150] +#define SWIGTYPE_p_wxSound swig_types[151] +#define SWIGTYPE_p_wxStandardPaths swig_types[152] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[153] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[154] +#define SWIGTYPE_p_wxStopWatch swig_types[155] +#define SWIGTYPE_p_wxString swig_types[156] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157] +#define SWIGTYPE_p_wxSystemOptions swig_types[158] +#define SWIGTYPE_p_wxSystemSettings swig_types[159] +#define SWIGTYPE_p_wxTGAHandler swig_types[160] +#define SWIGTYPE_p_wxTIFFHandler swig_types[161] +#define SWIGTYPE_p_wxTextCtrl swig_types[162] +#define SWIGTYPE_p_wxTextDataObject swig_types[163] +#define SWIGTYPE_p_wxTimeSpan swig_types[164] +#define SWIGTYPE_p_wxTimer swig_types[165] +#define SWIGTYPE_p_wxTimerEvent swig_types[166] +#define SWIGTYPE_p_wxTimerRunner swig_types[167] +#define SWIGTYPE_p_wxTipProvider swig_types[168] +#define SWIGTYPE_p_wxToolTip swig_types[169] +#define SWIGTYPE_p_wxURLDataObject swig_types[170] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[171] +#define SWIGTYPE_p_wxValidator swig_types[172] +#define SWIGTYPE_p_wxVideoMode swig_types[173] +#define SWIGTYPE_p_wxWindow swig_types[174] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[175] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[176] +#define SWIGTYPE_p_wxWindowDisabler swig_types[177] +#define SWIGTYPE_p_wxXPMHandler swig_types[178] +static swig_type_info *swig_types[180]; +static swig_module_info swig_module = {swig_types, 179, 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) @@ -3460,6 +3463,7 @@ SWIGINTERN PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *sel static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER); static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX); static const wxString wxPyART_BUTTON(wxART_BUTTON); + static const wxString wxPyART_LIST(wxART_LIST); static const wxString wxPyART_OTHER(wxART_OTHER); static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK); static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK); @@ -3539,6 +3543,30 @@ public: return rval; } + virtual wxIconBundle CreateIconBundle(const wxArtID& id, + const wxArtClient& client) + { + wxIconBundle rval = wxNullIconBundle; + wxPyBlock_t blocked = wxPyBeginBlockThreads(); + if ((wxPyCBH_findCallback(m_myInst, "CreateIconBundle"))) { + PyObject* ro; + wxIconBundle* ptr; + PyObject* s1, *s2; + s1 = wx2PyString(id); + s2 = wx2PyString(client); + ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OO)", s1, s2)); + Py_DECREF(s1); + Py_DECREF(s2); + if (ro) { + if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxIconBundle"))) + rval = *ptr; + Py_DECREF(ro); + } + } + wxPyEndBlockThreads(blocked); + return rval; + } + PYPRIVATE; }; @@ -19425,6 +19453,26 @@ SWIGINTERN PyObject *ART_BUTTON_get(void) { } +SWIGINTERN int ART_LIST_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable ART_LIST is read-only."); + return 1; +} + + +SWIGINTERN PyObject *ART_LIST_get(void) { + PyObject *pyobj = 0; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_LIST)->c_str(), (&wxPyART_LIST)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_LIST)->c_str(), (&wxPyART_LIST)->Len()); +#endif + } + return pyobj; +} + + SWIGINTERN int ART_OTHER_set(PyObject *) { SWIG_Error(SWIG_AttributeError,"Variable ART_OTHER is read-only."); return 1; @@ -20727,6 +20775,54 @@ fail: } +SWIGINTERN PyObject *_wrap_ArtProvider_GetIconBundle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxArtID *arg1 = 0 ; + wxArtClient const &arg2_defvalue = wxART_OTHER ; + wxArtClient *arg2 = (wxArtClient *) &arg2_defvalue ; + wxIconBundle result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "id",(char *) "client", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetIconBundle",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxArtID, 0 | 0); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ArtProvider_GetIconBundle" "', expected argument " "1"" of type '" "wxArtID const &""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ArtProvider_GetIconBundle" "', expected argument " "1"" of type '" "wxArtID const &""'"); + } + arg1 = reinterpret_cast< wxArtID * >(argp1); + if (obj1) { + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxArtClient, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ArtProvider_GetIconBundle" "', expected argument " "2"" of type '" "wxArtClient const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ArtProvider_GetIconBundle" "', expected argument " "2"" of type '" "wxArtClient const &""'"); + } + arg2 = reinterpret_cast< wxArtClient * >(argp2); + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxPyArtProvider::GetIconBundle((wxArtID const &)*arg1,(wxArtClient const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxIconBundle(static_cast< const wxIconBundle& >(result))), SWIGTYPE_p_wxIconBundle, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxString *arg1 = 0 ; @@ -39680,6 +39776,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"ArtProvider_Delete", (PyCFunction) _wrap_ArtProvider_Delete, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ArtProvider_GetIconBundle", (PyCFunction) _wrap_ArtProvider_GetIconBundle, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_Destroy", (PyCFunction)_wrap_ArtProvider_Destroy, METH_O, NULL}, { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL}, @@ -40750,6 +40847,8 @@ static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned l static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxAboutDialogInfo = {"_p_wxAboutDialogInfo", "wxAboutDialogInfo *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxArtClient = {"_p_wxArtClient", "wxArtClient *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxArtID = {"_p_wxArtID", "wxArtID *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBitmapDataObject = {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBusyCursor = {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0}; @@ -40829,6 +40928,7 @@ static swig_type_info _swigt__p_wxFileTypeInfo = {"_p_wxFileTypeInfo", "wxFileTy static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxJoystick = {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxKillError = {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0}; @@ -40931,6 +41031,8 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxAcceleratorTable, &_swigt__p_wxActivateEvent, &_swigt__p_wxArrayString, + &_swigt__p_wxArtClient, + &_swigt__p_wxArtID, &_swigt__p_wxBMPHandler, &_swigt__p_wxBitmap, &_swigt__p_wxBitmapDataObject, @@ -40989,6 +41091,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxGridSizer, &_swigt__p_wxICOHandler, &_swigt__p_wxIcon, + &_swigt__p_wxIconBundle, &_swigt__p_wxIconizeEvent, &_swigt__p_wxIdleEvent, &_swigt__p_wxImage, @@ -41106,6 +41209,8 @@ static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxAboutDialogInfo[] = { {&_swigt__p_wxAboutDialogInfo, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArtClient[] = { {&_swigt__p_wxArtClient, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArtID[] = { {&_swigt__p_wxArtID, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBitmapDataObject[] = { {&_swigt__p_wxBitmapDataObject, 0, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBusyCursor[] = { {&_swigt__p_wxBusyCursor, 0, 0, 0},{0, 0, 0, 0}}; @@ -41185,6 +41290,7 @@ static swig_cast_info _swigc__p_wxFileTypeInfo[] = { {&_swigt__p_wxFileTypeInfo static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxJoystick[] = { {&_swigt__p_wxJoystick, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxJoystickEvent[] = { {&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxKillError[] = { {&_swigt__p_wxKillError, 0, 0, 0},{0, 0, 0, 0}}; @@ -41287,6 +41393,8 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxAcceleratorTable, _swigc__p_wxActivateEvent, _swigc__p_wxArrayString, + _swigc__p_wxArtClient, + _swigc__p_wxArtID, _swigc__p_wxBMPHandler, _swigc__p_wxBitmap, _swigc__p_wxBitmapDataObject, @@ -41345,6 +41453,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxGridSizer, _swigc__p_wxICOHandler, _swigc__p_wxIcon, + _swigc__p_wxIconBundle, _swigc__p_wxIconizeEvent, _swigc__p_wxIdleEvent, _swigc__p_wxImage, @@ -42158,6 +42267,8 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE))); SWIG_Python_SetConstant(d, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER))); SWIG_Python_SetConstant(d, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE))); + SWIG_Python_SetConstant(d, "EXEC_NOEVENTS",SWIG_From_int(static_cast< int >(wxEXEC_NOEVENTS))); + SWIG_Python_SetConstant(d, "EXEC_BLOCK",SWIG_From_int(static_cast< int >(wxEXEC_BLOCK))); wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess"); @@ -42188,6 +42299,7 @@ SWIGEXPORT void SWIG_init(void) { SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get, ART_HELP_BROWSER_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get, ART_MESSAGE_BOX_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get, ART_BUTTON_set); + SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST",ART_LIST_get, ART_LIST_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get, ART_OTHER_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get, ART_ADD_BOOKMARK_set); SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get, ART_DEL_BOOKMARK_set); diff --git a/wxPython/src/msw/_windows.py b/wxPython/src/msw/_windows.py index 87a28b1e9e..11a150c1c5 100644 --- a/wxPython/src/msw/_windows.py +++ b/wxPython/src/msw/_windows.py @@ -1805,7 +1805,219 @@ _windows_.TipWindow_swigregister(TipWindow) #--------------------------------------------------------------------------- -class VScrolledWindow(Panel): +class VarScrollHelperBase(object): + """Proxy of C++ VarScrollHelperBase class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + def __init__(self): raise AttributeError, "No constructor defined" + __repr__ = _swig_repr + def EnablePhysicalScrolling(*args, **kwargs): + """EnablePhysicalScrolling(self, bool scrolling=True)""" + return _windows_.VarScrollHelperBase_EnablePhysicalScrolling(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(self, int coord) -> int""" + return _windows_.VarScrollHelperBase_HitTest(*args, **kwargs) + + def RefreshAll(*args, **kwargs): + """RefreshAll(self)""" + return _windows_.VarScrollHelperBase_RefreshAll(*args, **kwargs) + + def GetVisibleBegin(*args, **kwargs): + """GetVisibleBegin(self) -> size_t""" + return _windows_.VarScrollHelperBase_GetVisibleBegin(*args, **kwargs) + + def GetVisibleEnd(*args, **kwargs): + """GetVisibleEnd(self) -> size_t""" + return _windows_.VarScrollHelperBase_GetVisibleEnd(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(self, size_t unit) -> bool""" + return _windows_.VarScrollHelperBase_IsVisible(*args, **kwargs) + + def CalcScrolledPosition(*args, **kwargs): + """CalcScrolledPosition(self, int coord) -> int""" + return _windows_.VarScrollHelperBase_CalcScrolledPosition(*args, **kwargs) + + def CalcUnscrolledPosition(*args, **kwargs): + """CalcUnscrolledPosition(self, int coord) -> int""" + return _windows_.VarScrollHelperBase_CalcUnscrolledPosition(*args, **kwargs) + + def UpdateScrollbar(*args, **kwargs): + """UpdateScrollbar(self)""" + return _windows_.VarScrollHelperBase_UpdateScrollbar(*args, **kwargs) + + def RemoveScrollbar(*args, **kwargs): + """RemoveScrollbar(self)""" + return _windows_.VarScrollHelperBase_RemoveScrollbar(*args, **kwargs) + + def SetTargetWindow(*args, **kwargs): + """SetTargetWindow(self, Window target)""" + return _windows_.VarScrollHelperBase_SetTargetWindow(*args, **kwargs) + + def GetTargetWindow(*args, **kwargs): + """GetTargetWindow(self) -> Window""" + return _windows_.VarScrollHelperBase_GetTargetWindow(*args, **kwargs) + + def GetOrientationTargetSize(*args, **kwargs): + """GetOrientationTargetSize(self) -> int""" + return _windows_.VarScrollHelperBase_GetOrientationTargetSize(*args, **kwargs) + + def GetNonOrientationTargetSize(*args, **kwargs): + """GetNonOrientationTargetSize(self) -> int""" + return _windows_.VarScrollHelperBase_GetNonOrientationTargetSize(*args, **kwargs) + + def GetOrientation(*args, **kwargs): + """GetOrientation(self) -> int""" + return _windows_.VarScrollHelperBase_GetOrientation(*args, **kwargs) + +_windows_.VarScrollHelperBase_swigregister(VarScrollHelperBase) + +class VarVScrollHelper(VarScrollHelperBase): + """Proxy of C++ VarVScrollHelper class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + def __init__(self): raise AttributeError, "No constructor defined" + __repr__ = _swig_repr + def SetRowCount(*args, **kwargs): + """SetRowCount(self, size_t rowCount)""" + return _windows_.VarVScrollHelper_SetRowCount(*args, **kwargs) + + def ScrollToRow(*args, **kwargs): + """ScrollToRow(self, size_t row) -> bool""" + return _windows_.VarVScrollHelper_ScrollToRow(*args, **kwargs) + + def ScrollRows(*args, **kwargs): + """ScrollRows(self, int rows) -> bool""" + return _windows_.VarVScrollHelper_ScrollRows(*args, **kwargs) + + def ScrollRowPages(*args, **kwargs): + """ScrollRowPages(self, int pages) -> bool""" + return _windows_.VarVScrollHelper_ScrollRowPages(*args, **kwargs) + + def RefreshRow(*args, **kwargs): + """RefreshRow(self, size_t row)""" + return _windows_.VarVScrollHelper_RefreshRow(*args, **kwargs) + + def RefreshRows(*args, **kwargs): + """RefreshRows(self, size_t from, size_t to)""" + return _windows_.VarVScrollHelper_RefreshRows(*args, **kwargs) + + def GetRowCount(*args, **kwargs): + """GetRowCount(self) -> size_t""" + return _windows_.VarVScrollHelper_GetRowCount(*args, **kwargs) + + def GetVisibleRowsBegin(*args, **kwargs): + """GetVisibleRowsBegin(self) -> size_t""" + return _windows_.VarVScrollHelper_GetVisibleRowsBegin(*args, **kwargs) + + def GetVisibleRowsEnd(*args, **kwargs): + """GetVisibleRowsEnd(self) -> size_t""" + return _windows_.VarVScrollHelper_GetVisibleRowsEnd(*args, **kwargs) + + def IsRowVisible(*args, **kwargs): + """IsRowVisible(self, size_t row) -> bool""" + return _windows_.VarVScrollHelper_IsRowVisible(*args, **kwargs) + +_windows_.VarVScrollHelper_swigregister(VarVScrollHelper) + +class VarHScrollHelper(VarScrollHelperBase): + """Proxy of C++ VarHScrollHelper class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + def __init__(self): raise AttributeError, "No constructor defined" + __repr__ = _swig_repr + def SetColumnCount(*args, **kwargs): + """SetColumnCount(self, size_t columnCount)""" + return _windows_.VarHScrollHelper_SetColumnCount(*args, **kwargs) + + def ScrollToColumn(*args, **kwargs): + """ScrollToColumn(self, size_t column) -> bool""" + return _windows_.VarHScrollHelper_ScrollToColumn(*args, **kwargs) + + def ScrollColumns(*args, **kwargs): + """ScrollColumns(self, int columns) -> bool""" + return _windows_.VarHScrollHelper_ScrollColumns(*args, **kwargs) + + def ScrollColumnPages(*args, **kwargs): + """ScrollColumnPages(self, int pages) -> bool""" + return _windows_.VarHScrollHelper_ScrollColumnPages(*args, **kwargs) + + def RefreshColumn(*args, **kwargs): + """RefreshColumn(self, size_t column)""" + return _windows_.VarHScrollHelper_RefreshColumn(*args, **kwargs) + + def RefreshColumns(*args, **kwargs): + """RefreshColumns(self, size_t from, size_t to)""" + return _windows_.VarHScrollHelper_RefreshColumns(*args, **kwargs) + + def GetColumnCount(*args, **kwargs): + """GetColumnCount(self) -> size_t""" + return _windows_.VarHScrollHelper_GetColumnCount(*args, **kwargs) + + def GetVisibleColumnsBegin(*args, **kwargs): + """GetVisibleColumnsBegin(self) -> size_t""" + return _windows_.VarHScrollHelper_GetVisibleColumnsBegin(*args, **kwargs) + + def GetVisibleColumnsEnd(*args, **kwargs): + """GetVisibleColumnsEnd(self) -> size_t""" + return _windows_.VarHScrollHelper_GetVisibleColumnsEnd(*args, **kwargs) + + def IsColumnVisible(*args, **kwargs): + """IsColumnVisible(self, size_t column) -> bool""" + return _windows_.VarHScrollHelper_IsColumnVisible(*args, **kwargs) + +_windows_.VarHScrollHelper_swigregister(VarHScrollHelper) + +class VarHVScrollHelper(VarVScrollHelper,VarHScrollHelper): + """Proxy of C++ VarHVScrollHelper class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + def __init__(self): raise AttributeError, "No constructor defined" + __repr__ = _swig_repr + def SetRowColumnCount(*args, **kwargs): + """SetRowColumnCount(self, size_t rowCount, size_t columnCount)""" + return _windows_.VarHVScrollHelper_SetRowColumnCount(*args, **kwargs) + + def EnablePhysicalScrolling(*args, **kwargs): + """EnablePhysicalScrolling(self, bool vscrolling=True, bool hscrolling=True)""" + return _windows_.VarHVScrollHelper_EnablePhysicalScrolling(*args, **kwargs) + + def ScrollToRowColumn(*args, **kwargs): + """ScrollToRowColumn(self, Position pos) -> bool""" + return _windows_.VarHVScrollHelper_ScrollToRowColumn(*args, **kwargs) + + def RefreshRowColumn(*args, **kwargs): + """RefreshRowColumn(self, Position pos)""" + return _windows_.VarHVScrollHelper_RefreshRowColumn(*args, **kwargs) + + def RefreshRowsColumns(*args, **kwargs): + """RefreshRowsColumns(self, Position from, Position to)""" + return _windows_.VarHVScrollHelper_RefreshRowsColumns(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(self, Point pos) -> Position""" + return _windows_.VarHVScrollHelper_HitTest(*args, **kwargs) + + def ScrollLayout(*args, **kwargs): + """ScrollLayout(self) -> bool""" + return _windows_.VarHVScrollHelper_ScrollLayout(*args, **kwargs) + + def GetRowColumnCount(*args, **kwargs): + """GetRowColumnCount(self) -> Size""" + return _windows_.VarHVScrollHelper_GetRowColumnCount(*args, **kwargs) + + def GetVisibleBegin(*args, **kwargs): + """GetVisibleBegin(self) -> Position""" + return _windows_.VarHVScrollHelper_GetVisibleBegin(*args, **kwargs) + + def GetVisibleEnd(*args, **kwargs): + """GetVisibleEnd(self) -> Position""" + return _windows_.VarHVScrollHelper_GetVisibleEnd(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(self, Position pos) -> bool""" + return _windows_.VarHVScrollHelper_IsVisible(*args, **kwargs) + +_windows_.VarHVScrollHelper_swigregister(VarHVScrollHelper) + +class VScrolledWindow(Panel,VarVScrollHelper): """Proxy of C++ VScrolledWindow class""" thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr @@ -1828,29 +2040,89 @@ class VScrolledWindow(Panel): """ return _windows_.VScrolledWindow_Create(*args, **kwargs) - def SetLineCount(*args, **kwargs): - """SetLineCount(self, size_t count)""" - return _windows_.VScrolledWindow_SetLineCount(*args, **kwargs) + def GetRowsHeight(*args, **kwargs): + """GetRowsHeight(self, size_t lineMin, size_t lineMax) -> int""" + return _windows_.VScrolledWindow_GetRowsHeight(*args, **kwargs) - def ScrollToLine(*args, **kwargs): - """ScrollToLine(self, size_t line) -> bool""" - return _windows_.VScrolledWindow_ScrollToLine(*args, **kwargs) + GetLinesHeight = wx._deprecated(GetRowsHeight, + "Use GetRowsHeight instead.") + def EstimateTotalHeight(*args, **kwargs): + """EstimateTotalHeight(self) -> int""" + return _windows_.VScrolledWindow_EstimateTotalHeight(*args, **kwargs) - def RefreshLine(*args, **kwargs): - """RefreshLine(self, size_t line)""" - return _windows_.VScrolledWindow_RefreshLine(*args, **kwargs) + def HitTest(*args, **kwargs): + """ + HitTest(self, Point pt) -> int - def RefreshLines(*args, **kwargs): - """RefreshLines(self, size_t from, size_t to)""" - return _windows_.VScrolledWindow_RefreshLines(*args, **kwargs) + Test where the given (in client coords) point lies + """ + return _windows_.VScrolledWindow_HitTest(*args, **kwargs) + + def GetFirstVisibleLine(self): + return self.GetVisibleRowsBegin() + GetFirstVisibleLine = wx._deprecated(GetFirstVisibleLine, "Use GetVisibleRowsBegin instead" ) + + def GetLastVisibleLine(self): + return self.GetVisibleRowsEnd() - 1 + GetLastVisibleLine = wx._deprecated(GetLastVisibleLine, "Use GetVisibleRowsEnd instead") + + def GetLineCount(self): + return self.GetRowCount() + GetLineCount = wx._deprecated(GetLineCount, "Use GetRowCount instead") + + def SetLineCount(self, count): + self.SetRowCount(count) + SetLineCount = wx._deprecated(SetLineCount, "Use SetRowCount instead") + + def RefreshLine(self, line): + self.RefreshRow(line) + RefreshLine = wx._deprecated(RefreshLine, "Use RefreshRow instead") + + def RefreshLines(self, frm, to): + self.RefreshRows(frm, to) + RefreshLines = wx._deprecated(RefreshLines, "Use RefreshRows instead") + + def ScrollToLine(self, line): + return self.ScrollToRow(line) + ScrollToLine = wx._deprecated(ScrollToLine, "Use RefreshRow instead") - def HitTestXY(*args, **kwargs): + def ScrollLines(self, lines): + return self.ScrollRows(lines) + ScrollLines = wx._deprecated(ScrollLines, "Use ScrollRows instead") + + def ScrollPages(self, pages): + return self.ScrollRowPages(pages) + ScrollPages = wx._deprecated(ScrollPages, "Use ScrollRowPages instead") + +_windows_.VScrolledWindow_swigregister(VScrolledWindow) + +def PreVScrolledWindow(*args, **kwargs): + """PreVScrolledWindow() -> VScrolledWindow""" + val = _windows_.new_PreVScrolledWindow(*args, **kwargs) + return val + +class HScrolledWindow(Panel,VarHScrollHelper): + """Proxy of C++ HScrolledWindow class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """ + __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, String name=PanelNameStr) -> HScrolledWindow """ - HitTestXY(self, int x, int y) -> int + _windows_.HScrolledWindow_swiginit(self,_windows_.new_HScrolledWindow(*args, **kwargs)) + self._setOORInfo(self);HScrolledWindow._setCallbackInfo(self, self, HScrolledWindow) - Test where the given (in client coords) point lies + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(self, PyObject self, PyObject _class)""" + return _windows_.HScrolledWindow__setCallbackInfo(*args, **kwargs) + + def Create(*args, **kwargs): """ - return _windows_.VScrolledWindow_HitTestXY(*args, **kwargs) + Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool + """ + return _windows_.HScrolledWindow_Create(*args, **kwargs) def HitTest(*args, **kwargs): """ @@ -1858,54 +2130,67 @@ class VScrolledWindow(Panel): Test where the given (in client coords) point lies """ - return _windows_.VScrolledWindow_HitTest(*args, **kwargs) + return _windows_.HScrolledWindow_HitTest(*args, **kwargs) - def RefreshAll(*args, **kwargs): - """RefreshAll(self)""" - return _windows_.VScrolledWindow_RefreshAll(*args, **kwargs) + def GetColumnsWidth(*args, **kwargs): + """GetColumnsWidth(self, size_t columnMin, size_t columnMax) -> int""" + return _windows_.HScrolledWindow_GetColumnsWidth(*args, **kwargs) - def GetLineCount(*args, **kwargs): - """GetLineCount(self) -> size_t""" - return _windows_.VScrolledWindow_GetLineCount(*args, **kwargs) + def EstimateTotalWidth(*args, **kwargs): + """EstimateTotalWidth(self) -> int""" + return _windows_.HScrolledWindow_EstimateTotalWidth(*args, **kwargs) - def GetVisibleBegin(*args, **kwargs): - """GetVisibleBegin(self) -> size_t""" - return _windows_.VScrolledWindow_GetVisibleBegin(*args, **kwargs) +_windows_.HScrolledWindow_swigregister(HScrolledWindow) - def GetVisibleEnd(*args, **kwargs): - """GetVisibleEnd(self) -> size_t""" - return _windows_.VScrolledWindow_GetVisibleEnd(*args, **kwargs) +def PreHScrolledWindow(*args, **kwargs): + """PreHScrolledWindow() -> HScrolledWindow""" + val = _windows_.new_PreHScrolledWindow(*args, **kwargs) + return val - def IsVisible(*args, **kwargs): - """IsVisible(self, size_t line) -> bool""" - return _windows_.VScrolledWindow_IsVisible(*args, **kwargs) - - def GetFirstVisibleLine(*args, **kwargs): - """GetFirstVisibleLine(self) -> size_t""" - return _windows_.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs) - - def GetLastVisibleLine(*args, **kwargs): - """GetLastVisibleLine(self) -> size_t""" - return _windows_.VScrolledWindow_GetLastVisibleLine(*args, **kwargs) - - def FindFirstFromBottom(*args, **kwargs): - """FindFirstFromBottom(self, size_t lineLast, bool fullyVisible=False) -> size_t""" - return _windows_.VScrolledWindow_FindFirstFromBottom(*args, **kwargs) - - def GetLinesHeight(*args, **kwargs): - """GetLinesHeight(self, size_t lineMin, size_t lineMax) -> int""" - return _windows_.VScrolledWindow_GetLinesHeight(*args, **kwargs) - - FirstVisibleLine = property(GetFirstVisibleLine,doc="See `GetFirstVisibleLine`") - LastVisibleLine = property(GetLastVisibleLine,doc="See `GetLastVisibleLine`") - LineCount = property(GetLineCount,SetLineCount,doc="See `GetLineCount` and `SetLineCount`") - VisibleBegin = property(GetVisibleBegin,doc="See `GetVisibleBegin`") - VisibleEnd = property(GetVisibleEnd,doc="See `GetVisibleEnd`") -_windows_.VScrolledWindow_swigregister(VScrolledWindow) +class HVScrolledWindow(Panel,VarHVScrollHelper): + """Proxy of C++ HVScrolledWindow class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """ + __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, String name=PanelNameStr) -> HVScrolledWindow + """ + _windows_.HVScrolledWindow_swiginit(self,_windows_.new_HVScrolledWindow(*args, **kwargs)) + self._setOORInfo(self);HVScrolledWindow._setCallbackInfo(self, self, HVScrolledWindow) -def PreVScrolledWindow(*args, **kwargs): - """PreVScrolledWindow() -> VScrolledWindow""" - val = _windows_.new_PreVScrolledWindow(*args, **kwargs) + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(self, PyObject self, PyObject _class)""" + return _windows_.HVScrolledWindow__setCallbackInfo(*args, **kwargs) + + def Create(*args, **kwargs): + """ + Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool + """ + return _windows_.HVScrolledWindow_Create(*args, **kwargs) + + def GetRowsHeight(*args, **kwargs): + """GetRowsHeight(self, size_t lineMin, size_t lineMax) -> int""" + return _windows_.HVScrolledWindow_GetRowsHeight(*args, **kwargs) + + def EstimateTotalHeight(*args, **kwargs): + """EstimateTotalHeight(self) -> int""" + return _windows_.HVScrolledWindow_EstimateTotalHeight(*args, **kwargs) + + def GetColumnsWidth(*args, **kwargs): + """GetColumnsWidth(self, size_t columnMin, size_t columnMax) -> int""" + return _windows_.HVScrolledWindow_GetColumnsWidth(*args, **kwargs) + + def EstimateTotalWidth(*args, **kwargs): + """EstimateTotalWidth(self) -> int""" + return _windows_.HVScrolledWindow_EstimateTotalWidth(*args, **kwargs) + +_windows_.HVScrolledWindow_swigregister(HVScrolledWindow) + +def PreHVScrolledWindow(*args, **kwargs): + """PreHVScrolledWindow() -> HVScrolledWindow""" + val = _windows_.new_PreHVScrolledWindow(*args, **kwargs) return val class VListBox(VScrolledWindow): diff --git a/wxPython/src/msw/_windows_wrap.cpp b/wxPython/src/msw/_windows_wrap.cpp index 21101e1a8a..4adc0b1db3 100644 --- a/wxPython/src/msw/_windows_wrap.cpp +++ b/wxPython/src/msw/_windows_wrap.cpp @@ -2564,77 +2564,84 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98] #define SWIGTYPE_p_wxPoint swig_types[99] #define SWIGTYPE_p_wxPopupWindow swig_types[100] -#define SWIGTYPE_p_wxPreviewCanvas swig_types[101] -#define SWIGTYPE_p_wxPreviewControlBar swig_types[102] -#define SWIGTYPE_p_wxPreviewFrame swig_types[103] -#define SWIGTYPE_p_wxPrintData swig_types[104] -#define SWIGTYPE_p_wxPrintDialog swig_types[105] -#define SWIGTYPE_p_wxPrintDialogData swig_types[106] -#define SWIGTYPE_p_wxPrintPreview swig_types[107] -#define SWIGTYPE_p_wxPrinter swig_types[108] -#define SWIGTYPE_p_wxProgressDialog swig_types[109] -#define SWIGTYPE_p_wxPyApp swig_types[110] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[111] -#define SWIGTYPE_p_wxPyEvent swig_types[112] -#define SWIGTYPE_p_wxPyHtmlListBox swig_types[113] -#define SWIGTYPE_p_wxPyImageHandler swig_types[114] -#define SWIGTYPE_p_wxPyPanel swig_types[115] -#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116] -#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117] -#define SWIGTYPE_p_wxPyPreviewFrame swig_types[118] -#define SWIGTYPE_p_wxPyPrintPreview swig_types[119] -#define SWIGTYPE_p_wxPyPrintout swig_types[120] -#define SWIGTYPE_p_wxPyScrolledWindow swig_types[121] -#define SWIGTYPE_p_wxPySizer swig_types[122] -#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123] -#define SWIGTYPE_p_wxPyVListBox swig_types[124] -#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125] -#define SWIGTYPE_p_wxPyValidator swig_types[126] -#define SWIGTYPE_p_wxPyWindow swig_types[127] -#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129] -#define SWIGTYPE_p_wxRect swig_types[130] -#define SWIGTYPE_p_wxRegion swig_types[131] -#define SWIGTYPE_p_wxSashEvent swig_types[132] -#define SWIGTYPE_p_wxSashLayoutWindow swig_types[133] -#define SWIGTYPE_p_wxSashWindow swig_types[134] -#define SWIGTYPE_p_wxScrollEvent swig_types[135] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[136] -#define SWIGTYPE_p_wxScrolledWindow swig_types[137] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[138] -#define SWIGTYPE_p_wxShowEvent swig_types[139] -#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140] -#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141] -#define SWIGTYPE_p_wxSize swig_types[142] -#define SWIGTYPE_p_wxSizeEvent swig_types[143] -#define SWIGTYPE_p_wxSizer swig_types[144] -#define SWIGTYPE_p_wxSizerItem swig_types[145] -#define SWIGTYPE_p_wxSplashScreen swig_types[146] -#define SWIGTYPE_p_wxSplashScreenWindow swig_types[147] -#define SWIGTYPE_p_wxSplitterEvent swig_types[148] -#define SWIGTYPE_p_wxSplitterWindow swig_types[149] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[150] -#define SWIGTYPE_p_wxStatusBar swig_types[151] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152] -#define SWIGTYPE_p_wxString swig_types[153] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154] -#define SWIGTYPE_p_wxTGAHandler swig_types[155] -#define SWIGTYPE_p_wxTIFFHandler swig_types[156] -#define SWIGTYPE_p_wxTaskBarIcon swig_types[157] -#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158] -#define SWIGTYPE_p_wxTextEntryDialog swig_types[159] -#define SWIGTYPE_p_wxTipWindow swig_types[160] -#define SWIGTYPE_p_wxToolBar swig_types[161] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[162] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[163] -#define SWIGTYPE_p_wxValidator swig_types[164] -#define SWIGTYPE_p_wxVisualAttributes swig_types[165] -#define SWIGTYPE_p_wxWindow swig_types[166] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[167] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168] -#define SWIGTYPE_p_wxXPMHandler swig_types[169] -static swig_type_info *swig_types[171]; -static swig_module_info swig_module = {swig_types, 170, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxPosition swig_types[101] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[102] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[103] +#define SWIGTYPE_p_wxPreviewFrame swig_types[104] +#define SWIGTYPE_p_wxPrintData swig_types[105] +#define SWIGTYPE_p_wxPrintDialog swig_types[106] +#define SWIGTYPE_p_wxPrintDialogData swig_types[107] +#define SWIGTYPE_p_wxPrintPreview swig_types[108] +#define SWIGTYPE_p_wxPrinter swig_types[109] +#define SWIGTYPE_p_wxProgressDialog swig_types[110] +#define SWIGTYPE_p_wxPyApp swig_types[111] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[112] +#define SWIGTYPE_p_wxPyEvent swig_types[113] +#define SWIGTYPE_p_wxPyHScrolledWindow swig_types[114] +#define SWIGTYPE_p_wxPyHVScrolledWindow swig_types[115] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[116] +#define SWIGTYPE_p_wxPyImageHandler swig_types[117] +#define SWIGTYPE_p_wxPyPanel swig_types[118] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[119] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[120] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[121] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[122] +#define SWIGTYPE_p_wxPyPrintout swig_types[123] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[124] +#define SWIGTYPE_p_wxPySizer swig_types[125] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[126] +#define SWIGTYPE_p_wxPyVListBox swig_types[127] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[128] +#define SWIGTYPE_p_wxPyValidator swig_types[129] +#define SWIGTYPE_p_wxPyWindow swig_types[130] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[131] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132] +#define SWIGTYPE_p_wxRect swig_types[133] +#define SWIGTYPE_p_wxRegion swig_types[134] +#define SWIGTYPE_p_wxSashEvent swig_types[135] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[136] +#define SWIGTYPE_p_wxSashWindow swig_types[137] +#define SWIGTYPE_p_wxScrollEvent swig_types[138] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[139] +#define SWIGTYPE_p_wxScrolledWindow swig_types[140] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[141] +#define SWIGTYPE_p_wxShowEvent swig_types[142] +#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[143] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[144] +#define SWIGTYPE_p_wxSize swig_types[145] +#define SWIGTYPE_p_wxSizeEvent swig_types[146] +#define SWIGTYPE_p_wxSizer swig_types[147] +#define SWIGTYPE_p_wxSizerItem swig_types[148] +#define SWIGTYPE_p_wxSplashScreen swig_types[149] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[150] +#define SWIGTYPE_p_wxSplitterEvent swig_types[151] +#define SWIGTYPE_p_wxSplitterWindow swig_types[152] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[153] +#define SWIGTYPE_p_wxStatusBar swig_types[154] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[155] +#define SWIGTYPE_p_wxString swig_types[156] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157] +#define SWIGTYPE_p_wxTGAHandler swig_types[158] +#define SWIGTYPE_p_wxTIFFHandler swig_types[159] +#define SWIGTYPE_p_wxTaskBarIcon swig_types[160] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[161] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[162] +#define SWIGTYPE_p_wxTipWindow swig_types[163] +#define SWIGTYPE_p_wxToolBar swig_types[164] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[165] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[166] +#define SWIGTYPE_p_wxValidator swig_types[167] +#define SWIGTYPE_p_wxVarHScrollHelper swig_types[168] +#define SWIGTYPE_p_wxVarHVScrollHelper swig_types[169] +#define SWIGTYPE_p_wxVarScrollHelperBase swig_types[170] +#define SWIGTYPE_p_wxVarVScrollHelper swig_types[171] +#define SWIGTYPE_p_wxVisualAttributes swig_types[172] +#define SWIGTYPE_p_wxWindow swig_types[173] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[174] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175] +#define SWIGTYPE_p_wxXPMHandler swig_types[176] +static swig_type_info *swig_types[178]; +static swig_module_info swig_module = {swig_types, 177, 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) @@ -2870,9 +2877,45 @@ SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,in } #include +#include -#include +SWIGINTERNINLINE PyObject* +SWIG_From_unsigned_SS_long (unsigned long value) +{ + return (value > LONG_MAX) ? + PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); +} + + +SWIGINTERNINLINE PyObject * +SWIG_From_size_t (size_t value) +{ + return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); +} + + +SWIGINTERN int +SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) +{ + long v = 0; + if (SWIG_AsVal_long(obj, &v) && v < 0) { + return SWIG_TypeError; + } + else if (val) + *val = (unsigned long)v; + return SWIG_OK; +} + + +SWIGINTERNINLINE int +SWIG_AsVal_size_t (PyObject * obj, size_t *val) +{ + unsigned long v; + int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); + if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); + return res; +} class wxPyVScrolledWindow : public wxVScrolledWindow @@ -2894,24 +2937,24 @@ public: // this function must be overridden in the derived class and it should // return the height of the given line in pixels - DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); - + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight); + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); // old name // this function doesn't have to be overridden but it may be useful to do // it if calculating the lines heights is a relatively expensive operation // as it gives the user code a possibility to calculate several of them at // once // - // OnGetLinesHint() is normally called just before OnGetLineHeight() but you + // OnGetLinesHint() is normally called just before OnGetRowHeight() but you // shouldn't rely on the latter being called for all lines in the interval - // specified here. It is also possible that OnGetLineHeight() will be + // specified here. It is also possible that OnGetRowHeight() will be // called for the lines outside of this interval, so this is really just a // hint, not a promise. // // finally note that lineMin is inclusive, while lineMax is exclusive, as // usual - DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); - + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint); + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); // old name // when the number of lines changes, we try to estimate the total height // of all lines which is a rather expensive operation in terms of lines @@ -2927,68 +2970,102 @@ public: // Also expose some other interesting protected methods - // find the index of the line we need to show at the top of the window such - // that the last (fully or partially) visible line is the given one - size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) - { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } - // get the total height of the lines between lineMin (inclusive) and // lineMax (exclusive) - wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const - { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } - - // update the thumb size shown by the scrollbar - void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); } + wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const + { return wxVScrolledWindow::GetRowsHeight(lineMin, lineMax); } - // remove the scrollbar completely because we don't need it - void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); } PYPRIVATE; }; IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); +IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowHeight); IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); +IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowsHeightHint); IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); + IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); -SWIGINTERN int -SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) +class wxPyHScrolledWindow : public wxHScrolledWindow { - long v = 0; - if (SWIG_AsVal_long(obj, &v) && v < 0) { - return SWIG_TypeError; - } - else if (val) - *val = (unsigned long)v; - return SWIG_OK; -} + DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow) +public: + wxPyHScrolledWindow() : wxHScrolledWindow() {} + wxPyHScrolledWindow(wxWindow *parent, + wxWindowID id = wxID_ANY, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxString& name = wxPyPanelNameStr) + : wxHScrolledWindow(parent, id, pos, size, style, name) + {} -SWIGINTERNINLINE int -SWIG_AsVal_size_t (PyObject * obj, size_t *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); - if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); - return res; -} + // Overridable virtuals + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth); + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint); + DEC_PYCALLBACK_COORD_const(EstimateTotalWidth); + wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const + { return wxHScrolledWindow::GetColumnsWidth(columnMin, columnMax); } -SWIGINTERNINLINE PyObject* -SWIG_From_unsigned_SS_long (unsigned long value) + PYPRIVATE; +}; + +IMPLEMENT_ABSTRACT_CLASS(wxPyHScrolledWindow, wxHScrolledWindow); + +IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnWidth); +IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnsWidthHint); +IMP_PYCALLBACK_COORD_const (wxPyHScrolledWindow, wxHScrolledWindow, EstimateTotalWidth); + + + +class wxPyHVScrolledWindow : public wxHVScrolledWindow { - return (value > LONG_MAX) ? - PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); -} + DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow) +public: + wxPyHVScrolledWindow() : wxHVScrolledWindow() {} + + wxPyHVScrolledWindow(wxWindow *parent, + wxWindowID id = wxID_ANY, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxString& name = wxPyPanelNameStr) + : wxHVScrolledWindow(parent, id, pos, size, style, name) + {} + // Overridable virtuals + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight); + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint); + DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); + + DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth); + DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint); + DEC_PYCALLBACK_COORD_const(EstimateTotalWidth); + + wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const + { return wxHVScrolledWindow::GetRowsHeight(lineMin, lineMax); } + + wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const + { return wxHVScrolledWindow::GetColumnsWidth(columnMin, columnMax); } + + PYPRIVATE; +}; + +IMPLEMENT_ABSTRACT_CLASS(wxPyHVScrolledWindow, wxHVScrolledWindow); + +IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowHeight); +IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowsHeightHint); +IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalHeight); + +IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnWidth); +IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnsWidthHint); +IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalWidth); -SWIGINTERNINLINE PyObject * -SWIG_From_size_t (size_t value) -{ - return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); -} #include @@ -13583,142 +13660,102 @@ SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxWindow *arg1 = (wxWindow *) 0 ; - int arg2 = (int) wxID_ANY ; - wxPoint const &arg3_defvalue = wxDefaultPosition ; - wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; - wxSize const &arg4_defvalue = wxDefaultSize ; - wxSize *arg4 = (wxSize *) &arg4_defvalue ; - long arg5 = (long) 0 ; - wxString const &arg6_defvalue = wxPyPanelNameStr ; - wxString *arg6 = (wxString *) &arg6_defvalue ; - wxPyVScrolledWindow *result = 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + bool arg2 = (bool) true ; void *argp1 = 0 ; int res1 = 0 ; - int val2 ; + bool val2 ; int ecode2 = 0 ; - wxPoint temp3 ; - wxSize temp4 ; - long val5 ; - int ecode5 = 0 ; - bool temp6 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; char * kwnames[] = { - (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + (char *) "self",(char *) "scrolling", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); } - arg1 = reinterpret_cast< wxWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); if (obj1) { - ecode2 = SWIG_AsVal_int(obj1, &val2); + ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - } - if (obj2) { - { - arg3 = &temp3; - if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; - } - } - if (obj3) { - { - arg4 = &temp4; - if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; - } - } - if (obj4) { - ecode5 = SWIG_AsVal_long(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'"); } - arg5 = static_cast< long >(val5); - } - if (obj5) { - { - arg6 = wxString_in_helper(obj5); - if (arg6 == NULL) SWIG_fail; - temp6 = true; - } + arg2 = static_cast< bool >(val2); } { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + (arg1)->EnablePhysicalScrolling(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 ); - { - if (temp6) - delete arg6; - } + resultobj = SWIG_Py_Void(); return resultobj; fail: - { - if (temp6) - delete arg6; - } return NULL; } -SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *result = 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int arg2 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "coord", NULL + }; - if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); + } + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); + result = (int)((wxVarScrollHelperBase const *)arg1)->HitTest(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "self",(char *) "_class", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - arg2 = obj1; - arg3 = obj2; + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->_setCallbackInfo(arg2,arg3); + (arg1)->RefreshAll(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -13729,149 +13766,65 @@ fail: } -SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - wxWindow *arg2 = (wxWindow *) 0 ; - int arg3 = (int) wxID_ANY ; - wxPoint const &arg4_defvalue = wxDefaultPosition ; - wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; - wxSize const &arg5_defvalue = wxDefaultSize ; - wxSize *arg5 = (wxSize *) &arg5_defvalue ; - long arg6 = (long) 0 ; - wxString const &arg7_defvalue = wxPyPanelNameStr ; - wxString *arg7 = (wxString *) &arg7_defvalue ; - bool result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + size_t result; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - wxPoint temp4 ; - wxSize temp5 ; - long val6 ; - int ecode6 = 0 ; - bool temp7 = false ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); - } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); - } - arg2 = reinterpret_cast< wxWindow * >(argp2); - if (obj2) { - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - } - if (obj3) { - { - arg4 = &temp4; - if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; - } - } - if (obj4) { - { - arg5 = &temp5; - if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; - } - } - if (obj5) { - ecode6 = SWIG_AsVal_long(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); - } - arg6 = static_cast< long >(val6); - } - if (obj6) { - { - arg7 = wxString_in_helper(obj6); - if (arg7 == NULL) SWIG_fail; - temp7 = true; - } + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); + result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleBegin(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } - { - if (temp7) - delete arg7; - } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: - { - if (temp7) - delete arg7; - } return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + size_t result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "count", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetLineCount(arg2); + result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleEnd(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; size_t arg2 ; bool result; void *argp1 = 0 ; @@ -13881,23 +13834,23 @@ SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "line", NULL + (char *) "self",(char *) "unit", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->ScrollToLine(arg2); + result = (bool)((wxVarScrollHelperBase const *)arg1)->IsVisible(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -13910,81 +13863,101 @@ fail: } -SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int arg2 ; + int result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; + int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "line", NULL + (char *) "self",(char *) "coord", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'"); } - arg2 = static_cast< size_t >(val2); + arg2 = static_cast< int >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RefreshLine(arg2); + result = (int)((wxVarScrollHelperBase const *)arg1)->CalcScrolledPosition(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; - size_t arg3 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int arg2 ; + int result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; + int val2 ; int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "from",(char *) "to", NULL + (char *) "self",(char *) "coord", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'"); } - arg3 = static_cast< size_t >(val3); + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxVarScrollHelperBase const *)arg1)->CalcUnscrolledPosition(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); + } + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RefreshLines(arg2,arg3); + (arg1)->UpdateScrollbar(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -13995,387 +13968,2520 @@ fail: } -SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - int arg2 ; - int arg3 ; - int result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "x",(char *) "y", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); + (arg1)->RemoveScrollbar(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_int(static_cast< int >(result)); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - wxPoint *arg2 = 0 ; - int result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - wxPoint temp2 ; + void *argp2 = 0 ; + int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "pt", NULL + (char *) "self",(char *) "target", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetTargetWindow(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + wxWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); + result = (wxWindow *)((wxVarScrollHelperBase const *)arg1)->GetTargetWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_int(static_cast< int >(result)); + { + resultobj = wxPyMake_wxObject(result, 0); + } return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RefreshAll(); + result = (int)((wxVarScrollHelperBase const *)arg1)->GetOrientationTargetSize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + int result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); + result = (int)((wxVarScrollHelperBase const *)arg1)->GetNonOrientationTargetSize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ; + wxOrientation result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxOrientation)((wxVarScrollHelperBase const *)arg1)->GetOrientation(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VarScrollHelperBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_SetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "rowCount", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetRowCount(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollToRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "row", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollToRow(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "rows", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollRows(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRowPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pages", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollRowPages(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "row", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshRow(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "from",(char *) "to", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshRows(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarVScrollHelper const *)arg1)->GetRowCount(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsBegin(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsEnd(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarVScrollHelper_IsRowVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "row", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxVarVScrollHelper const *)arg1)->IsRowVisible(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VarVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_SetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "columnCount", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetColumnCount(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollToColumn(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "columns", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollColumns(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumnPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pages", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollColumnPages(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshColumn(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "from",(char *) "to", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshColumns(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarHScrollHelper const *)arg1)->GetColumnCount(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsBegin(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsEnd(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHScrollHelper_IsColumnVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "column", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxVarHScrollHelper const *)arg1)->IsColumnVisible(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VarHScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + size_t arg2 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetRowColumnCount(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + bool arg2 = (bool) true ; + bool arg3 = (bool) true ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + bool val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + } + if (obj2) { + ecode3 = SWIG_AsVal_bool(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'"); + } + arg3 = static_cast< bool >(val3); + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->EnablePhysicalScrolling(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition *arg2 = 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollToRowColumn((wxPosition const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshRowColumn((wxPosition const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition *arg2 = 0 ; + wxPosition *arg3 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "from",(char *) "to", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'"); + } + arg3 = reinterpret_cast< wxPosition * >(argp3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RefreshRowsColumns((wxPosition const &)*arg2,(wxPosition const &)*arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPoint *arg2 = 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxVarHVScrollHelper const *)arg1)->HitTest((wxPoint const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollLayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ScrollLayout(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxSize result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxVarHVScrollHelper const *)arg1)->GetRowColumnCount(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleBegin(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleEnd(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VarHVScrollHelper_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ; + wxPosition *arg2 = 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'"); + } + arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'"); + } + arg2 = reinterpret_cast< wxPosition * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxVarHVScrollHelper const *)arg1)->IsVisible((wxPosition const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VarHVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) wxID_ANY ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + long arg5 = (long) 0 ; + wxString const &arg6_defvalue = wxPyPanelNameStr ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxPyVScrolledWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + wxPoint temp3 ; + wxSize temp4 ; + long val5 ; + int ecode5 = 0 ; + bool temp6 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char * kwnames[] = { + (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + if (obj2) { + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + ecode5 = SWIG_AsVal_long(obj4, &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'"); + } + arg5 = static_cast< long >(val5); + } + if (obj5) { + { + arg6 = wxString_in_helper(obj5); + if (arg6 == NULL) SWIG_fail; + temp6 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 ); + { + if (temp6) + delete arg6; + } + return resultobj; +fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "self",(char *) "_class", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg2 = obj1; + arg3 = obj2; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->_setCallbackInfo(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) wxID_ANY ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) 0 ; + wxString const &arg7_defvalue = wxPyPanelNameStr ; + wxString *arg7 = (wxString *) &arg7_defvalue ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int val3 ; + int ecode3 = 0 ; + wxPoint temp4 ; + wxSize temp5 ; + long val6 ; + int ecode6 = 0 ; + bool temp7 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + ecode6 = SWIG_AsVal_long(obj5, &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); + } + arg6 = static_cast< long >(val6); + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp7) + delete arg7; + } + return resultobj; +fail: + { + if (temp7) + delete arg7; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + size_t arg2 ; + size_t arg3 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyVScrolledWindow const *)arg1)->EstimateTotalHeight(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxPoint *arg2 = 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pt", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_new_HScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) wxID_ANY ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + long arg5 = (long) 0 ; + wxString const &arg6_defvalue = wxPyPanelNameStr ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxPyHScrolledWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + wxPoint temp3 ; + wxSize temp4 ; + long val5 ; + int ecode5 = 0 ; + bool temp6 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char * kwnames[] = { + (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + if (obj2) { + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + ecode5 = SWIG_AsVal_long(obj4, &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'"); + } + arg5 = static_cast< long >(val5); + } + if (obj5) { + { + arg6 = wxString_in_helper(obj5); + if (arg6 == NULL) SWIG_fail; + temp6 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_NEW | 0 ); + { + if (temp6) + delete arg6; + } + return resultobj; +fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_PreHScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args,"new_PreHScrolledWindow",0,0,0)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "self",(char *) "_class", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + arg2 = obj1; + arg3 = obj2; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->_setCallbackInfo(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) wxID_ANY ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) 0 ; + wxString const &arg7_defvalue = wxPyPanelNameStr ; + wxString *arg7 = (wxString *) &arg7_defvalue ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int val3 ; + int ecode3 = 0 ; + wxPoint temp4 ; + wxSize temp5 ; + long val6 ; + int ecode6 = 0 ; + bool temp7 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + ecode6 = SWIG_AsVal_long(obj5, &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); + } + arg6 = static_cast< long >(val6); + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp7) + delete arg7; + } + return resultobj; +fail: + { + if (temp7) + delete arg7; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + wxPoint *arg2 = 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pt", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyHScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + size_t arg2 ; + size_t arg3 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyHScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_HScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'"); + } + arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPyHScrolledWindow const *)arg1)->EstimateTotalWidth(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *HScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *HScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_new_HVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) wxID_ANY ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + long arg5 = (long) 0 ; + wxString const &arg6_defvalue = wxPyPanelNameStr ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxPyHVScrolledWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + wxPoint temp3 ; + wxSize temp4 ; + long val5 ; + int ecode5 = 0 ; + bool temp6 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char * kwnames[] = { + (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + if (obj2) { + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + ecode5 = SWIG_AsVal_long(obj4, &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'"); + } + arg5 = static_cast< long >(val5); + } + if (obj5) { + { + arg6 = wxString_in_helper(obj5); + if (arg6 == NULL) SWIG_fail; + temp6 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_NEW | 0 ); + { + if (temp6) + delete arg6; + } + return resultobj; +fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_PreHVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyHVScrolledWindow *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail; { + if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin(); + result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "self",(char *) "_class", NULL + }; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); + arg2 = obj1; + arg3 = obj2; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd(); + (arg1)->_setCallbackInfo(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) wxID_ANY ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) 0 ; + wxString const &arg7_defvalue = wxPyPanelNameStr ; + wxString *arg7 = (wxString *) &arg7_defvalue ; bool result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int val3 ; + int ecode3 = 0 ; + wxPoint temp4 ; + wxSize temp5 ; + long val6 ; + int ecode6 = 0 ; + bool temp7 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "line", NULL + (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'"); + } + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + ecode6 = SWIG_AsVal_long(obj5, &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); + } + arg6 = static_cast< long >(val6); + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } + { + if (temp7) + delete arg7; + } return resultobj; fail: + { + if (temp7) + delete arg7; + } return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; + size_t arg2 ; + size_t arg3 ; + int result; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL + }; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); + result = (int)((wxPyHVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t result; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; + int result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); + result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalHeight(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; size_t arg2 ; - bool arg3 = (bool) false ; - size_t result; + size_t arg3 ; + int result; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; int ecode2 = 0 ; - bool val3 ; + size_t val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL + (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); - if (obj2) { - ecode3 = SWIG_AsVal_bool(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'"); - } - arg3 = static_cast< bool >(val3); - } + ecode3 = SWIG_AsVal_size_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3); + result = (int)((wxPyHVScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - size_t arg2 ; - size_t arg3 ; + wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ; int result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'"); } - arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); + arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3); + result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalWidth(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -14386,14 +16492,14 @@ fail: } -SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *HVScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj)); + SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } -SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *HVScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { return SWIG_Python_InitShadowInstance(args); } @@ -32132,27 +34238,84 @@ static PyMethodDef SwigMethods[] = { { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL}, { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL}, { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL}, + { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction) _wrap_VarScrollHelperBase_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_HitTest", (PyCFunction) _wrap_VarScrollHelperBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction)_wrap_VarScrollHelperBase_RefreshAll, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleBegin, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleEnd, METH_O, NULL}, + { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction) _wrap_VarScrollHelperBase_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_UpdateScrollbar, METH_O, NULL}, + { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_RemoveScrollbar, METH_O, NULL}, + { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction) _wrap_VarScrollHelperBase_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction)_wrap_VarScrollHelperBase_GetTargetWindow, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientationTargetSize, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize, METH_O, NULL}, + { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientation, METH_O, NULL}, + { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister, METH_VARARGS, NULL}, + { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction) _wrap_VarVScrollHelper_SetRowCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction) _wrap_VarVScrollHelper_ScrollToRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction) _wrap_VarVScrollHelper_ScrollRows, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction) _wrap_VarVScrollHelper_ScrollRowPages, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction) _wrap_VarVScrollHelper_RefreshRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction) _wrap_VarVScrollHelper_RefreshRows, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction)_wrap_VarVScrollHelper_GetRowCount, METH_O, NULL}, + { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsBegin, METH_O, NULL}, + { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsEnd, METH_O, NULL}, + { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction) _wrap_VarVScrollHelper_IsRowVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister, METH_VARARGS, NULL}, + { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction) _wrap_VarHScrollHelper_SetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction) _wrap_VarHScrollHelper_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumns, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumnPages, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumns, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction)_wrap_VarHScrollHelper_GetColumnCount, METH_O, NULL}, + { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsBegin, METH_O, NULL}, + { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsEnd, METH_O, NULL}, + { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction) _wrap_VarHScrollHelper_IsColumnVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister, METH_VARARGS, NULL}, + { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction) _wrap_VarHVScrollHelper_SetRowColumnCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction) _wrap_VarHVScrollHelper_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_ScrollToRowColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowColumn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowsColumns, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_HitTest", (PyCFunction) _wrap_VarHVScrollHelper_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction)_wrap_VarHVScrollHelper_ScrollLayout, METH_O, NULL}, + { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction)_wrap_VarHVScrollHelper_GetRowColumnCount, METH_O, NULL}, + { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleBegin, METH_O, NULL}, + { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleEnd, METH_O, NULL}, + { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction) _wrap_VarHVScrollHelper_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister, METH_VARARGS, NULL}, { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL}, { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_VScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_VScrolledWindow_EstimateTotalHeight, METH_O, NULL}, { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL}, - { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL}, - { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL}, - { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL}, - { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL}, - { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL}, - { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL}, { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL}, + { (char *)"new_HScrolledWindow", (PyCFunction) _wrap_new_HScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreHScrolledWindow", (PyCFunction)_wrap_new_PreHScrolledWindow, METH_NOARGS, NULL}, + { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HScrolledWindow_Create", (PyCFunction) _wrap_HScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HScrolledWindow_HitTest", (PyCFunction) _wrap_HScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HScrolledWindow_EstimateTotalWidth, METH_O, NULL}, + { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister, METH_VARARGS, NULL}, + { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit, METH_VARARGS, NULL}, + { (char *)"new_HVScrolledWindow", (PyCFunction) _wrap_new_HVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreHVScrolledWindow", (PyCFunction)_wrap_new_PreHVScrolledWindow, METH_NOARGS, NULL}, + { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HVScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HVScrolledWindow_Create", (PyCFunction) _wrap_HVScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_HVScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalHeight, METH_O, NULL}, + { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HVScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalWidth, METH_O, NULL}, + { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister, METH_VARARGS, NULL}, + { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit, METH_VARARGS, NULL}, { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL}, { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -32796,6 +34959,36 @@ static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) { return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); } +static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x)); +} +static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +} +static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); +} +static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x) { + return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); +} +static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x) { + return (void *)((wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x) { + return (void *)((wxVarHScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x) { + return (void *)((wxVarHScrollHelper *) ((wxVarHVScrollHelper *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x) { + return (void *)((wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x)); +} static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); } @@ -32820,14 +35013,14 @@ static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) ((wxMenu *) x)); } -static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); +static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); } static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); } -static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); +static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); } static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); @@ -32853,6 +35046,12 @@ static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); } +static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x)); +} static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); } @@ -33315,6 +35514,12 @@ static void *_p_wxTipWindowTo_p_wxObject(void *x) { static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); } +static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x)); +} static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); } @@ -33408,15 +35613,6 @@ static void *_p_wxPyValidatorTo_p_wxObject(void *x) { static void *_p_wxValidatorTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); } -static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { - return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); -} -static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { - return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); -} -static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { - return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); -} static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); } @@ -33501,12 +35697,6 @@ static void *_p_wxPyPanelTo_p_wxWindow(void *x) { static void *_p_wxMenuBarTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxMenuBar *) x)); } -static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); -} -static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); -} static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); } @@ -33528,12 +35718,24 @@ static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { static void *_p_wxFileDialogTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); } +static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); +} +static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); +} static void *_p_wxPanelTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxPanel *) x)); } static void *_p_wxStatusBarTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxStatusBar *) x)); } +static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *) ((wxPyHScrolledWindow *) x)); +} static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); } @@ -33624,6 +35826,15 @@ static void *_p_wxDialogTo_p_wxWindow(void *x) { static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); } +static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { + return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +} +static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { + return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); +} +static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { + return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); +} static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); } @@ -33672,6 +35883,12 @@ static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); } +static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) ((wxPyHScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) ((wxPyHVScrolledWindow *) x)); +} static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); } @@ -33696,6 +35913,33 @@ static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); } +static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x)); +} +static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x)); +} +static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x)); +} +static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) ((wxVarVScrollHelper *) x)); +} +static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) ((wxVarHScrollHelper *) x)); +} +static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x)); +} +static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +} +static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); +} +static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) { + return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); +} static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); } @@ -33863,6 +36107,7 @@ static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSi static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxPosition = {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0}; @@ -33872,6 +36117,8 @@ static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wx static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxPyHScrolledWindow = {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxPyHVScrolledWindow = {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0}; @@ -33909,6 +36156,10 @@ static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *" static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxVarHScrollHelper = {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxVarHVScrollHelper = {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxVarScrollHelperBase = {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxVarVScrollHelper = {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; @@ -34014,6 +36265,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxPasswordEntryDialog, &_swigt__p_wxPoint, &_swigt__p_wxPopupWindow, + &_swigt__p_wxPosition, &_swigt__p_wxPreviewCanvas, &_swigt__p_wxPreviewControlBar, &_swigt__p_wxPreviewFrame, @@ -34026,6 +36278,8 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxPyApp, &_swigt__p_wxPyCommandEvent, &_swigt__p_wxPyEvent, + &_swigt__p_wxPyHScrolledWindow, + &_swigt__p_wxPyHVScrolledWindow, &_swigt__p_wxPyHtmlListBox, &_swigt__p_wxPyImageHandler, &_swigt__p_wxPyPanel, @@ -34078,6 +36332,10 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxTopLevelWindow, &_swigt__p_wxUpdateUIEvent, &_swigt__p_wxValidator, + &_swigt__p_wxVarHScrollHelper, + &_swigt__p_wxVarHVScrollHelper, + &_swigt__p_wxVarScrollHelperBase, + &_swigt__p_wxVarVScrollHelper, &_swigt__p_wxVisualAttributes, &_swigt__p_wxWindow, &_swigt__p_wxWindowCreateEvent, @@ -34145,7 +36403,7 @@ static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 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_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; @@ -34199,14 +36457,15 @@ static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_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_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_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_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_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_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_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_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_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_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_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_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_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_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPosition[] = { {&_swigt__p_wxPosition, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPreviewControlBar[] = { {&_swigt__p_wxPreviewControlBar, 0, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPreviewFrame[] = { {&_swigt__p_wxPreviewFrame, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0},{0, 0, 0, 0}}; @@ -34216,6 +36475,8 @@ static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDial static swig_cast_info _swigc__p_wxPrintPreview[] = { {&_swigt__p_wxPrintPreview, 0, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHScrolledWindow[] = { {&_swigt__p_wxPyHScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHVScrolledWindow[] = { {&_swigt__p_wxPyHVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}}; @@ -34253,8 +36514,12 @@ static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVarHScrollHelper[] = { {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxVarHScrollHelper, 0, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVarHVScrollHelper[] = { {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVarScrollHelperBase[] = { {&_swigt__p_wxVarScrollHelperBase, 0, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarVScrollHelper, _p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHScrollHelper, _p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVarVScrollHelper[] = { {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarVScrollHelper, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info *swig_cast_initial[] = { _swigc__p_bool, @@ -34358,6 +36623,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxPasswordEntryDialog, _swigc__p_wxPoint, _swigc__p_wxPopupWindow, + _swigc__p_wxPosition, _swigc__p_wxPreviewCanvas, _swigc__p_wxPreviewControlBar, _swigc__p_wxPreviewFrame, @@ -34370,6 +36636,8 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxPyApp, _swigc__p_wxPyCommandEvent, _swigc__p_wxPyEvent, + _swigc__p_wxPyHScrolledWindow, + _swigc__p_wxPyHVScrolledWindow, _swigc__p_wxPyHtmlListBox, _swigc__p_wxPyImageHandler, _swigc__p_wxPyPanel, @@ -34422,6 +36690,10 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxTopLevelWindow, _swigc__p_wxUpdateUIEvent, _swigc__p_wxValidator, + _swigc__p_wxVarHScrollHelper, + _swigc__p_wxVarHVScrollHelper, + _swigc__p_wxVarScrollHelperBase, + _swigc__p_wxVarVScrollHelper, _swigc__p_wxVisualAttributes, _swigc__p_wxWindow, _swigc__p_wxWindowCreateEvent, diff --git a/wxPython/src/msw/wizard.py b/wxPython/src/msw/wizard.py index e9f8e55957..39413b2d97 100644 --- a/wxPython/src/msw/wizard.py +++ b/wxPython/src/msw/wizard.py @@ -100,7 +100,7 @@ class WizardPage(_windows.Panel): def __init__(self): raise AttributeError, "No constructor defined" __repr__ = _swig_repr def Create(*args, **kwargs): - """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" + """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap) -> bool""" return _wizard.WizardPage_Create(*args, **kwargs) def GetPrev(*args, **kwargs): @@ -125,12 +125,12 @@ class PyWizardPage(WizardPage): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args, **kwargs): - """__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage""" + """__init__(self, Wizard parent, Bitmap bitmap=wxNullBitmap) -> PyWizardPage""" _wizard.PyWizardPage_swiginit(self,_wizard.new_PyWizardPage(*args, **kwargs)) self._setOORInfo(self);PyWizardPage._setCallbackInfo(self, self, PyWizardPage) def Create(*args, **kwargs): - """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" + """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap) -> bool""" return _wizard.PyWizardPage_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -300,7 +300,7 @@ class WizardPageSimple(WizardPage): def __init__(self, *args, **kwargs): """ __init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None, - Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple + Bitmap bitmap=wxNullBitmap) -> WizardPageSimple """ _wizard.WizardPageSimple_swiginit(self,_wizard.new_WizardPageSimple(*args, **kwargs)) self._setOORInfo(self) @@ -308,7 +308,7 @@ class WizardPageSimple(WizardPage): def Create(*args, **kwargs): """ Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None, - Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool + Bitmap bitmap=wxNullBitmap) -> bool """ return _wizard.WizardPageSimple_Create(*args, **kwargs) diff --git a/wxPython/src/msw/wizard_wrap.cpp b/wxPython/src/msw/wizard_wrap.cpp index 2af5d83a28..663c22ca2b 100644 --- a/wxPython/src/msw/wizard_wrap.cpp +++ b/wxPython/src/msw/wizard_wrap.cpp @@ -2477,155 +2477,153 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxBoxSizer swig_types[11] #define SWIGTYPE_p_wxCURHandler swig_types[12] #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[13] -#define SWIGTYPE_p_wxChar swig_types[14] -#define SWIGTYPE_p_wxChildFocusEvent swig_types[15] -#define SWIGTYPE_p_wxClipboardTextEvent swig_types[16] -#define SWIGTYPE_p_wxCloseEvent swig_types[17] -#define SWIGTYPE_p_wxColourData swig_types[18] -#define SWIGTYPE_p_wxColourDialog swig_types[19] -#define SWIGTYPE_p_wxCommandEvent swig_types[20] -#define SWIGTYPE_p_wxContextMenuEvent swig_types[21] -#define SWIGTYPE_p_wxControl swig_types[22] -#define SWIGTYPE_p_wxControlWithItems swig_types[23] -#define SWIGTYPE_p_wxDateEvent swig_types[24] -#define SWIGTYPE_p_wxDialog swig_types[25] -#define SWIGTYPE_p_wxDirDialog swig_types[26] -#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[27] -#define SWIGTYPE_p_wxDropFilesEvent swig_types[28] -#define SWIGTYPE_p_wxDuplexMode swig_types[29] -#define SWIGTYPE_p_wxEraseEvent swig_types[30] -#define SWIGTYPE_p_wxEvent swig_types[31] -#define SWIGTYPE_p_wxEventBlocker swig_types[32] -#define SWIGTYPE_p_wxEvtHandler swig_types[33] -#define SWIGTYPE_p_wxFSFile swig_types[34] -#define SWIGTYPE_p_wxFileDialog swig_types[35] -#define SWIGTYPE_p_wxFileSystem swig_types[36] -#define SWIGTYPE_p_wxFindDialogEvent swig_types[37] -#define SWIGTYPE_p_wxFindReplaceData swig_types[38] -#define SWIGTYPE_p_wxFindReplaceDialog swig_types[39] -#define SWIGTYPE_p_wxFlexGridSizer swig_types[40] -#define SWIGTYPE_p_wxFocusEvent swig_types[41] -#define SWIGTYPE_p_wxFontData swig_types[42] -#define SWIGTYPE_p_wxFontDialog swig_types[43] -#define SWIGTYPE_p_wxFrame swig_types[44] -#define SWIGTYPE_p_wxGBSizerItem swig_types[45] -#define SWIGTYPE_p_wxGIFHandler swig_types[46] -#define SWIGTYPE_p_wxGridBagSizer swig_types[47] -#define SWIGTYPE_p_wxGridSizer swig_types[48] -#define SWIGTYPE_p_wxICOHandler swig_types[49] -#define SWIGTYPE_p_wxIconizeEvent swig_types[50] -#define SWIGTYPE_p_wxIdleEvent swig_types[51] -#define SWIGTYPE_p_wxImage swig_types[52] -#define SWIGTYPE_p_wxImageHandler swig_types[53] -#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[54] -#define SWIGTYPE_p_wxInitDialogEvent swig_types[55] -#define SWIGTYPE_p_wxJPEGHandler swig_types[56] -#define SWIGTYPE_p_wxKeyEvent swig_types[57] -#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[58] -#define SWIGTYPE_p_wxLayoutConstraints swig_types[59] -#define SWIGTYPE_p_wxMDIChildFrame swig_types[60] -#define SWIGTYPE_p_wxMDIClientWindow swig_types[61] -#define SWIGTYPE_p_wxMDIParentFrame swig_types[62] -#define SWIGTYPE_p_wxMaximizeEvent swig_types[63] -#define SWIGTYPE_p_wxMenu swig_types[64] -#define SWIGTYPE_p_wxMenuBar swig_types[65] -#define SWIGTYPE_p_wxMenuEvent swig_types[66] -#define SWIGTYPE_p_wxMenuItem swig_types[67] -#define SWIGTYPE_p_wxMessageDialog swig_types[68] -#define SWIGTYPE_p_wxMiniFrame swig_types[69] -#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[70] -#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[71] -#define SWIGTYPE_p_wxMouseEvent swig_types[72] -#define SWIGTYPE_p_wxMoveEvent swig_types[73] -#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[74] -#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[75] -#define SWIGTYPE_p_wxNcPaintEvent swig_types[76] -#define SWIGTYPE_p_wxNotifyEvent swig_types[77] -#define SWIGTYPE_p_wxNumberEntryDialog swig_types[78] -#define SWIGTYPE_p_wxObject swig_types[79] -#define SWIGTYPE_p_wxPCXHandler swig_types[80] -#define SWIGTYPE_p_wxPNGHandler swig_types[81] -#define SWIGTYPE_p_wxPNMHandler swig_types[82] -#define SWIGTYPE_p_wxPageSetupDialog swig_types[83] -#define SWIGTYPE_p_wxPageSetupDialogData swig_types[84] -#define SWIGTYPE_p_wxPaintEvent swig_types[85] -#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[86] -#define SWIGTYPE_p_wxPanel swig_types[87] -#define SWIGTYPE_p_wxPaperSize swig_types[88] -#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[89] -#define SWIGTYPE_p_wxPopupWindow swig_types[90] -#define SWIGTYPE_p_wxPreviewCanvas swig_types[91] -#define SWIGTYPE_p_wxPreviewControlBar swig_types[92] -#define SWIGTYPE_p_wxPreviewFrame swig_types[93] -#define SWIGTYPE_p_wxPrintData swig_types[94] -#define SWIGTYPE_p_wxPrintDialog swig_types[95] -#define SWIGTYPE_p_wxPrintDialogData swig_types[96] -#define SWIGTYPE_p_wxPrintPreview swig_types[97] -#define SWIGTYPE_p_wxPrinter swig_types[98] -#define SWIGTYPE_p_wxProgressDialog swig_types[99] -#define SWIGTYPE_p_wxPyApp swig_types[100] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[101] -#define SWIGTYPE_p_wxPyEvent swig_types[102] -#define SWIGTYPE_p_wxPyHtmlListBox swig_types[103] -#define SWIGTYPE_p_wxPyImageHandler swig_types[104] -#define SWIGTYPE_p_wxPyPanel swig_types[105] -#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[106] -#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[107] -#define SWIGTYPE_p_wxPyPreviewFrame swig_types[108] -#define SWIGTYPE_p_wxPyPrintPreview swig_types[109] -#define SWIGTYPE_p_wxPyPrintout swig_types[110] -#define SWIGTYPE_p_wxPyScrolledWindow swig_types[111] -#define SWIGTYPE_p_wxPySizer swig_types[112] -#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[113] -#define SWIGTYPE_p_wxPyVListBox swig_types[114] -#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[115] -#define SWIGTYPE_p_wxPyValidator swig_types[116] -#define SWIGTYPE_p_wxPyWindow swig_types[117] -#define SWIGTYPE_p_wxPyWizardPage swig_types[118] -#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[119] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[120] -#define SWIGTYPE_p_wxSashEvent swig_types[121] -#define SWIGTYPE_p_wxSashLayoutWindow swig_types[122] -#define SWIGTYPE_p_wxSashWindow swig_types[123] -#define SWIGTYPE_p_wxScrollEvent swig_types[124] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[125] -#define SWIGTYPE_p_wxScrolledWindow swig_types[126] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[127] -#define SWIGTYPE_p_wxShowEvent swig_types[128] -#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[129] -#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[130] -#define SWIGTYPE_p_wxSize swig_types[131] -#define SWIGTYPE_p_wxSizeEvent swig_types[132] -#define SWIGTYPE_p_wxSizer swig_types[133] -#define SWIGTYPE_p_wxSizerItem swig_types[134] -#define SWIGTYPE_p_wxSplashScreen swig_types[135] -#define SWIGTYPE_p_wxSplashScreenWindow swig_types[136] -#define SWIGTYPE_p_wxSplitterEvent swig_types[137] -#define SWIGTYPE_p_wxSplitterWindow swig_types[138] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[139] -#define SWIGTYPE_p_wxStatusBar swig_types[140] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[141] -#define SWIGTYPE_p_wxString swig_types[142] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[143] -#define SWIGTYPE_p_wxTGAHandler swig_types[144] -#define SWIGTYPE_p_wxTIFFHandler swig_types[145] -#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[146] -#define SWIGTYPE_p_wxTextEntryDialog swig_types[147] -#define SWIGTYPE_p_wxTipWindow swig_types[148] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[149] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[150] -#define SWIGTYPE_p_wxValidator swig_types[151] -#define SWIGTYPE_p_wxVisualAttributes swig_types[152] -#define SWIGTYPE_p_wxWindow swig_types[153] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[154] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[155] -#define SWIGTYPE_p_wxWizard swig_types[156] -#define SWIGTYPE_p_wxWizardEvent swig_types[157] -#define SWIGTYPE_p_wxWizardPage swig_types[158] -#define SWIGTYPE_p_wxWizardPageSimple swig_types[159] -#define SWIGTYPE_p_wxXPMHandler swig_types[160] -static swig_type_info *swig_types[162]; -static swig_module_info swig_module = {swig_types, 161, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxChildFocusEvent swig_types[14] +#define SWIGTYPE_p_wxClipboardTextEvent swig_types[15] +#define SWIGTYPE_p_wxCloseEvent swig_types[16] +#define SWIGTYPE_p_wxColourData swig_types[17] +#define SWIGTYPE_p_wxColourDialog swig_types[18] +#define SWIGTYPE_p_wxCommandEvent swig_types[19] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[20] +#define SWIGTYPE_p_wxControl swig_types[21] +#define SWIGTYPE_p_wxControlWithItems swig_types[22] +#define SWIGTYPE_p_wxDateEvent swig_types[23] +#define SWIGTYPE_p_wxDialog swig_types[24] +#define SWIGTYPE_p_wxDirDialog swig_types[25] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[27] +#define SWIGTYPE_p_wxDuplexMode swig_types[28] +#define SWIGTYPE_p_wxEraseEvent swig_types[29] +#define SWIGTYPE_p_wxEvent swig_types[30] +#define SWIGTYPE_p_wxEventBlocker swig_types[31] +#define SWIGTYPE_p_wxEvtHandler swig_types[32] +#define SWIGTYPE_p_wxFSFile swig_types[33] +#define SWIGTYPE_p_wxFileDialog swig_types[34] +#define SWIGTYPE_p_wxFileSystem swig_types[35] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[36] +#define SWIGTYPE_p_wxFindReplaceData swig_types[37] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[38] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[39] +#define SWIGTYPE_p_wxFocusEvent swig_types[40] +#define SWIGTYPE_p_wxFontData swig_types[41] +#define SWIGTYPE_p_wxFontDialog swig_types[42] +#define SWIGTYPE_p_wxFrame swig_types[43] +#define SWIGTYPE_p_wxGBSizerItem swig_types[44] +#define SWIGTYPE_p_wxGIFHandler swig_types[45] +#define SWIGTYPE_p_wxGridBagSizer swig_types[46] +#define SWIGTYPE_p_wxGridSizer swig_types[47] +#define SWIGTYPE_p_wxICOHandler swig_types[48] +#define SWIGTYPE_p_wxIconizeEvent swig_types[49] +#define SWIGTYPE_p_wxIdleEvent swig_types[50] +#define SWIGTYPE_p_wxImage swig_types[51] +#define SWIGTYPE_p_wxImageHandler swig_types[52] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[53] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[54] +#define SWIGTYPE_p_wxJPEGHandler swig_types[55] +#define SWIGTYPE_p_wxKeyEvent swig_types[56] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[57] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[58] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[59] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[60] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[61] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[62] +#define SWIGTYPE_p_wxMenu swig_types[63] +#define SWIGTYPE_p_wxMenuBar swig_types[64] +#define SWIGTYPE_p_wxMenuEvent swig_types[65] +#define SWIGTYPE_p_wxMenuItem swig_types[66] +#define SWIGTYPE_p_wxMessageDialog swig_types[67] +#define SWIGTYPE_p_wxMiniFrame swig_types[68] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[69] +#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[70] +#define SWIGTYPE_p_wxMouseEvent swig_types[71] +#define SWIGTYPE_p_wxMoveEvent swig_types[72] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[73] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[74] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[75] +#define SWIGTYPE_p_wxNotifyEvent swig_types[76] +#define SWIGTYPE_p_wxNumberEntryDialog swig_types[77] +#define SWIGTYPE_p_wxObject swig_types[78] +#define SWIGTYPE_p_wxPCXHandler swig_types[79] +#define SWIGTYPE_p_wxPNGHandler swig_types[80] +#define SWIGTYPE_p_wxPNMHandler swig_types[81] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[82] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[83] +#define SWIGTYPE_p_wxPaintEvent swig_types[84] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[85] +#define SWIGTYPE_p_wxPanel swig_types[86] +#define SWIGTYPE_p_wxPaperSize swig_types[87] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[88] +#define SWIGTYPE_p_wxPopupWindow swig_types[89] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[90] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[91] +#define SWIGTYPE_p_wxPreviewFrame swig_types[92] +#define SWIGTYPE_p_wxPrintData swig_types[93] +#define SWIGTYPE_p_wxPrintDialog swig_types[94] +#define SWIGTYPE_p_wxPrintDialogData swig_types[95] +#define SWIGTYPE_p_wxPrintPreview swig_types[96] +#define SWIGTYPE_p_wxPrinter swig_types[97] +#define SWIGTYPE_p_wxProgressDialog swig_types[98] +#define SWIGTYPE_p_wxPyApp swig_types[99] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[100] +#define SWIGTYPE_p_wxPyEvent swig_types[101] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[102] +#define SWIGTYPE_p_wxPyImageHandler swig_types[103] +#define SWIGTYPE_p_wxPyPanel swig_types[104] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[105] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[106] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[107] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[108] +#define SWIGTYPE_p_wxPyPrintout swig_types[109] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[110] +#define SWIGTYPE_p_wxPySizer swig_types[111] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[112] +#define SWIGTYPE_p_wxPyVListBox swig_types[113] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[114] +#define SWIGTYPE_p_wxPyValidator swig_types[115] +#define SWIGTYPE_p_wxPyWindow swig_types[116] +#define SWIGTYPE_p_wxPyWizardPage swig_types[117] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[118] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[119] +#define SWIGTYPE_p_wxSashEvent swig_types[120] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[121] +#define SWIGTYPE_p_wxSashWindow swig_types[122] +#define SWIGTYPE_p_wxScrollEvent swig_types[123] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[124] +#define SWIGTYPE_p_wxScrolledWindow swig_types[125] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[126] +#define SWIGTYPE_p_wxShowEvent swig_types[127] +#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[128] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[129] +#define SWIGTYPE_p_wxSize swig_types[130] +#define SWIGTYPE_p_wxSizeEvent swig_types[131] +#define SWIGTYPE_p_wxSizer swig_types[132] +#define SWIGTYPE_p_wxSizerItem swig_types[133] +#define SWIGTYPE_p_wxSplashScreen swig_types[134] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[135] +#define SWIGTYPE_p_wxSplitterEvent swig_types[136] +#define SWIGTYPE_p_wxSplitterWindow swig_types[137] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[138] +#define SWIGTYPE_p_wxStatusBar swig_types[139] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[140] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[141] +#define SWIGTYPE_p_wxTGAHandler swig_types[142] +#define SWIGTYPE_p_wxTIFFHandler swig_types[143] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[144] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[145] +#define SWIGTYPE_p_wxTipWindow swig_types[146] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[147] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[148] +#define SWIGTYPE_p_wxValidator swig_types[149] +#define SWIGTYPE_p_wxVisualAttributes swig_types[150] +#define SWIGTYPE_p_wxWindow swig_types[151] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[152] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[153] +#define SWIGTYPE_p_wxWizard swig_types[154] +#define SWIGTYPE_p_wxWizardEvent swig_types[155] +#define SWIGTYPE_p_wxWizardPage swig_types[156] +#define SWIGTYPE_p_wxWizardPageSimple swig_types[157] +#define SWIGTYPE_p_wxXPMHandler swig_types[158] +static swig_type_info *swig_types[160]; +static swig_module_info swig_module = {swig_types, 159, 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) @@ -2798,21 +2796,14 @@ SWIG_AsVal_bool (PyObject *obj, bool *val) } } -SWIGINTERN bool wxWizardPage_Create(wxWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){ - const wxChar* res = NULL; - if (resource.length()) - res = (const wxChar*)resource.c_str(); - return self->Create(parent, bitmap, res); - } // C++ Version of a Python aware class class wxPyWizardPage : public wxWizardPage { DECLARE_ABSTRACT_CLASS(wxPyWizardPage) public: wxPyWizardPage() : wxWizardPage() {} wxPyWizardPage(wxWizard *parent, - const wxBitmap& bitmap = wxNullBitmap, - const wxChar* resource = NULL) - : wxWizardPage(parent, bitmap, resource) {} + const wxBitmap& bitmap = wxNullBitmap) + : wxWizardPage(parent, bitmap) {} DEC_PYCALLBACK_WIZPG__pure(GetPrev); DEC_PYCALLBACK_WIZPG__pure(GetNext); @@ -2877,18 +2868,6 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, AddChild); IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, RemoveChild); -SWIGINTERN wxPyWizardPage *new_wxPyWizardPage(wxWizard *parent,wxBitmap const *bitmap=&wxNullBitmap,wxString const *resource=&wxPyEmptyString){ - const wxChar* res = NULL; - if (resource->length()) - res = (const wxChar*)resource->c_str(); - return new wxPyWizardPage(parent, *bitmap, res); - } -SWIGINTERN bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){ - const wxChar* res = NULL; - if (resource.length()) - res = (const wxChar*)resource.c_str(); - return self->Create(parent, bitmap, res); - } #ifdef __cplusplus extern "C" { #endif @@ -3034,8 +3013,6 @@ SWIGINTERN PyObject *_wrap_WizardPage_Create(PyObject *SWIGUNUSEDPARM(self), PyO wxWizard *arg2 = (wxWizard *) 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ; - wxString const &arg4_defvalue = wxPyEmptyString ; - wxString *arg4 = (wxString *) &arg4_defvalue ; bool result; void *argp1 = 0 ; int res1 = 0 ; @@ -3043,16 +3020,14 @@ SWIGINTERN PyObject *_wrap_WizardPage_Create(PyObject *SWIGUNUSEDPARM(self), PyO int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; - bool temp4 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL + (char *) "self",(char *) "parent",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:WizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:WizardPage_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWizardPage, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WizardPage_Create" "', expected argument " "1"" of type '" "wxWizardPage *""'"); @@ -3073,32 +3048,17 @@ SWIGINTERN PyObject *_wrap_WizardPage_Create(PyObject *SWIGUNUSEDPARM(self), PyO } arg3 = reinterpret_cast< wxBitmap * >(argp3); } - if (obj3) { - { - arg4 = wxString_in_helper(obj3); - if (arg4 == NULL) SWIG_fail; - temp4 = true; - } - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4); + result = (bool)(arg1)->Create(arg2,(wxBitmap const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } - { - if (temp4) - delete arg4; - } return resultobj; fail: - { - if (temp4) - delete arg4; - } return NULL; } @@ -3201,59 +3161,45 @@ SWIGINTERN PyObject *WizardPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyO SWIGINTERN PyObject *_wrap_new_PyWizardPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxWizard *arg1 = (wxWizard *) 0 ; - wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ; - wxString *arg3 = (wxString *) &wxPyEmptyString ; + wxBitmap const &arg2_defvalue = wxNullBitmap ; + wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ; wxPyWizardPage *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "parent",(char *) "bitmap",(char *) "resource", NULL + (char *) "parent",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_PyWizardPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PyWizardPage",kwnames,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWizardPage" "', expected argument " "1"" of type '" "wxWizard *""'"); } arg1 = reinterpret_cast< wxWizard * >(argp1); if (obj1) { - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyWizardPage" "', expected argument " "2"" of type '" "wxBitmap const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyWizardPage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); } - arg2 = reinterpret_cast< wxBitmap * >(argp2); - } - if (obj2) { - { - arg3 = wxString_in_helper(obj2); - if (arg3 == NULL) SWIG_fail; - temp3 = true; + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyWizardPage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); } + arg2 = reinterpret_cast< wxBitmap * >(argp2); } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxPyWizardPage *)new_wxPyWizardPage(arg1,(wxBitmap const *)arg2,(wxString const *)arg3); + result = (wxPyWizardPage *)new wxPyWizardPage(arg1,(wxBitmap const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_NEW | 0 ); - { - if (temp3) - delete arg3; - } return resultobj; fail: - { - if (temp3) - delete arg3; - } return NULL; } @@ -3283,8 +3229,6 @@ SWIGINTERN PyObject *_wrap_PyWizardPage_Create(PyObject *SWIGUNUSEDPARM(self), P wxWizard *arg2 = (wxWizard *) 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ; - wxString const &arg4_defvalue = wxPyEmptyString ; - wxString *arg4 = (wxString *) &arg4_defvalue ; bool result; void *argp1 = 0 ; int res1 = 0 ; @@ -3292,16 +3236,14 @@ SWIGINTERN PyObject *_wrap_PyWizardPage_Create(PyObject *SWIGUNUSEDPARM(self), P int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; - bool temp4 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL + (char *) "self",(char *) "parent",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyWizardPage_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyWizardPage_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWizardPage, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWizardPage_Create" "', expected argument " "1"" of type '" "wxPyWizardPage *""'"); @@ -3322,32 +3264,17 @@ SWIGINTERN PyObject *_wrap_PyWizardPage_Create(PyObject *SWIGUNUSEDPARM(self), P } arg3 = reinterpret_cast< wxBitmap * >(argp3); } - if (obj3) { - { - arg4 = wxString_in_helper(obj3); - if (arg4 == NULL) SWIG_fail; - temp4 = true; - } - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxPyWizardPage_Create(arg1,arg2,(wxBitmap const &)*arg3,(wxString const &)*arg4); + result = (bool)(arg1)->Create(arg2,(wxBitmap const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } - { - if (temp4) - delete arg4; - } return resultobj; fail: - { - if (temp4) - delete arg4; - } return NULL; } @@ -3892,7 +3819,6 @@ SWIGINTERN PyObject *_wrap_new_WizardPageSimple(PyObject *SWIGUNUSEDPARM(self), wxWizardPage *arg3 = (wxWizardPage *) NULL ; wxBitmap const &arg4_defvalue = wxNullBitmap ; wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; - wxChar *arg5 = (wxChar *) NULL ; wxWizardPageSimple *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -3902,18 +3828,15 @@ SWIGINTERN PyObject *_wrap_new_WizardPageSimple(PyObject *SWIGUNUSEDPARM(self), int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; char * kwnames[] = { - (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL + (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_WizardPageSimple",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_WizardPageSimple",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_WizardPageSimple" "', expected argument " "1"" of type '" "wxWizard *""'"); @@ -3943,17 +3866,10 @@ SWIGINTERN PyObject *_wrap_new_WizardPageSimple(PyObject *SWIGUNUSEDPARM(self), } arg4 = reinterpret_cast< wxBitmap * >(argp4); } - if (obj4) { - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxChar, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_WizardPageSimple" "', expected argument " "5"" of type '" "wxChar const *""'"); - } - arg5 = reinterpret_cast< wxChar * >(argp5); - } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWizardPageSimple *)new wxWizardPageSimple(arg1,arg2,arg3,(wxBitmap const &)*arg4,(wxChar const *)arg5); + result = (wxWizardPageSimple *)new wxWizardPageSimple(arg1,arg2,arg3,(wxBitmap const &)*arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -3991,7 +3907,6 @@ SWIGINTERN PyObject *_wrap_WizardPageSimple_Create(PyObject *SWIGUNUSEDPARM(self wxWizardPage *arg4 = (wxWizardPage *) NULL ; wxBitmap const &arg5_defvalue = wxNullBitmap ; wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; - wxChar *arg6 = (wxChar *) NULL ; bool result; void *argp1 = 0 ; int res1 = 0 ; @@ -4003,19 +3918,16 @@ SWIGINTERN PyObject *_wrap_WizardPageSimple_Create(PyObject *SWIGUNUSEDPARM(self int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL + (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:WizardPageSimple_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:WizardPageSimple_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWizardPageSimple, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WizardPageSimple_Create" "', expected argument " "1"" of type '" "wxWizardPageSimple *""'"); @@ -4052,16 +3964,9 @@ SWIGINTERN PyObject *_wrap_WizardPageSimple_Create(PyObject *SWIGUNUSEDPARM(self } arg5 = reinterpret_cast< wxBitmap * >(argp5); } - if (obj5) { - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxChar, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "WizardPageSimple_Create" "', expected argument " "6"" of type '" "wxChar const *""'"); - } - arg6 = reinterpret_cast< wxChar * >(argp6); - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxBitmap const &)*arg5,(wxChar const *)arg6); + result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxBitmap const &)*arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -6003,7 +5908,6 @@ static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned c static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; @@ -6149,7 +6053,6 @@ static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (voi static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxPyWizardPage = {"_p_wxPyWizardPage", "wxPyWizardPage *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; @@ -6173,7 +6076,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxBoxSizer, &_swigt__p_wxCURHandler, &_swigt__p_wxCalculateLayoutEvent, - &_swigt__p_wxChar, &_swigt__p_wxChildFocusEvent, &_swigt__p_wxClipboardTextEvent, &_swigt__p_wxCloseEvent, @@ -6301,7 +6203,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxStaticBoxSizer, &_swigt__p_wxStatusBar, &_swigt__p_wxStdDialogButtonSizer, - &_swigt__p_wxString, &_swigt__p_wxSysColourChangedEvent, &_swigt__p_wxTGAHandler, &_swigt__p_wxTIFFHandler, @@ -6329,7 +6230,6 @@ static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; @@ -6475,7 +6375,6 @@ static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPyVListBox, _p_wxPy static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyWizardPage[] = { {&_swigt__p_wxPyWizardPage, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; @@ -6499,7 +6398,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxBoxSizer, _swigc__p_wxCURHandler, _swigc__p_wxCalculateLayoutEvent, - _swigc__p_wxChar, _swigc__p_wxChildFocusEvent, _swigc__p_wxClipboardTextEvent, _swigc__p_wxCloseEvent, @@ -6627,7 +6525,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxStaticBoxSizer, _swigc__p_wxStatusBar, _swigc__p_wxStdDialogButtonSizer, - _swigc__p_wxString, _swigc__p_wxSysColourChangedEvent, _swigc__p_wxTGAHandler, _swigc__p_wxTIFFHandler,