mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-22 06:05:36 +08:00
reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -319,7 +319,7 @@ static swig_type_info *swig_types[18];
|
||||
// Some conversion helpers
|
||||
static wxVariant _PyObj2Variant(PyObject* value);
|
||||
static bool _PyObj2Variant(PyObject* value, wxVariant& wv);
|
||||
static PyObject* _Variant2PyObj(wxVariant& value, bool useNone=False);
|
||||
static PyObject* _Variant2PyObj(wxVariant& value, bool useNone=false);
|
||||
static wxString _VARTYPEname(VARTYPE vt);
|
||||
|
||||
// Check if an exception has been raised (blocking threads)
|
||||
@@ -740,7 +740,7 @@ public:
|
||||
// conversion errors for now
|
||||
wxVariant wv;
|
||||
MSWVariantToVariant(rv, wv);
|
||||
rval = _Variant2PyObj(wv, True);
|
||||
rval = _Variant2PyObj(wv, true);
|
||||
VariantClear(&rv);
|
||||
|
||||
if (func.hasOut) {
|
||||
@@ -757,7 +757,7 @@ public:
|
||||
const wxParamX &px = func.params[i];
|
||||
if (px.IsOut()) {
|
||||
MSWVariantToVariant(va, wv);
|
||||
PyObject* obj = _Variant2PyObj(wv, True);
|
||||
PyObject* obj = _Variant2PyObj(wv, true);
|
||||
PyList_Append(lst, obj);
|
||||
}
|
||||
}
|
||||
@@ -808,7 +808,7 @@ void wxActiveXEvent__preCallInit(wxActiveXEvent *self,PyObject *pyself){
|
||||
Py_DECREF(pList);
|
||||
for (int i=0; i<self->ParamCount(); i+=1) {
|
||||
PyObject* name = PyString_FromString((char*)(const char*)self->ParamName(i).mb_str());
|
||||
PyObject* val = _Variant2PyObj((*self)[i], True);
|
||||
PyObject* val = _Variant2PyObj((*self)[i], true);
|
||||
PyObject_SetAttr(pyself, name, val);
|
||||
PyList_Append(pList, name);
|
||||
Py_DECREF(val);
|
||||
@@ -1247,7 +1247,7 @@ static PyObject *_wrap_new_CLSID(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxString *arg1 = 0 ;
|
||||
CLSID *result;
|
||||
bool temp1 = False ;
|
||||
bool temp1 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "id", NULL
|
||||
@@ -1257,7 +1257,7 @@ static PyObject *_wrap_new_CLSID(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
{
|
||||
arg1 = wxString_in_helper(obj0);
|
||||
if (arg1 == NULL) SWIG_fail;
|
||||
temp1 = True;
|
||||
temp1 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -2231,7 +2231,7 @@ static PyObject *_wrap_new_ActiveXWindow(PyObject *, PyObject *args, PyObject *k
|
||||
wxActiveXWindow *result;
|
||||
wxPoint temp4 ;
|
||||
wxSize temp5 ;
|
||||
bool temp7 = False ;
|
||||
bool temp7 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -2277,7 +2277,7 @@ static PyObject *_wrap_new_ActiveXWindow(PyObject *, PyObject *args, PyObject *k
|
||||
{
|
||||
arg7 = wxString_in_helper(obj6);
|
||||
if (arg7 == NULL) SWIG_fail;
|
||||
temp7 = True;
|
||||
temp7 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -2452,7 +2452,7 @@ static PyObject *_wrap_ActiveXWindow_GetAXPropDesc__SWIG_1(PyObject *, PyObject
|
||||
wxActiveXWindow *arg1 = (wxActiveXWindow *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
wxPropX *result;
|
||||
bool temp2 = False ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
|
||||
@@ -2462,7 +2462,7 @@ static PyObject *_wrap_ActiveXWindow_GetAXPropDesc__SWIG_1(PyObject *, PyObject
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = True;
|
||||
temp2 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -2603,7 +2603,7 @@ static PyObject *_wrap_ActiveXWindow_GetAXMethodDesc__SWIG_1(PyObject *, PyObjec
|
||||
wxActiveXWindow *arg1 = (wxActiveXWindow *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
wxFuncX *result;
|
||||
bool temp2 = False ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
|
||||
@@ -2613,7 +2613,7 @@ static PyObject *_wrap_ActiveXWindow_GetAXMethodDesc__SWIG_1(PyObject *, PyObjec
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = True;
|
||||
temp2 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -2785,7 +2785,7 @@ static PyObject *_wrap_ActiveXWindow_SetAXProp(PyObject *, PyObject *args, PyObj
|
||||
wxActiveXWindow *arg1 = (wxActiveXWindow *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
PyObject *arg3 = (PyObject *) 0 ;
|
||||
bool temp2 = False ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -2799,7 +2799,7 @@ static PyObject *_wrap_ActiveXWindow_SetAXProp(PyObject *, PyObject *args, PyObj
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = True;
|
||||
temp2 = true;
|
||||
}
|
||||
arg3 = obj2;
|
||||
{
|
||||
@@ -2829,7 +2829,7 @@ static PyObject *_wrap_ActiveXWindow_GetAXProp(PyObject *, PyObject *args, PyObj
|
||||
wxActiveXWindow *arg1 = (wxActiveXWindow *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
PyObject *result;
|
||||
bool temp2 = False ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -2842,7 +2842,7 @@ static PyObject *_wrap_ActiveXWindow_GetAXProp(PyObject *, PyObject *args, PyObj
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = True;
|
||||
temp2 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -2872,7 +2872,7 @@ static PyObject *_wrap_ActiveXWindow__CallAXMethod(PyObject *, PyObject *args) {
|
||||
wxString *arg2 = 0 ;
|
||||
PyObject *arg3 = (PyObject *) 0 ;
|
||||
PyObject *result;
|
||||
bool temp2 = False ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -2883,7 +2883,7 @@ static PyObject *_wrap_ActiveXWindow__CallAXMethod(PyObject *, PyObject *args) {
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = True;
|
||||
temp2 = true;
|
||||
}
|
||||
arg3 = obj2;
|
||||
{
|
||||
@@ -2919,7 +2919,7 @@ static PyObject *_wrap_RegisterActiveXEvent(PyObject *, PyObject *args, PyObject
|
||||
PyObject *resultobj;
|
||||
wxString *arg1 = 0 ;
|
||||
wxEventType result;
|
||||
bool temp1 = False ;
|
||||
bool temp1 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "eventName", NULL
|
||||
@@ -2929,7 +2929,7 @@ static PyObject *_wrap_RegisterActiveXEvent(PyObject *, PyObject *args, PyObject
|
||||
{
|
||||
arg1 = wxString_in_helper(obj0);
|
||||
if (arg1 == NULL) SWIG_fail;
|
||||
temp1 = True;
|
||||
temp1 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -3063,7 +3063,7 @@ static PyObject *_wrap_new_IEHtmlWindowBase(PyObject *, PyObject *args, PyObject
|
||||
wxIEHtmlWindowBase *result;
|
||||
wxPoint temp4 ;
|
||||
wxSize temp5 ;
|
||||
bool temp7 = False ;
|
||||
bool temp7 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -3109,7 +3109,7 @@ static PyObject *_wrap_new_IEHtmlWindowBase(PyObject *, PyObject *args, PyObject
|
||||
{
|
||||
arg7 = wxString_in_helper(obj6);
|
||||
if (arg7 == NULL) SWIG_fail;
|
||||
temp7 = True;
|
||||
temp7 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -3139,7 +3139,7 @@ static PyObject *_wrap_IEHtmlWindowBase_SetCharset(PyObject *, PyObject *args, P
|
||||
PyObject *resultobj;
|
||||
wxIEHtmlWindowBase *arg1 = (wxIEHtmlWindowBase *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = False ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -3152,7 +3152,7 @@ static PyObject *_wrap_IEHtmlWindowBase_SetCharset(PyObject *, PyObject *args, P
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = True;
|
||||
temp2 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -3181,7 +3181,7 @@ static PyObject *_wrap_IEHtmlWindowBase_LoadString(PyObject *, PyObject *args, P
|
||||
wxIEHtmlWindowBase *arg1 = (wxIEHtmlWindowBase *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool result;
|
||||
bool temp2 = False ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -3194,7 +3194,7 @@ static PyObject *_wrap_IEHtmlWindowBase_LoadString(PyObject *, PyObject *args, P
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = True;
|
||||
temp2 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -3239,15 +3239,15 @@ static PyObject *_wrap_IEHtmlWindowBase_LoadStream(PyObject *, PyObject *args, P
|
||||
{
|
||||
if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
|
||||
arg2 = temp2->m_wxis;
|
||||
created2 = False;
|
||||
created2 = false;
|
||||
} else {
|
||||
PyErr_Clear(); // clear the failure of the wxPyConvert above
|
||||
arg2 = wxPyCBInputStream_create(obj1, False);
|
||||
arg2 = wxPyCBInputStream_create(obj1, false);
|
||||
if (arg2 == NULL) {
|
||||
PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
|
||||
SWIG_fail;
|
||||
}
|
||||
created2 = True;
|
||||
created2 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
|
||||
@@ -325,15 +325,15 @@ class LEDNumberCtrl(_core.Control):
|
||||
return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
|
||||
|
||||
def SetAlignment(*args, **kwargs):
|
||||
"""SetAlignment(self, int Alignment, bool Redraw=true)"""
|
||||
"""SetAlignment(self, int Alignment, bool Redraw=True)"""
|
||||
return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
|
||||
|
||||
def SetDrawFaded(*args, **kwargs):
|
||||
"""SetDrawFaded(self, bool DrawFaded, bool Redraw=true)"""
|
||||
"""SetDrawFaded(self, bool DrawFaded, bool Redraw=True)"""
|
||||
return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
|
||||
|
||||
def SetValue(*args, **kwargs):
|
||||
"""SetValue(self, String Value, bool Redraw=true)"""
|
||||
"""SetValue(self, String Value, bool Redraw=True)"""
|
||||
return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -325,15 +325,15 @@ class LEDNumberCtrl(_core.Control):
|
||||
return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
|
||||
|
||||
def SetAlignment(*args, **kwargs):
|
||||
"""SetAlignment(self, int Alignment, bool Redraw=true)"""
|
||||
"""SetAlignment(self, int Alignment, bool Redraw=True)"""
|
||||
return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
|
||||
|
||||
def SetDrawFaded(*args, **kwargs):
|
||||
"""SetDrawFaded(self, bool DrawFaded, bool Redraw=true)"""
|
||||
"""SetDrawFaded(self, bool DrawFaded, bool Redraw=True)"""
|
||||
return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
|
||||
|
||||
def SetValue(*args, **kwargs):
|
||||
"""SetValue(self, String Value, bool Redraw=true)"""
|
||||
"""SetValue(self, String Value, bool Redraw=True)"""
|
||||
return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -589,7 +589,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *, PyObject *args, PyObject
|
||||
PyObject *resultobj;
|
||||
wxGLContext *arg1 = (wxGLContext *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = False ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -602,7 +602,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *, PyObject *args, PyObject
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = True;
|
||||
temp2 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -818,7 +818,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *, PyObject *args, PyObject *kwargs
|
||||
wxGLCanvas *result;
|
||||
wxPoint temp3 ;
|
||||
wxSize temp4 ;
|
||||
bool temp6 = False ;
|
||||
bool temp6 = false ;
|
||||
int *temp7 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -859,7 +859,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *, PyObject *args, PyObject *kwargs
|
||||
{
|
||||
arg6 = wxString_in_helper(obj5);
|
||||
if (arg6 == NULL) SWIG_fail;
|
||||
temp6 = True;
|
||||
temp6 = true;
|
||||
}
|
||||
}
|
||||
if (obj6) {
|
||||
@@ -932,7 +932,7 @@ static PyObject *_wrap_new_GLCanvasWithContext(PyObject *, PyObject *args, PyObj
|
||||
wxGLCanvas *result;
|
||||
wxPoint temp4 ;
|
||||
wxSize temp5 ;
|
||||
bool temp7 = False ;
|
||||
bool temp7 = false ;
|
||||
int *temp8 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -978,7 +978,7 @@ static PyObject *_wrap_new_GLCanvasWithContext(PyObject *, PyObject *args, PyObj
|
||||
{
|
||||
arg7 = wxString_in_helper(obj6);
|
||||
if (arg7 == NULL) SWIG_fail;
|
||||
temp7 = True;
|
||||
temp7 = true;
|
||||
}
|
||||
}
|
||||
if (obj7) {
|
||||
@@ -1062,7 +1062,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *, PyObject *args, PyObject *
|
||||
PyObject *resultobj;
|
||||
wxGLCanvas *arg1 = (wxGLCanvas *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = False ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -1075,7 +1075,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *, PyObject *args, PyObject *
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = True;
|
||||
temp2 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
|
||||
@@ -589,7 +589,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *, PyObject *args, PyObject
|
||||
PyObject *resultobj;
|
||||
wxGLContext *arg1 = (wxGLContext *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = False ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -602,7 +602,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *, PyObject *args, PyObject
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = True;
|
||||
temp2 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -703,7 +703,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *, PyObject *args, PyObject *kwargs
|
||||
wxGLCanvas *result;
|
||||
wxPoint temp3 ;
|
||||
wxSize temp4 ;
|
||||
bool temp6 = False ;
|
||||
bool temp6 = false ;
|
||||
int *temp7 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -744,7 +744,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *, PyObject *args, PyObject *kwargs
|
||||
{
|
||||
arg6 = wxString_in_helper(obj5);
|
||||
if (arg6 == NULL) SWIG_fail;
|
||||
temp6 = True;
|
||||
temp6 = true;
|
||||
}
|
||||
}
|
||||
if (obj6) {
|
||||
@@ -817,7 +817,7 @@ static PyObject *_wrap_new_GLCanvasWithContext(PyObject *, PyObject *args, PyObj
|
||||
wxGLCanvas *result;
|
||||
wxPoint temp4 ;
|
||||
wxSize temp5 ;
|
||||
bool temp7 = False ;
|
||||
bool temp7 = false ;
|
||||
int *temp8 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -863,7 +863,7 @@ static PyObject *_wrap_new_GLCanvasWithContext(PyObject *, PyObject *args, PyObj
|
||||
{
|
||||
arg7 = wxString_in_helper(obj6);
|
||||
if (arg7 == NULL) SWIG_fail;
|
||||
temp7 = True;
|
||||
temp7 = true;
|
||||
}
|
||||
}
|
||||
if (obj7) {
|
||||
@@ -947,7 +947,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *, PyObject *args, PyObject *
|
||||
PyObject *resultobj;
|
||||
wxGLCanvas *arg1 = (wxGLCanvas *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = False ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -960,7 +960,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *, PyObject *args, PyObject *
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = True;
|
||||
temp2 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
|
||||
@@ -607,7 +607,7 @@ static PyObject *_wrap_new_IEHtmlWin(PyObject *, PyObject *args, PyObject *kwarg
|
||||
wxIEHtmlWin *result;
|
||||
wxPoint temp3 ;
|
||||
wxSize temp4 ;
|
||||
bool temp6 = False ;
|
||||
bool temp6 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -645,7 +645,7 @@ static PyObject *_wrap_new_IEHtmlWin(PyObject *, PyObject *args, PyObject *kwarg
|
||||
{
|
||||
arg6 = wxString_in_helper(obj5);
|
||||
if (arg6 == NULL) SWIG_fail;
|
||||
temp6 = True;
|
||||
temp6 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -675,7 +675,7 @@ static PyObject *_wrap_IEHtmlWin_LoadUrl(PyObject *, PyObject *args, PyObject *k
|
||||
PyObject *resultobj;
|
||||
wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = False ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -688,7 +688,7 @@ static PyObject *_wrap_IEHtmlWin_LoadUrl(PyObject *, PyObject *args, PyObject *k
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = True;
|
||||
temp2 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -767,15 +767,15 @@ static PyObject *_wrap_IEHtmlWin_LoadStream(PyObject *, PyObject *args, PyObject
|
||||
{
|
||||
if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
|
||||
arg2 = temp2->m_wxis;
|
||||
created2 = False;
|
||||
created2 = false;
|
||||
} else {
|
||||
PyErr_Clear(); // clear the failure of the wxPyConvert above
|
||||
arg2 = wxPyCBInputStream_create(obj1, False);
|
||||
arg2 = wxPyCBInputStream_create(obj1, false);
|
||||
if (arg2 == NULL) {
|
||||
PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
|
||||
SWIG_fail;
|
||||
}
|
||||
created2 = True;
|
||||
created2 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -895,7 +895,7 @@ static PyObject *_wrap_IEHtmlWin_GetEditMode(PyObject *, PyObject *args, PyObjec
|
||||
static PyObject *_wrap_IEHtmlWin_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
|
||||
bool arg2 = (bool) False ;
|
||||
bool arg2 = (bool) false ;
|
||||
wxString result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -933,7 +933,7 @@ static PyObject *_wrap_IEHtmlWin_GetStringSelection(PyObject *, PyObject *args,
|
||||
static PyObject *_wrap_IEHtmlWin_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxIEHtmlWin *arg1 = (wxIEHtmlWin *) 0 ;
|
||||
bool arg2 = (bool) False ;
|
||||
bool arg2 = (bool) false ;
|
||||
wxString result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
|
||||
@@ -1223,11 +1223,11 @@ class PseudoMetaFile(_core.Object):
|
||||
return _ogl.PseudoMetaFile_DestroyClippingRect(*args, **kwargs)
|
||||
|
||||
def SetPen(*args, **kwargs):
|
||||
"""SetPen(self, wxPen pen, bool isOutline=FALSE)"""
|
||||
"""SetPen(self, wxPen pen, bool isOutline=False)"""
|
||||
return _ogl.PseudoMetaFile_SetPen(*args, **kwargs)
|
||||
|
||||
def SetBrush(*args, **kwargs):
|
||||
"""SetBrush(self, wxBrush brush, bool isFill=FALSE)"""
|
||||
"""SetBrush(self, wxBrush brush, bool isFill=False)"""
|
||||
return _ogl.PseudoMetaFile_SetBrush(*args, **kwargs)
|
||||
|
||||
def SetFont(*args, **kwargs):
|
||||
@@ -1290,7 +1290,7 @@ class PyRectangleShape(PyShape):
|
||||
return _ogl.PyRectangleShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyRectangleShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -1452,7 +1452,7 @@ class PyControlPoint(PyRectangleShape):
|
||||
return _ogl.PyControlPoint_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyControlPoint_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -1622,7 +1622,7 @@ class PyBitmapShape(PyRectangleShape):
|
||||
return _ogl.PyBitmapShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyBitmapShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -1848,7 +1848,7 @@ class PyDrawnShape(PyRectangleShape):
|
||||
return _ogl.PyDrawnShape_SetDrawnBackgroundMode(*args, **kwargs)
|
||||
|
||||
def SetDrawnBrush(*args, **kwargs):
|
||||
"""SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)"""
|
||||
"""SetDrawnBrush(self, wxBrush pen, bool isOutline=False)"""
|
||||
return _ogl.PyDrawnShape_SetDrawnBrush(*args, **kwargs)
|
||||
|
||||
def SetDrawnFont(*args, **kwargs):
|
||||
@@ -1856,7 +1856,7 @@ class PyDrawnShape(PyRectangleShape):
|
||||
return _ogl.PyDrawnShape_SetDrawnFont(*args, **kwargs)
|
||||
|
||||
def SetDrawnPen(*args, **kwargs):
|
||||
"""SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)"""
|
||||
"""SetDrawnPen(self, wxPen pen, bool isOutline=False)"""
|
||||
return _ogl.PyDrawnShape_SetDrawnPen(*args, **kwargs)
|
||||
|
||||
def SetDrawnTextColour(*args, **kwargs):
|
||||
@@ -1888,7 +1888,7 @@ class PyDrawnShape(PyRectangleShape):
|
||||
return _ogl.PyDrawnShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyDrawnShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -2127,7 +2127,7 @@ class PyCompositeShape(PyRectangleShape):
|
||||
return _ogl.PyCompositeShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyCompositeShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -2289,7 +2289,7 @@ class PyDividedShape(PyRectangleShape):
|
||||
return _ogl.PyDividedShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyDividedShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -2543,7 +2543,7 @@ class PyDivisionShape(PyCompositeShape):
|
||||
return _ogl.PyDivisionShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyDivisionShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -2693,7 +2693,7 @@ class PyEllipseShape(PyShape):
|
||||
return _ogl.PyEllipseShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyEllipseShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -2843,7 +2843,7 @@ class PyCircleShape(PyEllipseShape):
|
||||
return _ogl.PyCircleShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyCircleShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -3276,7 +3276,7 @@ class PyLineShape(PyShape):
|
||||
return _ogl.PyLineShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyLineShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -3470,7 +3470,7 @@ class PyPolygonShape(PyShape):
|
||||
return _ogl.PyPolygonShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyPolygonShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -3624,7 +3624,7 @@ class PyTextShape(PyRectangleShape):
|
||||
return _ogl.PyTextShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyTextShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1223,11 +1223,11 @@ class PseudoMetaFile(_core.Object):
|
||||
return _ogl.PseudoMetaFile_DestroyClippingRect(*args, **kwargs)
|
||||
|
||||
def SetPen(*args, **kwargs):
|
||||
"""SetPen(self, wxPen pen, bool isOutline=FALSE)"""
|
||||
"""SetPen(self, wxPen pen, bool isOutline=False)"""
|
||||
return _ogl.PseudoMetaFile_SetPen(*args, **kwargs)
|
||||
|
||||
def SetBrush(*args, **kwargs):
|
||||
"""SetBrush(self, wxBrush brush, bool isFill=FALSE)"""
|
||||
"""SetBrush(self, wxBrush brush, bool isFill=False)"""
|
||||
return _ogl.PseudoMetaFile_SetBrush(*args, **kwargs)
|
||||
|
||||
def SetFont(*args, **kwargs):
|
||||
@@ -1290,7 +1290,7 @@ class PyRectangleShape(PyShape):
|
||||
return _ogl.PyRectangleShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyRectangleShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -1452,7 +1452,7 @@ class PyControlPoint(PyRectangleShape):
|
||||
return _ogl.PyControlPoint_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyControlPoint_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -1622,7 +1622,7 @@ class PyBitmapShape(PyRectangleShape):
|
||||
return _ogl.PyBitmapShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyBitmapShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -1848,7 +1848,7 @@ class PyDrawnShape(PyRectangleShape):
|
||||
return _ogl.PyDrawnShape_SetDrawnBackgroundMode(*args, **kwargs)
|
||||
|
||||
def SetDrawnBrush(*args, **kwargs):
|
||||
"""SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)"""
|
||||
"""SetDrawnBrush(self, wxBrush pen, bool isOutline=False)"""
|
||||
return _ogl.PyDrawnShape_SetDrawnBrush(*args, **kwargs)
|
||||
|
||||
def SetDrawnFont(*args, **kwargs):
|
||||
@@ -1856,7 +1856,7 @@ class PyDrawnShape(PyRectangleShape):
|
||||
return _ogl.PyDrawnShape_SetDrawnFont(*args, **kwargs)
|
||||
|
||||
def SetDrawnPen(*args, **kwargs):
|
||||
"""SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)"""
|
||||
"""SetDrawnPen(self, wxPen pen, bool isOutline=False)"""
|
||||
return _ogl.PyDrawnShape_SetDrawnPen(*args, **kwargs)
|
||||
|
||||
def SetDrawnTextColour(*args, **kwargs):
|
||||
@@ -1888,7 +1888,7 @@ class PyDrawnShape(PyRectangleShape):
|
||||
return _ogl.PyDrawnShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyDrawnShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -2127,7 +2127,7 @@ class PyCompositeShape(PyRectangleShape):
|
||||
return _ogl.PyCompositeShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyCompositeShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -2289,7 +2289,7 @@ class PyDividedShape(PyRectangleShape):
|
||||
return _ogl.PyDividedShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyDividedShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -2543,7 +2543,7 @@ class PyDivisionShape(PyCompositeShape):
|
||||
return _ogl.PyDivisionShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyDivisionShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -2693,7 +2693,7 @@ class PyEllipseShape(PyShape):
|
||||
return _ogl.PyEllipseShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyEllipseShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -2843,7 +2843,7 @@ class PyCircleShape(PyEllipseShape):
|
||||
return _ogl.PyCircleShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyCircleShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -3276,7 +3276,7 @@ class PyLineShape(PyShape):
|
||||
return _ogl.PyLineShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyLineShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -3470,7 +3470,7 @@ class PyPolygonShape(PyShape):
|
||||
return _ogl.PyPolygonShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyPolygonShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
@@ -3624,7 +3624,7 @@ class PyTextShape(PyRectangleShape):
|
||||
return _ogl.PyTextShape_base_OnDrawContents(*args, **kwargs)
|
||||
|
||||
def base_OnDrawBranches(*args, **kwargs):
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
|
||||
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
|
||||
return _ogl.PyTextShape_base_OnDrawBranches(*args, **kwargs)
|
||||
|
||||
def base_OnMoveLinks(*args, **kwargs):
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+343
-346
File diff suppressed because it is too large
Load Diff
@@ -7601,7 +7601,7 @@ class Window(EvtHandler):
|
||||
layout sizer object is already owned by the window, it will be deleted
|
||||
if the deleteOld parameter is true. Note that this function will also
|
||||
call SetAutoLayout implicitly with a True parameter if the sizer is
|
||||
non-NoneL and False otherwise.
|
||||
non-None, and False otherwise.
|
||||
"""
|
||||
return _core_.Window_SetSizer(*args, **kwargs)
|
||||
|
||||
@@ -9400,7 +9400,7 @@ class Sizer(Object):
|
||||
|
||||
def Show(*args, **kwargs):
|
||||
"""
|
||||
Show(self, item, bool show=True, bool recursive=False) -> bool
|
||||
Show(self, item, bool show=True, bool recursive=false) -> bool
|
||||
|
||||
Shows or hides an item managed by the sizer. To make a sizer item
|
||||
disappear or reappear, use Show followed by `Layout`. The *item*
|
||||
@@ -9425,7 +9425,7 @@ class Sizer(Object):
|
||||
"""
|
||||
A convenience method for Show(item, False, recursive).
|
||||
"""
|
||||
return self.Show(item, False, recursive)
|
||||
return self.Show(item, false, recursive)
|
||||
|
||||
def ShowItems(*args, **kwargs):
|
||||
"""
|
||||
|
||||
+342
-320
File diff suppressed because it is too large
Load Diff
+145
-145
File diff suppressed because it is too large
Load Diff
+400
-400
File diff suppressed because it is too large
Load Diff
@@ -286,6 +286,7 @@ FRAME_FLOAT_ON_PARENT = _windows_.FRAME_FLOAT_ON_PARENT
|
||||
FRAME_NO_WINDOW_MENU = _windows_.FRAME_NO_WINDOW_MENU
|
||||
FRAME_NO_TASKBAR = _windows_.FRAME_NO_TASKBAR
|
||||
FRAME_SHAPED = _windows_.FRAME_SHAPED
|
||||
FRAME_DRAWER = _windows_.FRAME_DRAWER
|
||||
DIALOG_MODAL = _windows_.DIALOG_MODAL
|
||||
DIALOG_MODELESS = _windows_.DIALOG_MODELESS
|
||||
USER_COLOURS = _windows_.USER_COLOURS
|
||||
|
||||
+244
-238
File diff suppressed because it is too large
Load Diff
@@ -1291,7 +1291,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kw
|
||||
wxCalendarCtrl *result;
|
||||
wxPoint temp4 ;
|
||||
wxSize temp5 ;
|
||||
bool temp7 = False ;
|
||||
bool temp7 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -1339,7 +1339,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kw
|
||||
{
|
||||
arg7 = wxString_in_helper(obj6);
|
||||
if (arg7 == NULL) SWIG_fail;
|
||||
temp7 = True;
|
||||
temp7 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -1405,7 +1405,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject
|
||||
bool result;
|
||||
wxPoint temp5 ;
|
||||
wxSize temp6 ;
|
||||
bool temp8 = False ;
|
||||
bool temp8 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -1454,7 +1454,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject
|
||||
{
|
||||
arg8 = wxString_in_helper(obj7);
|
||||
if (arg8 == NULL) SWIG_fail;
|
||||
temp8 = True;
|
||||
temp8 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -1737,7 +1737,7 @@ static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *, PyObject *args, PyO
|
||||
static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool arg2 = (bool) true ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -1768,7 +1768,7 @@ static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args,
|
||||
static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool arg2 = (bool) true ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -1799,7 +1799,7 @@ static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args
|
||||
static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool arg2 = (bool) true ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
|
||||
+101
-101
File diff suppressed because it is too large
Load Diff
+15
-15
@@ -227,9 +227,9 @@ class HtmlWinParser(HtmlParser):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlWinParser_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlWinParser_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlWinParser_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def GetContainer(*args, **kwargs):
|
||||
"""GetContainer(self) -> HtmlContainerCell"""
|
||||
@@ -1012,9 +1012,9 @@ class HtmlWindow(_windows.ScrolledWindow):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlWindow_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlWindow_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlWindow_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def SetTitle(*args, **kwargs):
|
||||
"""SetTitle(self, String title)"""
|
||||
@@ -1195,9 +1195,9 @@ class HtmlDCRenderer(_core.Object):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlDCRenderer_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlDCRenderer_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def Render(*args, **kwargs):
|
||||
"""
|
||||
@@ -1250,9 +1250,9 @@ class HtmlPrintout(_windows.Printout):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlPrintout_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlPrintout_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlPrintout_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def SetMargins(*args, **kwargs):
|
||||
"""
|
||||
@@ -1338,9 +1338,9 @@ class HtmlEasyPrinting(_core.Object):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlEasyPrinting_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlEasyPrinting_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def GetPrintData(*args, **kwargs):
|
||||
"""GetPrintData(self) -> PrintData"""
|
||||
|
||||
+339
-149
File diff suppressed because it is too large
Load Diff
@@ -601,7 +601,7 @@ static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwa
|
||||
PyObject *resultobj;
|
||||
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
|
||||
int arg2 = (int) -1 ;
|
||||
bool arg3 = (bool) True ;
|
||||
bool arg3 = (bool) true ;
|
||||
wxWizardPage *arg4 = (wxWizardPage *) NULL ;
|
||||
wxWizardEvent *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
@@ -715,7 +715,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *k
|
||||
wxString const &arg4_defvalue = wxPyEmptyString ;
|
||||
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
||||
bool result;
|
||||
bool temp4 = False ;
|
||||
bool temp4 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -742,7 +742,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *k
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = True;
|
||||
temp4 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -868,7 +868,7 @@ static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kw
|
||||
wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ;
|
||||
wxString *arg3 = (wxString *) &wxPyEmptyString ;
|
||||
wxPyWizardPage *result;
|
||||
bool temp3 = False ;
|
||||
bool temp3 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -887,7 +887,7 @@ static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kw
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = True;
|
||||
temp3 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -945,7 +945,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject
|
||||
wxString const &arg4_defvalue = wxPyEmptyString ;
|
||||
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
||||
bool result;
|
||||
bool temp4 = False ;
|
||||
bool temp4 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -972,7 +972,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = True;
|
||||
temp4 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -1865,7 +1865,7 @@ static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs)
|
||||
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
|
||||
long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
|
||||
wxWizard *result;
|
||||
bool temp3 = False ;
|
||||
bool temp3 = false ;
|
||||
wxPoint temp5 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -1888,7 +1888,7 @@ static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs)
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = True;
|
||||
temp3 = true;
|
||||
}
|
||||
}
|
||||
if (obj3) {
|
||||
@@ -1968,7 +1968,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg
|
||||
wxPoint const &arg6_defvalue = wxDefaultPosition ;
|
||||
wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
|
||||
bool result;
|
||||
bool temp4 = False ;
|
||||
bool temp4 = false ;
|
||||
wxPoint temp6 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -1993,7 +1993,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = True;
|
||||
temp4 = true;
|
||||
}
|
||||
}
|
||||
if (obj4) {
|
||||
@@ -2300,7 +2300,7 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwa
|
||||
PyObject *resultobj;
|
||||
wxWizard *arg1 = (wxWizard *) 0 ;
|
||||
wxWizardPage *arg2 = (wxWizardPage *) 0 ;
|
||||
bool arg3 = (bool) True ;
|
||||
bool arg3 = (bool) true ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
|
||||
+136
-136
File diff suppressed because it is too large
Load Diff
@@ -3106,7 +3106,7 @@ class NotebookPage(wx.Panel):
|
||||
wx.Panel.__init__(self, parent, id, pos, size, style, name)
|
||||
self.child = None
|
||||
EVT_SIZE(self, self.OnSize)
|
||||
|
||||
|
||||
def OnSize(self, evt):
|
||||
if self.child is None:
|
||||
children = self.GetChildren()
|
||||
@@ -3193,6 +3193,80 @@ wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING = _controls_.wxEVT_COMMAND_LISTBOOK_PAGE_CH
|
||||
EVT_LISTBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 1 )
|
||||
EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 1 )
|
||||
|
||||
CHB_DEFAULT = _controls_.CHB_DEFAULT
|
||||
CHB_TOP = _controls_.CHB_TOP
|
||||
CHB_BOTTOM = _controls_.CHB_BOTTOM
|
||||
CHB_LEFT = _controls_.CHB_LEFT
|
||||
CHB_RIGHT = _controls_.CHB_RIGHT
|
||||
CHB_ALIGN_MASK = _controls_.CHB_ALIGN_MASK
|
||||
class Choicebook(BookCtrl):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxChoicebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=0, String name=EmptyString) -> Choicebook
|
||||
"""
|
||||
newobj = _controls_.new_Choicebook(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=0, String name=EmptyString) -> bool
|
||||
"""
|
||||
return _controls_.Choicebook_Create(*args, **kwargs)
|
||||
|
||||
def IsVertical(*args, **kwargs):
|
||||
"""IsVertical(self) -> bool"""
|
||||
return _controls_.Choicebook_IsVertical(*args, **kwargs)
|
||||
|
||||
def DeleteAllPages(*args, **kwargs):
|
||||
"""DeleteAllPages(self) -> bool"""
|
||||
return _controls_.Choicebook_DeleteAllPages(*args, **kwargs)
|
||||
|
||||
|
||||
class ChoicebookPtr(Choicebook):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = Choicebook
|
||||
_controls_.Choicebook_swigregister(ChoicebookPtr)
|
||||
|
||||
def PreChoicebook(*args, **kwargs):
|
||||
"""PreChoicebook() -> Choicebook"""
|
||||
val = _controls_.new_PreChoicebook(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
class ChoicebookEvent(BookCtrlEvent):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxChoicebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
|
||||
int nOldSel=-1) -> ChoicebookEvent
|
||||
"""
|
||||
newobj = _controls_.new_ChoicebookEvent(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
|
||||
class ChoicebookEventPtr(ChoicebookEvent):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = ChoicebookEvent
|
||||
_controls_.ChoicebookEvent_swigregister(ChoicebookEventPtr)
|
||||
|
||||
wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED = _controls_.wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
|
||||
wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING = _controls_.wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
|
||||
EVT_CHOICEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED, 1 )
|
||||
EVT_CHOICEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING, 1 )
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class BookCtrlSizer(_core.Sizer):
|
||||
|
||||
+835
-487
File diff suppressed because one or more lines are too long
+88
-12
@@ -1771,6 +1771,11 @@ class FileSystem(Object):
|
||||
return _core_.FileSystem_FileNameToURL(*args, **kwargs)
|
||||
|
||||
FileNameToURL = staticmethod(FileNameToURL)
|
||||
def URLToFileName(*args, **kwargs):
|
||||
"""URLToFileName(String url) -> String"""
|
||||
return _core_.FileSystem_URLToFileName(*args, **kwargs)
|
||||
|
||||
URLToFileName = staticmethod(URLToFileName)
|
||||
|
||||
class FileSystemPtr(FileSystem):
|
||||
def __init__(self, this):
|
||||
@@ -1791,10 +1796,10 @@ def FileSystem_FileNameToURL(*args, **kwargs):
|
||||
"""FileSystem_FileNameToURL(String filename) -> String"""
|
||||
return _core_.FileSystem_FileNameToURL(*args, **kwargs)
|
||||
|
||||
|
||||
def FileSystem_URLToFileName(*args, **kwargs):
|
||||
"""FileSystem_URLToFileName(String url) -> String"""
|
||||
return _core_.FileSystem_URLToFileName(*args, **kwargs)
|
||||
|
||||
class InternetFSHandler(CPPFileSystemHandler):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
@@ -1865,14 +1870,22 @@ def __wxMemoryFSHandler_AddFile_wxBitmap(*args, **kwargs):
|
||||
def __wxMemoryFSHandler_AddFile_Data(*args, **kwargs):
|
||||
"""__wxMemoryFSHandler_AddFile_Data(String filename, PyObject data)"""
|
||||
return _core_.__wxMemoryFSHandler_AddFile_Data(*args, **kwargs)
|
||||
def MemoryFSHandler_AddFile(filename, a, b=''):
|
||||
if isinstance(a, wx.Image):
|
||||
__wxMemoryFSHandler_AddFile_wxImage(filename, a, b)
|
||||
elif isinstance(a, wx.Bitmap):
|
||||
__wxMemoryFSHandler_AddFile_wxBitmap(filename, a, b)
|
||||
elif type(a) == str:
|
||||
__wxMemoryFSHandler_AddFile_Data(filename, a)
|
||||
else: raise TypeError, 'wx.Image, wx.Bitmap or string expected'
|
||||
def MemoryFSHandler_AddFile(filename, dataItem, imgType=-1):
|
||||
"""
|
||||
Add 'file' to the memory filesystem. The dataItem parameter can
|
||||
either be a `wx.Bitmap`, `wx.Image` or a string that can contain
|
||||
arbitrary data. If a bitmap or image is used then the imgType
|
||||
parameter should specify what kind of image file it should be
|
||||
written as, wx.BITMAP_TYPE_PNG, etc.
|
||||
"""
|
||||
if isinstance(dataItem, wx.Image):
|
||||
__wxMemoryFSHandler_AddFile_wxImage(filename, dataItem, imgType)
|
||||
elif isinstance(dataItem, wx.Bitmap):
|
||||
__wxMemoryFSHandler_AddFile_wxBitmap(filename, dataItem, imgType)
|
||||
elif type(dataItem) == str:
|
||||
__wxMemoryFSHandler_AddFile_Data(filename, dataItem)
|
||||
else:
|
||||
raise TypeError, 'wx.Image, wx.Bitmap or string expected'
|
||||
|
||||
class MemoryFSHandler(CPPFileSystemHandler):
|
||||
def __repr__(self):
|
||||
@@ -5398,6 +5411,69 @@ _sys.__wxPythonCleanup = __wxPyCleanup()
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class EventLoop(object):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxEventLoop instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> EventLoop"""
|
||||
newobj = _core_.new_EventLoop(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_core_.delete_EventLoop):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
def Run(*args, **kwargs):
|
||||
"""Run(self) -> int"""
|
||||
return _core_.EventLoop_Run(*args, **kwargs)
|
||||
|
||||
def Exit(*args, **kwargs):
|
||||
"""Exit(self, int rc=0)"""
|
||||
return _core_.EventLoop_Exit(*args, **kwargs)
|
||||
|
||||
def Pending(*args, **kwargs):
|
||||
"""Pending(self) -> bool"""
|
||||
return _core_.EventLoop_Pending(*args, **kwargs)
|
||||
|
||||
def Dispatch(*args, **kwargs):
|
||||
"""Dispatch(self) -> bool"""
|
||||
return _core_.EventLoop_Dispatch(*args, **kwargs)
|
||||
|
||||
def IsRunning(*args, **kwargs):
|
||||
"""IsRunning(self) -> bool"""
|
||||
return _core_.EventLoop_IsRunning(*args, **kwargs)
|
||||
|
||||
def GetActive(*args, **kwargs):
|
||||
"""GetActive() -> EventLoop"""
|
||||
return _core_.EventLoop_GetActive(*args, **kwargs)
|
||||
|
||||
GetActive = staticmethod(GetActive)
|
||||
def SetActive(*args, **kwargs):
|
||||
"""SetActive(EventLoop loop)"""
|
||||
return _core_.EventLoop_SetActive(*args, **kwargs)
|
||||
|
||||
SetActive = staticmethod(SetActive)
|
||||
|
||||
class EventLoopPtr(EventLoop):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = EventLoop
|
||||
_core_.EventLoop_swigregister(EventLoopPtr)
|
||||
|
||||
def EventLoop_GetActive(*args, **kwargs):
|
||||
"""EventLoop_GetActive() -> EventLoop"""
|
||||
return _core_.EventLoop_GetActive(*args, **kwargs)
|
||||
|
||||
def EventLoop_SetActive(*args, **kwargs):
|
||||
"""EventLoop_SetActive(EventLoop loop)"""
|
||||
return _core_.EventLoop_SetActive(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class AcceleratorEntry(object):
|
||||
"""
|
||||
A class used to define items in an `wx.AcceleratorTable`. wxPython
|
||||
@@ -7538,7 +7614,7 @@ class Window(EvtHandler):
|
||||
layout sizer object is already owned by the window, it will be deleted
|
||||
if the deleteOld parameter is true. Note that this function will also
|
||||
call SetAutoLayout implicitly with a True parameter if the sizer is
|
||||
non-NoneL and False otherwise.
|
||||
non-None, and False otherwise.
|
||||
"""
|
||||
return _core_.Window_SetSizer(*args, **kwargs)
|
||||
|
||||
@@ -9393,7 +9469,7 @@ class Sizer(Object):
|
||||
|
||||
def Show(*args, **kwargs):
|
||||
"""
|
||||
Show(self, item, bool show=True, bool recursive=False) -> bool
|
||||
Show(self, item, bool show=True, bool recursive=false) -> bool
|
||||
|
||||
Shows or hides an item managed by the sizer. To make a sizer item
|
||||
disappear or reappear, use Show followed by `Layout`. The *item*
|
||||
@@ -9418,7 +9494,7 @@ class Sizer(Object):
|
||||
"""
|
||||
A convenience method for Show(item, False, recursive).
|
||||
"""
|
||||
return self.Show(item, False, recursive)
|
||||
return self.Show(item, false, recursive)
|
||||
|
||||
def ShowItems(*args, **kwargs):
|
||||
"""
|
||||
|
||||
+774
-487
File diff suppressed because it is too large
Load Diff
+146
-146
File diff suppressed because it is too large
Load Diff
+400
-400
File diff suppressed because it is too large
Load Diff
@@ -294,6 +294,7 @@ FRAME_FLOAT_ON_PARENT = _windows_.FRAME_FLOAT_ON_PARENT
|
||||
FRAME_NO_WINDOW_MENU = _windows_.FRAME_NO_WINDOW_MENU
|
||||
FRAME_NO_TASKBAR = _windows_.FRAME_NO_TASKBAR
|
||||
FRAME_SHAPED = _windows_.FRAME_SHAPED
|
||||
FRAME_DRAWER = _windows_.FRAME_DRAWER
|
||||
DIALOG_MODAL = _windows_.DIALOG_MODAL
|
||||
DIALOG_MODELESS = _windows_.DIALOG_MODELESS
|
||||
USER_COLOURS = _windows_.USER_COLOURS
|
||||
@@ -3701,6 +3702,21 @@ PRINT_MODE_PREVIEW = _windows_.PRINT_MODE_PREVIEW
|
||||
PRINT_MODE_FILE = _windows_.PRINT_MODE_FILE
|
||||
PRINT_MODE_PRINTER = _windows_.PRINT_MODE_PRINTER
|
||||
PRINT_MODE_STREAM = _windows_.PRINT_MODE_STREAM
|
||||
PRINTBIN_DEFAULT = _windows_.PRINTBIN_DEFAULT
|
||||
PRINTBIN_ONLYONE = _windows_.PRINTBIN_ONLYONE
|
||||
PRINTBIN_LOWER = _windows_.PRINTBIN_LOWER
|
||||
PRINTBIN_MIDDLE = _windows_.PRINTBIN_MIDDLE
|
||||
PRINTBIN_MANUAL = _windows_.PRINTBIN_MANUAL
|
||||
PRINTBIN_ENVELOPE = _windows_.PRINTBIN_ENVELOPE
|
||||
PRINTBIN_ENVMANUAL = _windows_.PRINTBIN_ENVMANUAL
|
||||
PRINTBIN_AUTO = _windows_.PRINTBIN_AUTO
|
||||
PRINTBIN_TRACTOR = _windows_.PRINTBIN_TRACTOR
|
||||
PRINTBIN_SMALLFMT = _windows_.PRINTBIN_SMALLFMT
|
||||
PRINTBIN_LARGEFMT = _windows_.PRINTBIN_LARGEFMT
|
||||
PRINTBIN_LARGECAPACITY = _windows_.PRINTBIN_LARGECAPACITY
|
||||
PRINTBIN_CASSETTE = _windows_.PRINTBIN_CASSETTE
|
||||
PRINTBIN_FORMSOURCE = _windows_.PRINTBIN_FORMSOURCE
|
||||
PRINTBIN_USER = _windows_.PRINTBIN_USER
|
||||
class PrintData(_core.Object):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
@@ -3759,6 +3775,10 @@ class PrintData(_core.Object):
|
||||
"""GetQuality(self) -> int"""
|
||||
return _windows_.PrintData_GetQuality(*args, **kwargs)
|
||||
|
||||
def GetBin(*args, **kwargs):
|
||||
"""GetBin(self) -> int"""
|
||||
return _windows_.PrintData_GetBin(*args, **kwargs)
|
||||
|
||||
def SetNoCopies(*args, **kwargs):
|
||||
"""SetNoCopies(self, int v)"""
|
||||
return _windows_.PrintData_SetNoCopies(*args, **kwargs)
|
||||
@@ -3795,6 +3815,10 @@ class PrintData(_core.Object):
|
||||
"""SetQuality(self, int quality)"""
|
||||
return _windows_.PrintData_SetQuality(*args, **kwargs)
|
||||
|
||||
def SetBin(*args, **kwargs):
|
||||
"""SetBin(self, int bin)"""
|
||||
return _windows_.PrintData_SetBin(*args, **kwargs)
|
||||
|
||||
def GetPrinterCommand(*args, **kwargs):
|
||||
"""GetPrinterCommand(self) -> String"""
|
||||
return _windows_.PrintData_GetPrinterCommand(*args, **kwargs)
|
||||
|
||||
+316
-238
File diff suppressed because it is too large
Load Diff
@@ -1291,7 +1291,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kw
|
||||
wxCalendarCtrl *result;
|
||||
wxPoint temp4 ;
|
||||
wxSize temp5 ;
|
||||
bool temp7 = False ;
|
||||
bool temp7 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -1339,7 +1339,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kw
|
||||
{
|
||||
arg7 = wxString_in_helper(obj6);
|
||||
if (arg7 == NULL) SWIG_fail;
|
||||
temp7 = True;
|
||||
temp7 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -1405,7 +1405,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject
|
||||
bool result;
|
||||
wxPoint temp5 ;
|
||||
wxSize temp6 ;
|
||||
bool temp8 = False ;
|
||||
bool temp8 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -1454,7 +1454,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject
|
||||
{
|
||||
arg8 = wxString_in_helper(obj7);
|
||||
if (arg8 == NULL) SWIG_fail;
|
||||
temp8 = True;
|
||||
temp8 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -1737,7 +1737,7 @@ static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *, PyObject *args, PyO
|
||||
static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool arg2 = (bool) true ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -1768,7 +1768,7 @@ static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args,
|
||||
static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool arg2 = (bool) true ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -1799,7 +1799,7 @@ static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args
|
||||
static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool arg2 = (bool) true ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
|
||||
+101
-101
File diff suppressed because it is too large
Load Diff
+15
-15
@@ -227,9 +227,9 @@ class HtmlWinParser(HtmlParser):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlWinParser_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlWinParser_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlWinParser_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def GetContainer(*args, **kwargs):
|
||||
"""GetContainer(self) -> HtmlContainerCell"""
|
||||
@@ -1012,9 +1012,9 @@ class HtmlWindow(_windows.ScrolledWindow):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlWindow_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlWindow_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlWindow_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def SetTitle(*args, **kwargs):
|
||||
"""SetTitle(self, String title)"""
|
||||
@@ -1195,9 +1195,9 @@ class HtmlDCRenderer(_core.Object):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlDCRenderer_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlDCRenderer_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def Render(*args, **kwargs):
|
||||
"""
|
||||
@@ -1250,9 +1250,9 @@ class HtmlPrintout(_windows.Printout):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlPrintout_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlPrintout_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlPrintout_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def SetMargins(*args, **kwargs):
|
||||
"""
|
||||
@@ -1338,9 +1338,9 @@ class HtmlEasyPrinting(_core.Object):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlEasyPrinting_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlEasyPrinting_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def GetPrintData(*args, **kwargs):
|
||||
"""GetPrintData(self) -> PrintData"""
|
||||
|
||||
+339
-149
File diff suppressed because it is too large
Load Diff
@@ -601,7 +601,7 @@ static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwa
|
||||
PyObject *resultobj;
|
||||
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
|
||||
int arg2 = (int) -1 ;
|
||||
bool arg3 = (bool) True ;
|
||||
bool arg3 = (bool) true ;
|
||||
wxWizardPage *arg4 = (wxWizardPage *) NULL ;
|
||||
wxWizardEvent *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
@@ -715,7 +715,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *k
|
||||
wxString const &arg4_defvalue = wxPyEmptyString ;
|
||||
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
||||
bool result;
|
||||
bool temp4 = False ;
|
||||
bool temp4 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -742,7 +742,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *k
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = True;
|
||||
temp4 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -868,7 +868,7 @@ static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kw
|
||||
wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ;
|
||||
wxString *arg3 = (wxString *) &wxPyEmptyString ;
|
||||
wxPyWizardPage *result;
|
||||
bool temp3 = False ;
|
||||
bool temp3 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -887,7 +887,7 @@ static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kw
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = True;
|
||||
temp3 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -945,7 +945,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject
|
||||
wxString const &arg4_defvalue = wxPyEmptyString ;
|
||||
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
||||
bool result;
|
||||
bool temp4 = False ;
|
||||
bool temp4 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -972,7 +972,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = True;
|
||||
temp4 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -1865,7 +1865,7 @@ static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs)
|
||||
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
|
||||
long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
|
||||
wxWizard *result;
|
||||
bool temp3 = False ;
|
||||
bool temp3 = false ;
|
||||
wxPoint temp5 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -1888,7 +1888,7 @@ static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs)
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = True;
|
||||
temp3 = true;
|
||||
}
|
||||
}
|
||||
if (obj3) {
|
||||
@@ -1968,7 +1968,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg
|
||||
wxPoint const &arg6_defvalue = wxDefaultPosition ;
|
||||
wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
|
||||
bool result;
|
||||
bool temp4 = False ;
|
||||
bool temp4 = false ;
|
||||
wxPoint temp6 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -1993,7 +1993,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = True;
|
||||
temp4 = true;
|
||||
}
|
||||
}
|
||||
if (obj4) {
|
||||
@@ -2300,7 +2300,7 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwa
|
||||
PyObject *resultobj;
|
||||
wxWizard *arg1 = (wxWizard *) 0 ;
|
||||
wxWizardPage *arg2 = (wxWizardPage *) 0 ;
|
||||
bool arg3 = (bool) True ;
|
||||
bool arg3 = (bool) true ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user