reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# Don't modify this file, modify the SWIG interface instead.
|
# Don't modify this file, modify the SWIG interface instead.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Simple animation player classes, including `wxGIFAnimationCtrl` for displaying
|
Simple animation player classes, including `GIFAnimationCtrl` for displaying
|
||||||
animated GIF files
|
animated GIF files
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
@@ -93,6 +93,7 @@
|
|||||||
%rename(RadioButton) wxRadioButton;
|
%rename(RadioButton) wxRadioButton;
|
||||||
%rename(SL_HORIZONTAL) wxSL_HORIZONTAL;
|
%rename(SL_HORIZONTAL) wxSL_HORIZONTAL;
|
||||||
%rename(SL_VERTICAL) wxSL_VERTICAL;
|
%rename(SL_VERTICAL) wxSL_VERTICAL;
|
||||||
|
%rename(SL_TICKS) wxSL_TICKS;
|
||||||
%rename(SL_AUTOTICKS) wxSL_AUTOTICKS;
|
%rename(SL_AUTOTICKS) wxSL_AUTOTICKS;
|
||||||
%rename(SL_LABELS) wxSL_LABELS;
|
%rename(SL_LABELS) wxSL_LABELS;
|
||||||
%rename(SL_LEFT) wxSL_LEFT;
|
%rename(SL_LEFT) wxSL_LEFT;
|
||||||
|
@@ -2647,6 +2647,7 @@ def RadioButton_GetClassDefaultAttributes(*args, **kwargs):
|
|||||||
|
|
||||||
SL_HORIZONTAL = _controls_.SL_HORIZONTAL
|
SL_HORIZONTAL = _controls_.SL_HORIZONTAL
|
||||||
SL_VERTICAL = _controls_.SL_VERTICAL
|
SL_VERTICAL = _controls_.SL_VERTICAL
|
||||||
|
SL_TICKS = _controls_.SL_TICKS
|
||||||
SL_AUTOTICKS = _controls_.SL_AUTOTICKS
|
SL_AUTOTICKS = _controls_.SL_AUTOTICKS
|
||||||
SL_LABELS = _controls_.SL_LABELS
|
SL_LABELS = _controls_.SL_LABELS
|
||||||
SL_LEFT = _controls_.SL_LEFT
|
SL_LEFT = _controls_.SL_LEFT
|
||||||
@@ -3233,7 +3234,7 @@ class NotebookPage(wx.Panel):
|
|||||||
"""
|
"""
|
||||||
There is an old (and apparently unsolvable) bug when placing a
|
There is an old (and apparently unsolvable) bug when placing a
|
||||||
window with a nonstandard background colour in a wx.Notebook on
|
window with a nonstandard background colour in a wx.Notebook on
|
||||||
wxGTK, as the notbooks's background colour would always be used
|
wxGTK1, as the notbooks's background colour would always be used
|
||||||
when the window is refreshed. The solution is to place a panel in
|
when the window is refreshed. The solution is to place a panel in
|
||||||
the notbook and the coloured window on the panel, sized to cover
|
the notbook and the coloured window on the panel, sized to cover
|
||||||
the panel. This simple class does that for you, just put an
|
the panel. This simple class does that for you, just put an
|
||||||
@@ -3367,6 +3368,10 @@ class Choicebook(BookCtrlBase):
|
|||||||
"""IsVertical(self) -> bool"""
|
"""IsVertical(self) -> bool"""
|
||||||
return _controls_.Choicebook_IsVertical(*args, **kwargs)
|
return _controls_.Choicebook_IsVertical(*args, **kwargs)
|
||||||
|
|
||||||
|
def GetChoiceCtrl(*args, **kwargs):
|
||||||
|
"""GetChoiceCtrl(self) -> Choice"""
|
||||||
|
return _controls_.Choicebook_GetChoiceCtrl(*args, **kwargs)
|
||||||
|
|
||||||
def DeleteAllPages(*args, **kwargs):
|
def DeleteAllPages(*args, **kwargs):
|
||||||
"""DeleteAllPages(self) -> bool"""
|
"""DeleteAllPages(self) -> bool"""
|
||||||
return _controls_.Choicebook_DeleteAllPages(*args, **kwargs)
|
return _controls_.Choicebook_DeleteAllPages(*args, **kwargs)
|
||||||
@@ -5885,10 +5890,6 @@ class PyControl(_core.Control):
|
|||||||
"""base_ShouldInheritColours(self) -> bool"""
|
"""base_ShouldInheritColours(self) -> bool"""
|
||||||
return _controls_.PyControl_base_ShouldInheritColours(*args, **kwargs)
|
return _controls_.PyControl_base_ShouldInheritColours(*args, **kwargs)
|
||||||
|
|
||||||
def base_ApplyParentThemeBackground(*args, **kwargs):
|
|
||||||
"""base_ApplyParentThemeBackground(self, Colour c)"""
|
|
||||||
return _controls_.PyControl_base_ApplyParentThemeBackground(*args, **kwargs)
|
|
||||||
|
|
||||||
def base_GetDefaultAttributes(*args, **kwargs):
|
def base_GetDefaultAttributes(*args, **kwargs):
|
||||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||||
return _controls_.PyControl_base_GetDefaultAttributes(*args, **kwargs)
|
return _controls_.PyControl_base_GetDefaultAttributes(*args, **kwargs)
|
||||||
|
@@ -2192,7 +2192,6 @@ public:
|
|||||||
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
||||||
DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
|
|
||||||
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||||
@@ -2227,7 +2226,6 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
|
|||||||
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
|
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
|
IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
|
||||||
IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
|
|
||||||
IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
|
IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
|
IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
|
||||||
@@ -18083,6 +18081,32 @@ static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObjec
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxChoicebook *arg1 = (wxChoicebook *) 0 ;
|
||||||
|
wxChoice *result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxChoicebook *arg1 = (wxChoicebook *) 0 ;
|
wxChoicebook *arg1 = (wxChoicebook *) 0 ;
|
||||||
@@ -32913,38 +32937,6 @@ static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxPyControl *arg1 = (wxPyControl *) 0 ;
|
|
||||||
wxColour *arg2 = 0 ;
|
|
||||||
wxColour temp2 ;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
PyObject * obj1 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self",(char *) "c", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
arg2 = &temp2;
|
|
||||||
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
(arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
Py_INCREF(Py_None); resultobj = Py_None;
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyControl *arg1 = (wxPyControl *) 0 ;
|
wxPyControl *arg1 = (wxPyControl *) 0 ;
|
||||||
@@ -35278,6 +35270,7 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
|
{ (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -35705,7 +35698,6 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -37570,6 +37562,9 @@ SWIGEXPORT(void) SWIG_init(void) {
|
|||||||
{
|
{
|
||||||
PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
|
PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
|
||||||
|
}
|
||||||
{
|
{
|
||||||
PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
|
PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
|
||||||
}
|
}
|
||||||
|
@@ -5008,8 +5008,8 @@ class PyApp(EvtHandler):
|
|||||||
self.this = newobj.this
|
self.this = newobj.this
|
||||||
self.thisown = 1
|
self.thisown = 1
|
||||||
del newobj.thisown
|
del newobj.thisown
|
||||||
self._setCallbackInfo(self, PyApp)
|
self._setCallbackInfo(self, PyApp, False)
|
||||||
self._setOORInfo(self)
|
self._setOORInfo(self, False)
|
||||||
|
|
||||||
def __del__(self, destroy=_core_.delete_PyApp):
|
def __del__(self, destroy=_core_.delete_PyApp):
|
||||||
"""__del__(self)"""
|
"""__del__(self)"""
|
||||||
@@ -5018,7 +5018,7 @@ class PyApp(EvtHandler):
|
|||||||
except: pass
|
except: pass
|
||||||
|
|
||||||
def _setCallbackInfo(*args, **kwargs):
|
def _setCallbackInfo(*args, **kwargs):
|
||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class, bool incref)"""
|
||||||
return _core_.PyApp__setCallbackInfo(*args, **kwargs)
|
return _core_.PyApp__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def GetAppName(*args, **kwargs):
|
def GetAppName(*args, **kwargs):
|
||||||
@@ -5694,9 +5694,12 @@ your Mac."""
|
|||||||
def __del__(self):
|
def __del__(self):
|
||||||
try:
|
try:
|
||||||
self.RestoreStdio() # Just in case the MainLoop was overridden
|
self.RestoreStdio() # Just in case the MainLoop was overridden
|
||||||
except:
|
finally:
|
||||||
pass
|
wx.PyApp.__del__(self)
|
||||||
|
|
||||||
|
def Destroy(self):
|
||||||
|
wx.PyApp.Destroy(self)
|
||||||
|
self.thisown = 0
|
||||||
|
|
||||||
def SetTopWindow(self, frame):
|
def SetTopWindow(self, frame):
|
||||||
"""Set the \"main\" top level window"""
|
"""Set the \"main\" top level window"""
|
||||||
@@ -11334,11 +11337,15 @@ if RELEASE_VERSION != _core_.RELEASE_VERSION:
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
# Set the default string<-->unicode conversion encoding from the
|
# Set wxPython's default string<-->unicode conversion encoding from
|
||||||
# locale. This encoding is used when string or unicode objects need
|
# the locale, but only if Python's default hasn't been changed. (We
|
||||||
# to be converted in order to pass them to wxWidgets. Please be aware
|
# assume that if the user has customized it already then that is the
|
||||||
# that the default encoding within the same locale may be slightly
|
# encoding we need to use as well.)
|
||||||
# different on different platforms. For example, please see
|
#
|
||||||
|
# The encoding selected here is used when string or unicode objects
|
||||||
|
# need to be converted in order to pass them to wxWidgets. Please be
|
||||||
|
# aware that the default encoding within the same locale may be
|
||||||
|
# slightly different on different platforms. For example, please see
|
||||||
# http://www.alanwood.net/demos/charsetdiffs.html for differences
|
# http://www.alanwood.net/demos/charsetdiffs.html for differences
|
||||||
# between the common latin/roman encodings.
|
# between the common latin/roman encodings.
|
||||||
|
|
||||||
@@ -11349,7 +11356,7 @@ if default == 'ascii':
|
|||||||
try:
|
try:
|
||||||
default = locale.getdefaultlocale()[1]
|
default = locale.getdefaultlocale()[1]
|
||||||
codecs.lookup(default)
|
codecs.lookup(default)
|
||||||
except (ValueError, LookupError):
|
except (ValueError, LookupError, TypeError):
|
||||||
default = _sys.getdefaultencoding()
|
default = _sys.getdefaultencoding()
|
||||||
del locale
|
del locale
|
||||||
del codecs
|
del codecs
|
||||||
|
@@ -22676,21 +22676,27 @@ static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObje
|
|||||||
wxPyApp *arg1 = (wxPyApp *) 0 ;
|
wxPyApp *arg1 = (wxPyApp *) 0 ;
|
||||||
PyObject *arg2 = (PyObject *) 0 ;
|
PyObject *arg2 = (PyObject *) 0 ;
|
||||||
PyObject *arg3 = (PyObject *) 0 ;
|
PyObject *arg3 = (PyObject *) 0 ;
|
||||||
|
bool arg4 ;
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
PyObject * obj2 = 0 ;
|
PyObject * obj2 = 0 ;
|
||||||
|
PyObject * obj3 = 0 ;
|
||||||
char *kwnames[] = {
|
char *kwnames[] = {
|
||||||
(char *) "self",(char *) "self",(char *) "_class", NULL
|
(char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
arg2 = obj1;
|
arg2 = obj1;
|
||||||
arg3 = obj2;
|
arg3 = obj2;
|
||||||
|
{
|
||||||
|
arg4 = (bool)(SWIG_As_bool(obj3));
|
||||||
|
if (SWIG_arg_fail(4)) SWIG_fail;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
(arg1)->_setCallbackInfo(arg2,arg3);
|
(arg1)->_setCallbackInfo(arg2,arg3,arg4);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
@@ -3852,12 +3852,13 @@ class DateTime(object):
|
|||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
if self.IsValid():
|
if self.IsValid():
|
||||||
return '<wx.DateTime: \"%s\" at %s>' % ( self.Format(), self.this)
|
f = self.Format().encode(wx.GetDefaultPyEncoding())
|
||||||
|
return '<wx.DateTime: \"%s\" at %s>' % ( f, self.this)
|
||||||
else:
|
else:
|
||||||
return '<wx.DateTime: \"INVALID\" at %s>' % self.this
|
return '<wx.DateTime: \"INVALID\" at %s>' % self.this
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
if self.IsValid():
|
if self.IsValid():
|
||||||
return self.Format()
|
return self.Format().encode(wx.GetDefaultPyEncoding())
|
||||||
else:
|
else:
|
||||||
return "INVALID DateTime"
|
return "INVALID DateTime"
|
||||||
|
|
||||||
@@ -4177,9 +4178,10 @@ class TimeSpan(object):
|
|||||||
return _misc_.TimeSpan_Format(*args, **kwargs)
|
return _misc_.TimeSpan_Format(*args, **kwargs)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '<wx.TimeSpan: \"%s\" at %s>' % ( self.Format(), self.this)
|
f = self.Format().encode(wx.GetDefaultPyEncoding())
|
||||||
|
return '<wx.TimeSpan: \"%s\" at %s>' % ( f, self.this)
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.Format()
|
return self.Format().encode(wx.GetDefaultPyEncoding())
|
||||||
|
|
||||||
|
|
||||||
class TimeSpanPtr(TimeSpan):
|
class TimeSpanPtr(TimeSpan):
|
||||||
|
@@ -1972,6 +1972,18 @@ class VScrolledWindow(Panel):
|
|||||||
"""GetLineCount(self) -> size_t"""
|
"""GetLineCount(self) -> size_t"""
|
||||||
return _windows_.VScrolledWindow_GetLineCount(*args, **kwargs)
|
return _windows_.VScrolledWindow_GetLineCount(*args, **kwargs)
|
||||||
|
|
||||||
|
def GetVisibleBegin(*args, **kwargs):
|
||||||
|
"""GetVisibleBegin(self) -> size_t"""
|
||||||
|
return _windows_.VScrolledWindow_GetVisibleBegin(*args, **kwargs)
|
||||||
|
|
||||||
|
def GetVisibleEnd(*args, **kwargs):
|
||||||
|
"""GetVisibleEnd(self) -> size_t"""
|
||||||
|
return _windows_.VScrolledWindow_GetVisibleEnd(*args, **kwargs)
|
||||||
|
|
||||||
|
def IsVisible(*args, **kwargs):
|
||||||
|
"""IsVisible(self, size_t line) -> bool"""
|
||||||
|
return _windows_.VScrolledWindow_IsVisible(*args, **kwargs)
|
||||||
|
|
||||||
def GetFirstVisibleLine(*args, **kwargs):
|
def GetFirstVisibleLine(*args, **kwargs):
|
||||||
"""GetFirstVisibleLine(self) -> size_t"""
|
"""GetFirstVisibleLine(self) -> size_t"""
|
||||||
return _windows_.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs)
|
return _windows_.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs)
|
||||||
@@ -1980,10 +1992,6 @@ class VScrolledWindow(Panel):
|
|||||||
"""GetLastVisibleLine(self) -> size_t"""
|
"""GetLastVisibleLine(self) -> size_t"""
|
||||||
return _windows_.VScrolledWindow_GetLastVisibleLine(*args, **kwargs)
|
return _windows_.VScrolledWindow_GetLastVisibleLine(*args, **kwargs)
|
||||||
|
|
||||||
def IsVisible(*args, **kwargs):
|
|
||||||
"""IsVisible(self, size_t line) -> bool"""
|
|
||||||
return _windows_.VScrolledWindow_IsVisible(*args, **kwargs)
|
|
||||||
|
|
||||||
|
|
||||||
class VScrolledWindowPtr(VScrolledWindow):
|
class VScrolledWindowPtr(VScrolledWindow):
|
||||||
def __init__(self, this):
|
def __init__(self, this):
|
||||||
@@ -3580,10 +3588,6 @@ class PyWindow(_core.Window):
|
|||||||
"""base_ShouldInheritColours(self) -> bool"""
|
"""base_ShouldInheritColours(self) -> bool"""
|
||||||
return _windows_.PyWindow_base_ShouldInheritColours(*args, **kwargs)
|
return _windows_.PyWindow_base_ShouldInheritColours(*args, **kwargs)
|
||||||
|
|
||||||
def base_ApplyParentThemeBackground(*args, **kwargs):
|
|
||||||
"""base_ApplyParentThemeBackground(self, Colour c)"""
|
|
||||||
return _windows_.PyWindow_base_ApplyParentThemeBackground(*args, **kwargs)
|
|
||||||
|
|
||||||
def base_GetDefaultAttributes(*args, **kwargs):
|
def base_GetDefaultAttributes(*args, **kwargs):
|
||||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||||
return _windows_.PyWindow_base_GetDefaultAttributes(*args, **kwargs)
|
return _windows_.PyWindow_base_GetDefaultAttributes(*args, **kwargs)
|
||||||
@@ -3701,10 +3705,6 @@ class PyPanel(Panel):
|
|||||||
"""base_ShouldInheritColours(self) -> bool"""
|
"""base_ShouldInheritColours(self) -> bool"""
|
||||||
return _windows_.PyPanel_base_ShouldInheritColours(*args, **kwargs)
|
return _windows_.PyPanel_base_ShouldInheritColours(*args, **kwargs)
|
||||||
|
|
||||||
def base_ApplyParentThemeBackground(*args, **kwargs):
|
|
||||||
"""base_ApplyParentThemeBackground(self, Colour c)"""
|
|
||||||
return _windows_.PyPanel_base_ApplyParentThemeBackground(*args, **kwargs)
|
|
||||||
|
|
||||||
def base_GetDefaultAttributes(*args, **kwargs):
|
def base_GetDefaultAttributes(*args, **kwargs):
|
||||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||||
return _windows_.PyPanel_base_GetDefaultAttributes(*args, **kwargs)
|
return _windows_.PyPanel_base_GetDefaultAttributes(*args, **kwargs)
|
||||||
@@ -3822,10 +3822,6 @@ class PyScrolledWindow(ScrolledWindow):
|
|||||||
"""base_ShouldInheritColours(self) -> bool"""
|
"""base_ShouldInheritColours(self) -> bool"""
|
||||||
return _windows_.PyScrolledWindow_base_ShouldInheritColours(*args, **kwargs)
|
return _windows_.PyScrolledWindow_base_ShouldInheritColours(*args, **kwargs)
|
||||||
|
|
||||||
def base_ApplyParentThemeBackground(*args, **kwargs):
|
|
||||||
"""base_ApplyParentThemeBackground(self, Colour c)"""
|
|
||||||
return _windows_.PyScrolledWindow_base_ApplyParentThemeBackground(*args, **kwargs)
|
|
||||||
|
|
||||||
def base_GetDefaultAttributes(*args, **kwargs):
|
def base_GetDefaultAttributes(*args, **kwargs):
|
||||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||||
return _windows_.PyScrolledWindow_base_GetDefaultAttributes(*args, **kwargs)
|
return _windows_.PyScrolledWindow_base_GetDefaultAttributes(*args, **kwargs)
|
||||||
|
@@ -2138,7 +2138,6 @@ public:
|
|||||||
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
||||||
DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
|
|
||||||
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||||
@@ -2173,7 +2172,6 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
|
|||||||
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
|
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
|
IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
|
||||||
IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
|
|
||||||
IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
|
IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
|
IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
|
||||||
@@ -2219,7 +2217,6 @@ public:
|
|||||||
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
||||||
DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
|
|
||||||
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||||
@@ -2254,7 +2251,6 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
|
|||||||
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
|
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
|
IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
|
||||||
IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
|
|
||||||
IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
|
IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
|
IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
|
||||||
@@ -2299,7 +2295,6 @@ public:
|
|||||||
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
||||||
DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
|
|
||||||
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||||
@@ -2334,7 +2329,6 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
|
|||||||
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
|
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
|
IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
|
||||||
IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
|
|
||||||
IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
|
IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
|
IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
|
||||||
@@ -11529,6 +11523,96 @@ static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
|
||||||
|
size_t result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
|
||||||
|
}
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
|
||||||
|
size_t result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
|
||||||
|
}
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
|
||||||
|
size_t arg2 ;
|
||||||
|
bool result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
PyObject * obj1 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self",(char *) "line", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
|
||||||
|
if (SWIG_arg_fail(2)) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||||
|
}
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
|
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
|
||||||
@@ -11585,40 +11669,6 @@ static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
|
|
||||||
size_t arg2 ;
|
|
||||||
bool result;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
PyObject * obj1 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self",(char *) "line", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
|
|
||||||
if (SWIG_arg_fail(2)) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
||||||
}
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
|
static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
|
||||||
PyObject *obj;
|
PyObject *obj;
|
||||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||||
@@ -18428,38 +18478,6 @@ static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxPyWindow *arg1 = (wxPyWindow *) 0 ;
|
|
||||||
wxColour *arg2 = 0 ;
|
|
||||||
wxColour temp2 ;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
PyObject * obj1 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self",(char *) "c", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
arg2 = &temp2;
|
|
||||||
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
(arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
Py_INCREF(Py_None); resultobj = Py_None;
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyWindow *arg1 = (wxPyWindow *) 0 ;
|
wxPyWindow *arg1 = (wxPyWindow *) 0 ;
|
||||||
@@ -19297,38 +19315,6 @@ static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *a
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxPyPanel *arg1 = (wxPyPanel *) 0 ;
|
|
||||||
wxColour *arg2 = 0 ;
|
|
||||||
wxColour temp2 ;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
PyObject * obj1 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self",(char *) "c", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
arg2 = &temp2;
|
|
||||||
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
(arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
Py_INCREF(Py_None); resultobj = Py_None;
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyPanel *arg1 = (wxPyPanel *) 0 ;
|
wxPyPanel *arg1 = (wxPyPanel *) 0 ;
|
||||||
@@ -20166,38 +20152,6 @@ static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, Py
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
|
|
||||||
wxColour *arg2 = 0 ;
|
|
||||||
wxColour temp2 ;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
PyObject * obj1 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self",(char *) "c", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
arg2 = &temp2;
|
|
||||||
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
(arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
Py_INCREF(Py_None); resultobj = Py_None;
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
|
wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
|
||||||
@@ -27911,9 +27865,11 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
|
{ (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -28107,7 +28063,6 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -28133,7 +28088,6 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -28159,7 +28113,6 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
|
{ (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
|
||||||
|
@@ -2655,6 +2655,7 @@ def RadioButton_GetClassDefaultAttributes(*args, **kwargs):
|
|||||||
|
|
||||||
SL_HORIZONTAL = _controls_.SL_HORIZONTAL
|
SL_HORIZONTAL = _controls_.SL_HORIZONTAL
|
||||||
SL_VERTICAL = _controls_.SL_VERTICAL
|
SL_VERTICAL = _controls_.SL_VERTICAL
|
||||||
|
SL_TICKS = _controls_.SL_TICKS
|
||||||
SL_AUTOTICKS = _controls_.SL_AUTOTICKS
|
SL_AUTOTICKS = _controls_.SL_AUTOTICKS
|
||||||
SL_LABELS = _controls_.SL_LABELS
|
SL_LABELS = _controls_.SL_LABELS
|
||||||
SL_LEFT = _controls_.SL_LEFT
|
SL_LEFT = _controls_.SL_LEFT
|
||||||
@@ -3241,7 +3242,7 @@ class NotebookPage(wx.Panel):
|
|||||||
"""
|
"""
|
||||||
There is an old (and apparently unsolvable) bug when placing a
|
There is an old (and apparently unsolvable) bug when placing a
|
||||||
window with a nonstandard background colour in a wx.Notebook on
|
window with a nonstandard background colour in a wx.Notebook on
|
||||||
wxGTK, as the notbooks's background colour would always be used
|
wxGTK1, as the notbooks's background colour would always be used
|
||||||
when the window is refreshed. The solution is to place a panel in
|
when the window is refreshed. The solution is to place a panel in
|
||||||
the notbook and the coloured window on the panel, sized to cover
|
the notbook and the coloured window on the panel, sized to cover
|
||||||
the panel. This simple class does that for you, just put an
|
the panel. This simple class does that for you, just put an
|
||||||
@@ -3375,6 +3376,10 @@ class Choicebook(BookCtrlBase):
|
|||||||
"""IsVertical(self) -> bool"""
|
"""IsVertical(self) -> bool"""
|
||||||
return _controls_.Choicebook_IsVertical(*args, **kwargs)
|
return _controls_.Choicebook_IsVertical(*args, **kwargs)
|
||||||
|
|
||||||
|
def GetChoiceCtrl(*args, **kwargs):
|
||||||
|
"""GetChoiceCtrl(self) -> Choice"""
|
||||||
|
return _controls_.Choicebook_GetChoiceCtrl(*args, **kwargs)
|
||||||
|
|
||||||
def DeleteAllPages(*args, **kwargs):
|
def DeleteAllPages(*args, **kwargs):
|
||||||
"""DeleteAllPages(self) -> bool"""
|
"""DeleteAllPages(self) -> bool"""
|
||||||
return _controls_.Choicebook_DeleteAllPages(*args, **kwargs)
|
return _controls_.Choicebook_DeleteAllPages(*args, **kwargs)
|
||||||
@@ -5909,10 +5914,6 @@ class PyControl(_core.Control):
|
|||||||
"""base_ShouldInheritColours(self) -> bool"""
|
"""base_ShouldInheritColours(self) -> bool"""
|
||||||
return _controls_.PyControl_base_ShouldInheritColours(*args, **kwargs)
|
return _controls_.PyControl_base_ShouldInheritColours(*args, **kwargs)
|
||||||
|
|
||||||
def base_ApplyParentThemeBackground(*args, **kwargs):
|
|
||||||
"""base_ApplyParentThemeBackground(self, Colour c)"""
|
|
||||||
return _controls_.PyControl_base_ApplyParentThemeBackground(*args, **kwargs)
|
|
||||||
|
|
||||||
def base_GetDefaultAttributes(*args, **kwargs):
|
def base_GetDefaultAttributes(*args, **kwargs):
|
||||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||||
return _controls_.PyControl_base_GetDefaultAttributes(*args, **kwargs)
|
return _controls_.PyControl_base_GetDefaultAttributes(*args, **kwargs)
|
||||||
|
@@ -2189,7 +2189,6 @@ public:
|
|||||||
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
||||||
DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
|
|
||||||
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||||
@@ -2224,7 +2223,6 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
|
|||||||
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
|
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
|
IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
|
||||||
IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
|
|
||||||
IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
|
IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
|
IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
|
||||||
@@ -18144,6 +18142,32 @@ static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObjec
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxChoicebook *arg1 = (wxChoicebook *) 0 ;
|
||||||
|
wxChoice *result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxChoicebook *arg1 = (wxChoicebook *) 0 ;
|
wxChoicebook *arg1 = (wxChoicebook *) 0 ;
|
||||||
@@ -33122,38 +33146,6 @@ static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxPyControl *arg1 = (wxPyControl *) 0 ;
|
|
||||||
wxColour *arg2 = 0 ;
|
|
||||||
wxColour temp2 ;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
PyObject * obj1 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self",(char *) "c", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
arg2 = &temp2;
|
|
||||||
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
(arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
Py_INCREF(Py_None); resultobj = Py_None;
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyControl *arg1 = (wxPyControl *) 0 ;
|
wxPyControl *arg1 = (wxPyControl *) 0 ;
|
||||||
@@ -35489,6 +35481,7 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
|
{ (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -35920,7 +35913,6 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -37791,6 +37783,9 @@ SWIGEXPORT(void) SWIG_init(void) {
|
|||||||
{
|
{
|
||||||
PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
|
PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
|
||||||
|
}
|
||||||
{
|
{
|
||||||
PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
|
PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
|
||||||
}
|
}
|
||||||
|
@@ -5008,8 +5008,8 @@ class PyApp(EvtHandler):
|
|||||||
self.this = newobj.this
|
self.this = newobj.this
|
||||||
self.thisown = 1
|
self.thisown = 1
|
||||||
del newobj.thisown
|
del newobj.thisown
|
||||||
self._setCallbackInfo(self, PyApp)
|
self._setCallbackInfo(self, PyApp, False)
|
||||||
self._setOORInfo(self)
|
self._setOORInfo(self, False)
|
||||||
|
|
||||||
def __del__(self, destroy=_core_.delete_PyApp):
|
def __del__(self, destroy=_core_.delete_PyApp):
|
||||||
"""__del__(self)"""
|
"""__del__(self)"""
|
||||||
@@ -5018,7 +5018,7 @@ class PyApp(EvtHandler):
|
|||||||
except: pass
|
except: pass
|
||||||
|
|
||||||
def _setCallbackInfo(*args, **kwargs):
|
def _setCallbackInfo(*args, **kwargs):
|
||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class, bool incref)"""
|
||||||
return _core_.PyApp__setCallbackInfo(*args, **kwargs)
|
return _core_.PyApp__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def GetAppName(*args, **kwargs):
|
def GetAppName(*args, **kwargs):
|
||||||
@@ -5694,9 +5694,12 @@ your Mac."""
|
|||||||
def __del__(self):
|
def __del__(self):
|
||||||
try:
|
try:
|
||||||
self.RestoreStdio() # Just in case the MainLoop was overridden
|
self.RestoreStdio() # Just in case the MainLoop was overridden
|
||||||
except:
|
finally:
|
||||||
pass
|
wx.PyApp.__del__(self)
|
||||||
|
|
||||||
|
def Destroy(self):
|
||||||
|
wx.PyApp.Destroy(self)
|
||||||
|
self.thisown = 0
|
||||||
|
|
||||||
def SetTopWindow(self, frame):
|
def SetTopWindow(self, frame):
|
||||||
"""Set the \"main\" top level window"""
|
"""Set the \"main\" top level window"""
|
||||||
@@ -11347,11 +11350,15 @@ if RELEASE_VERSION != _core_.RELEASE_VERSION:
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
# Set the default string<-->unicode conversion encoding from the
|
# Set wxPython's default string<-->unicode conversion encoding from
|
||||||
# locale. This encoding is used when string or unicode objects need
|
# the locale, but only if Python's default hasn't been changed. (We
|
||||||
# to be converted in order to pass them to wxWidgets. Please be aware
|
# assume that if the user has customized it already then that is the
|
||||||
# that the default encoding within the same locale may be slightly
|
# encoding we need to use as well.)
|
||||||
# different on different platforms. For example, please see
|
#
|
||||||
|
# The encoding selected here is used when string or unicode objects
|
||||||
|
# need to be converted in order to pass them to wxWidgets. Please be
|
||||||
|
# aware that the default encoding within the same locale may be
|
||||||
|
# slightly different on different platforms. For example, please see
|
||||||
# http://www.alanwood.net/demos/charsetdiffs.html for differences
|
# http://www.alanwood.net/demos/charsetdiffs.html for differences
|
||||||
# between the common latin/roman encodings.
|
# between the common latin/roman encodings.
|
||||||
|
|
||||||
@@ -11362,7 +11369,7 @@ if default == 'ascii':
|
|||||||
try:
|
try:
|
||||||
default = locale.getdefaultlocale()[1]
|
default = locale.getdefaultlocale()[1]
|
||||||
codecs.lookup(default)
|
codecs.lookup(default)
|
||||||
except (ValueError, LookupError):
|
except (ValueError, LookupError, TypeError):
|
||||||
default = _sys.getdefaultencoding()
|
default = _sys.getdefaultencoding()
|
||||||
del locale
|
del locale
|
||||||
del codecs
|
del codecs
|
||||||
|
@@ -22660,21 +22660,27 @@ static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObje
|
|||||||
wxPyApp *arg1 = (wxPyApp *) 0 ;
|
wxPyApp *arg1 = (wxPyApp *) 0 ;
|
||||||
PyObject *arg2 = (PyObject *) 0 ;
|
PyObject *arg2 = (PyObject *) 0 ;
|
||||||
PyObject *arg3 = (PyObject *) 0 ;
|
PyObject *arg3 = (PyObject *) 0 ;
|
||||||
|
bool arg4 ;
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
PyObject * obj2 = 0 ;
|
PyObject * obj2 = 0 ;
|
||||||
|
PyObject * obj3 = 0 ;
|
||||||
char *kwnames[] = {
|
char *kwnames[] = {
|
||||||
(char *) "self",(char *) "self",(char *) "_class", NULL
|
(char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
arg2 = obj1;
|
arg2 = obj1;
|
||||||
arg3 = obj2;
|
arg3 = obj2;
|
||||||
|
{
|
||||||
|
arg4 = (bool)(SWIG_As_bool(obj3));
|
||||||
|
if (SWIG_arg_fail(4)) SWIG_fail;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
(arg1)->_setCallbackInfo(arg2,arg3);
|
(arg1)->_setCallbackInfo(arg2,arg3,arg4);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
@@ -3852,12 +3852,13 @@ class DateTime(object):
|
|||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
if self.IsValid():
|
if self.IsValid():
|
||||||
return '<wx.DateTime: \"%s\" at %s>' % ( self.Format(), self.this)
|
f = self.Format().encode(wx.GetDefaultPyEncoding())
|
||||||
|
return '<wx.DateTime: \"%s\" at %s>' % ( f, self.this)
|
||||||
else:
|
else:
|
||||||
return '<wx.DateTime: \"INVALID\" at %s>' % self.this
|
return '<wx.DateTime: \"INVALID\" at %s>' % self.this
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
if self.IsValid():
|
if self.IsValid():
|
||||||
return self.Format()
|
return self.Format().encode(wx.GetDefaultPyEncoding())
|
||||||
else:
|
else:
|
||||||
return "INVALID DateTime"
|
return "INVALID DateTime"
|
||||||
|
|
||||||
@@ -4177,9 +4178,10 @@ class TimeSpan(object):
|
|||||||
return _misc_.TimeSpan_Format(*args, **kwargs)
|
return _misc_.TimeSpan_Format(*args, **kwargs)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '<wx.TimeSpan: \"%s\" at %s>' % ( self.Format(), self.this)
|
f = self.Format().encode(wx.GetDefaultPyEncoding())
|
||||||
|
return '<wx.TimeSpan: \"%s\" at %s>' % ( f, self.this)
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.Format()
|
return self.Format().encode(wx.GetDefaultPyEncoding())
|
||||||
|
|
||||||
|
|
||||||
class TimeSpanPtr(TimeSpan):
|
class TimeSpanPtr(TimeSpan):
|
||||||
|
@@ -1980,6 +1980,18 @@ class VScrolledWindow(Panel):
|
|||||||
"""GetLineCount(self) -> size_t"""
|
"""GetLineCount(self) -> size_t"""
|
||||||
return _windows_.VScrolledWindow_GetLineCount(*args, **kwargs)
|
return _windows_.VScrolledWindow_GetLineCount(*args, **kwargs)
|
||||||
|
|
||||||
|
def GetVisibleBegin(*args, **kwargs):
|
||||||
|
"""GetVisibleBegin(self) -> size_t"""
|
||||||
|
return _windows_.VScrolledWindow_GetVisibleBegin(*args, **kwargs)
|
||||||
|
|
||||||
|
def GetVisibleEnd(*args, **kwargs):
|
||||||
|
"""GetVisibleEnd(self) -> size_t"""
|
||||||
|
return _windows_.VScrolledWindow_GetVisibleEnd(*args, **kwargs)
|
||||||
|
|
||||||
|
def IsVisible(*args, **kwargs):
|
||||||
|
"""IsVisible(self, size_t line) -> bool"""
|
||||||
|
return _windows_.VScrolledWindow_IsVisible(*args, **kwargs)
|
||||||
|
|
||||||
def GetFirstVisibleLine(*args, **kwargs):
|
def GetFirstVisibleLine(*args, **kwargs):
|
||||||
"""GetFirstVisibleLine(self) -> size_t"""
|
"""GetFirstVisibleLine(self) -> size_t"""
|
||||||
return _windows_.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs)
|
return _windows_.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs)
|
||||||
@@ -1988,10 +2000,6 @@ class VScrolledWindow(Panel):
|
|||||||
"""GetLastVisibleLine(self) -> size_t"""
|
"""GetLastVisibleLine(self) -> size_t"""
|
||||||
return _windows_.VScrolledWindow_GetLastVisibleLine(*args, **kwargs)
|
return _windows_.VScrolledWindow_GetLastVisibleLine(*args, **kwargs)
|
||||||
|
|
||||||
def IsVisible(*args, **kwargs):
|
|
||||||
"""IsVisible(self, size_t line) -> bool"""
|
|
||||||
return _windows_.VScrolledWindow_IsVisible(*args, **kwargs)
|
|
||||||
|
|
||||||
|
|
||||||
class VScrolledWindowPtr(VScrolledWindow):
|
class VScrolledWindowPtr(VScrolledWindow):
|
||||||
def __init__(self, this):
|
def __init__(self, this):
|
||||||
@@ -3600,10 +3608,6 @@ class PyWindow(_core.Window):
|
|||||||
"""base_ShouldInheritColours(self) -> bool"""
|
"""base_ShouldInheritColours(self) -> bool"""
|
||||||
return _windows_.PyWindow_base_ShouldInheritColours(*args, **kwargs)
|
return _windows_.PyWindow_base_ShouldInheritColours(*args, **kwargs)
|
||||||
|
|
||||||
def base_ApplyParentThemeBackground(*args, **kwargs):
|
|
||||||
"""base_ApplyParentThemeBackground(self, Colour c)"""
|
|
||||||
return _windows_.PyWindow_base_ApplyParentThemeBackground(*args, **kwargs)
|
|
||||||
|
|
||||||
def base_GetDefaultAttributes(*args, **kwargs):
|
def base_GetDefaultAttributes(*args, **kwargs):
|
||||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||||
return _windows_.PyWindow_base_GetDefaultAttributes(*args, **kwargs)
|
return _windows_.PyWindow_base_GetDefaultAttributes(*args, **kwargs)
|
||||||
@@ -3721,10 +3725,6 @@ class PyPanel(Panel):
|
|||||||
"""base_ShouldInheritColours(self) -> bool"""
|
"""base_ShouldInheritColours(self) -> bool"""
|
||||||
return _windows_.PyPanel_base_ShouldInheritColours(*args, **kwargs)
|
return _windows_.PyPanel_base_ShouldInheritColours(*args, **kwargs)
|
||||||
|
|
||||||
def base_ApplyParentThemeBackground(*args, **kwargs):
|
|
||||||
"""base_ApplyParentThemeBackground(self, Colour c)"""
|
|
||||||
return _windows_.PyPanel_base_ApplyParentThemeBackground(*args, **kwargs)
|
|
||||||
|
|
||||||
def base_GetDefaultAttributes(*args, **kwargs):
|
def base_GetDefaultAttributes(*args, **kwargs):
|
||||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||||
return _windows_.PyPanel_base_GetDefaultAttributes(*args, **kwargs)
|
return _windows_.PyPanel_base_GetDefaultAttributes(*args, **kwargs)
|
||||||
@@ -3842,10 +3842,6 @@ class PyScrolledWindow(ScrolledWindow):
|
|||||||
"""base_ShouldInheritColours(self) -> bool"""
|
"""base_ShouldInheritColours(self) -> bool"""
|
||||||
return _windows_.PyScrolledWindow_base_ShouldInheritColours(*args, **kwargs)
|
return _windows_.PyScrolledWindow_base_ShouldInheritColours(*args, **kwargs)
|
||||||
|
|
||||||
def base_ApplyParentThemeBackground(*args, **kwargs):
|
|
||||||
"""base_ApplyParentThemeBackground(self, Colour c)"""
|
|
||||||
return _windows_.PyScrolledWindow_base_ApplyParentThemeBackground(*args, **kwargs)
|
|
||||||
|
|
||||||
def base_GetDefaultAttributes(*args, **kwargs):
|
def base_GetDefaultAttributes(*args, **kwargs):
|
||||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||||
return _windows_.PyScrolledWindow_base_GetDefaultAttributes(*args, **kwargs)
|
return _windows_.PyScrolledWindow_base_GetDefaultAttributes(*args, **kwargs)
|
||||||
|
@@ -2138,7 +2138,6 @@ public:
|
|||||||
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
||||||
DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
|
|
||||||
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||||
@@ -2173,7 +2172,6 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
|
|||||||
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
|
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
|
IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
|
||||||
IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
|
|
||||||
IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
|
IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
|
IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
|
||||||
@@ -2219,7 +2217,6 @@ public:
|
|||||||
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
||||||
DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
|
|
||||||
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||||
@@ -2254,7 +2251,6 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
|
|||||||
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
|
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
|
IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
|
||||||
IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
|
|
||||||
IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
|
IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
|
IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
|
||||||
@@ -2299,7 +2295,6 @@ public:
|
|||||||
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
|
||||||
DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
|
|
||||||
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
|
||||||
|
|
||||||
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
|
||||||
@@ -2334,7 +2329,6 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
|
|||||||
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
|
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
|
IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
|
||||||
IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
|
|
||||||
IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
|
IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
|
||||||
|
|
||||||
IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
|
IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
|
||||||
@@ -11591,6 +11585,96 @@ static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
|
||||||
|
size_t result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
|
||||||
|
}
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
|
||||||
|
size_t result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
|
||||||
|
}
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
|
||||||
|
size_t arg2 ;
|
||||||
|
bool result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
PyObject * obj1 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self",(char *) "line", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
|
||||||
|
if (SWIG_arg_fail(2)) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||||
|
}
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
|
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
|
||||||
@@ -11647,40 +11731,6 @@ static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
|
|
||||||
size_t arg2 ;
|
|
||||||
bool result;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
PyObject * obj1 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self",(char *) "line", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
|
|
||||||
if (SWIG_arg_fail(2)) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
||||||
}
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
|
static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
|
||||||
PyObject *obj;
|
PyObject *obj;
|
||||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||||
@@ -18576,38 +18626,6 @@ static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxPyWindow *arg1 = (wxPyWindow *) 0 ;
|
|
||||||
wxColour *arg2 = 0 ;
|
|
||||||
wxColour temp2 ;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
PyObject * obj1 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self",(char *) "c", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
arg2 = &temp2;
|
|
||||||
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
(arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
Py_INCREF(Py_None); resultobj = Py_None;
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyWindow *arg1 = (wxPyWindow *) 0 ;
|
wxPyWindow *arg1 = (wxPyWindow *) 0 ;
|
||||||
@@ -19445,38 +19463,6 @@ static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *a
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxPyPanel *arg1 = (wxPyPanel *) 0 ;
|
|
||||||
wxColour *arg2 = 0 ;
|
|
||||||
wxColour temp2 ;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
PyObject * obj1 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self",(char *) "c", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
arg2 = &temp2;
|
|
||||||
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
(arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
Py_INCREF(Py_None); resultobj = Py_None;
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyPanel *arg1 = (wxPyPanel *) 0 ;
|
wxPyPanel *arg1 = (wxPyPanel *) 0 ;
|
||||||
@@ -20314,38 +20300,6 @@ static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, Py
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
|
|
||||||
wxColour *arg2 = 0 ;
|
|
||||||
wxColour temp2 ;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
PyObject * obj1 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self",(char *) "c", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
arg2 = &temp2;
|
|
||||||
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
(arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
Py_INCREF(Py_None); resultobj = Py_None;
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
|
wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
|
||||||
@@ -28061,9 +28015,11 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
|
{ (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -28260,7 +28216,6 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -28286,7 +28241,6 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -28312,7 +28266,6 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
|
{ (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
|
||||||
|
@@ -188,6 +188,7 @@ wxRadioButton_GetClassDefaultAttributes = wx._controls.RadioButton_GetClassDefau
|
|||||||
wxSliderNameStr = wx._controls.SliderNameStr
|
wxSliderNameStr = wx._controls.SliderNameStr
|
||||||
wxSL_HORIZONTAL = wx._controls.SL_HORIZONTAL
|
wxSL_HORIZONTAL = wx._controls.SL_HORIZONTAL
|
||||||
wxSL_VERTICAL = wx._controls.SL_VERTICAL
|
wxSL_VERTICAL = wx._controls.SL_VERTICAL
|
||||||
|
wxSL_TICKS = wx._controls.SL_TICKS
|
||||||
wxSL_AUTOTICKS = wx._controls.SL_AUTOTICKS
|
wxSL_AUTOTICKS = wx._controls.SL_AUTOTICKS
|
||||||
wxSL_LABELS = wx._controls.SL_LABELS
|
wxSL_LABELS = wx._controls.SL_LABELS
|
||||||
wxSL_LEFT = wx._controls.SL_LEFT
|
wxSL_LEFT = wx._controls.SL_LEFT
|
||||||
|
Reference in New Issue
Block a user