mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-21 13:26:08 +08:00
reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -405,12 +405,12 @@ PyObject *wxCalendarCtrl_HitTest(wxCalendarCtrl *self,wxPoint const &pos){
|
||||
wxDateTime* date = new wxDateTime;
|
||||
wxDateTime::WeekDay wd;
|
||||
wxCalendarHitTestResult result = self->HitTest(pos, date, &wd);
|
||||
wxPyBeginBlockThreads();
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
PyObject* tup = PyTuple_New(3);
|
||||
PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(result));
|
||||
PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(date, wxT("wxDateTime"), 1));
|
||||
PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(wd));
|
||||
wxPyEndBlockThreads();
|
||||
wxPyEndBlockThreads(blocked);
|
||||
return tup;
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
@@ -693,7 +693,9 @@ static PyObject *_wrap_CalendarDateAttr_HasTextColour(PyObject *, PyObject *args
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -719,7 +721,9 @@ static PyObject *_wrap_CalendarDateAttr_HasBackgroundColour(PyObject *, PyObject
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -745,7 +749,9 @@ static PyObject *_wrap_CalendarDateAttr_HasBorderColour(PyObject *, PyObject *ar
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -771,7 +777,9 @@ static PyObject *_wrap_CalendarDateAttr_HasFont(PyObject *, PyObject *args, PyOb
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -797,7 +805,9 @@ static PyObject *_wrap_CalendarDateAttr_HasBorder(PyObject *, PyObject *args, Py
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -823,7 +833,9 @@ static PyObject *_wrap_CalendarDateAttr_IsHoliday(PyObject *, PyObject *args, Py
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -1344,7 +1356,9 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp8)
|
||||
delete arg8;
|
||||
@@ -1453,7 +1467,9 @@ static PyObject *_wrap_CalendarCtrl_SetLowerDateLimit(PyObject *, PyObject *args
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -1491,7 +1507,9 @@ static PyObject *_wrap_CalendarCtrl_SetUpperDateLimit(PyObject *, PyObject *args
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -1599,7 +1617,9 @@ static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *, PyObject *args, PyO
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
|
||||
@@ -800,6 +800,8 @@ class StaticBitmap(core.Control):
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition,
|
||||
@@ -2212,8 +2214,8 @@ class Notebook(BookCtrl):
|
||||
return "<%s.%s; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=0, String name=NOTEBOOK_NAME) -> Notebook
|
||||
__init__(Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -> Notebook
|
||||
"""
|
||||
newobj = _controls.new_Notebook(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
@@ -2335,8 +2337,8 @@ class Listbook(BookCtrl):
|
||||
return "<%s.%s; proxy of C++ wxListbook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=0, String name=EmptyString) -> Listbook
|
||||
__init__(Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0, String name=EmptyString) -> Listbook
|
||||
"""
|
||||
newobj = _controls.new_Listbook(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
@@ -3413,34 +3415,11 @@ class ListCtrl(core.Control):
|
||||
return _controls.ListCtrl__setCallbackInfo(*args, **kwargs)
|
||||
|
||||
def SetForegroundColour(*args, **kwargs):
|
||||
"""
|
||||
SetForegroundColour(Colour col) -> bool
|
||||
|
||||
Sets the foreground colour of the window. Returns True is the colour
|
||||
was changed. The interpretation of foreground colour is dependent on
|
||||
the window class; it may be the text colour or other colour, or it may
|
||||
not be used at all.
|
||||
"""
|
||||
"""SetForegroundColour(Colour col) -> bool"""
|
||||
return _controls.ListCtrl_SetForegroundColour(*args, **kwargs)
|
||||
|
||||
def SetBackgroundColour(*args, **kwargs):
|
||||
"""
|
||||
SetBackgroundColour(Colour col) -> bool
|
||||
|
||||
Sets the background colour of the window. Returns True if the colour
|
||||
was changed. The background colour is usually painted by the default
|
||||
EVT_ERASE_BACKGROUND event handler function under Windows and
|
||||
automatically under GTK.
|
||||
|
||||
Note that setting the background colour does not cause an immediate
|
||||
refresh, so you may wish to call ClearBackground or Refresh after
|
||||
calling this function.
|
||||
|
||||
Use this function with care under GTK+ as the new appearance of the
|
||||
window might not look equally well when used with themes, i.e GTK+'s
|
||||
ability to change its look as the user wishes with run-time loadable
|
||||
modules.
|
||||
"""
|
||||
"""SetBackgroundColour(Colour col) -> bool"""
|
||||
return _controls.ListCtrl_SetBackgroundColour(*args, **kwargs)
|
||||
|
||||
def GetColumn(*args, **kwargs):
|
||||
|
||||
+441
-159
File diff suppressed because it is too large
Load Diff
@@ -9226,6 +9226,8 @@ try:
|
||||
except NameError:
|
||||
__builtins__.True = 1==1
|
||||
__builtins__.False = 1==0
|
||||
def bool(value): return not not value
|
||||
__builtins__.bool = bool
|
||||
|
||||
|
||||
|
||||
|
||||
+716
-268
File diff suppressed because it is too large
Load Diff
+230
-78
File diff suppressed because it is too large
Load Diff
+326
-158
File diff suppressed because it is too large
Load Diff
@@ -636,6 +636,10 @@ class HtmlCell(core.Object):
|
||||
"""GetDescent() -> int"""
|
||||
return _html.HtmlCell_GetDescent(*args, **kwargs)
|
||||
|
||||
def GetMaxTotalWidth(*args, **kwargs):
|
||||
"""GetMaxTotalWidth() -> int"""
|
||||
return _html.HtmlCell_GetMaxTotalWidth(*args, **kwargs)
|
||||
|
||||
def GetId(*args, **kwargs):
|
||||
"""GetId() -> String"""
|
||||
return _html.HtmlCell_GetId(*args, **kwargs)
|
||||
|
||||
+115
-38
@@ -447,21 +447,21 @@ public:
|
||||
}
|
||||
|
||||
void OnExit() {
|
||||
wxPyBeginBlockThreads();
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
Py_DECREF(m_tagHandlerClass);
|
||||
m_tagHandlerClass = NULL;
|
||||
for (size_t x=0; x < m_objArray.GetCount(); x++) {
|
||||
PyObject* obj = (PyObject*)m_objArray.Item(x);
|
||||
Py_DECREF(obj);
|
||||
}
|
||||
wxPyEndBlockThreads();
|
||||
wxPyEndBlockThreads(blocked);
|
||||
};
|
||||
|
||||
void FillHandlersTable(wxHtmlWinParser *parser) {
|
||||
// Wave our magic wand... (if it works it's a miracle! ;-)
|
||||
|
||||
// First, make a new instance of the tag handler
|
||||
wxPyBeginBlockThreads();
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
PyObject* arg = PyTuple_New(0);
|
||||
PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
|
||||
Py_DECREF(arg);
|
||||
@@ -469,10 +469,10 @@ public:
|
||||
// now figure out where it's C++ object is...
|
||||
wxPyHtmlWinTagHandler* thPtr;
|
||||
if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
|
||||
wxPyEndBlockThreads();
|
||||
wxPyEndBlockThreads(blocked);
|
||||
return;
|
||||
}
|
||||
wxPyEndBlockThreads();
|
||||
wxPyEndBlockThreads(blocked);
|
||||
|
||||
// add it,
|
||||
parser->AddTagHandler(thPtr);
|
||||
@@ -625,13 +625,13 @@ public:
|
||||
virtual bool CanRead(const wxFSFile& file) const {
|
||||
bool rval = False;
|
||||
bool found;
|
||||
wxPyBeginBlockThreads();
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
|
||||
PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
|
||||
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
|
||||
Py_DECREF(obj);
|
||||
}
|
||||
wxPyEndBlockThreads();
|
||||
wxPyEndBlockThreads(blocked);
|
||||
return rval;
|
||||
}
|
||||
|
||||
@@ -641,7 +641,7 @@ public:
|
||||
virtual wxString ReadFile(const wxFSFile& file) const {
|
||||
wxString rval;
|
||||
bool found;
|
||||
wxPyBeginBlockThreads();
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
|
||||
PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
|
||||
PyObject* ro;
|
||||
@@ -652,7 +652,7 @@ public:
|
||||
Py_DECREF(ro);
|
||||
}
|
||||
}
|
||||
wxPyEndBlockThreads();
|
||||
wxPyEndBlockThreads(blocked);
|
||||
return rval;
|
||||
}
|
||||
|
||||
@@ -703,13 +703,13 @@ IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
|
||||
|
||||
void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
|
||||
bool found;
|
||||
wxPyBeginBlockThreads();
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
|
||||
PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
|
||||
wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
|
||||
Py_DECREF(obj);
|
||||
}
|
||||
wxPyEndBlockThreads();
|
||||
wxPyEndBlockThreads(blocked);
|
||||
if (! found)
|
||||
wxHtmlWindow::OnLinkClicked(link);
|
||||
}
|
||||
@@ -723,7 +723,7 @@ wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
|
||||
wxString *redirect) const {
|
||||
bool found;
|
||||
wxHtmlOpeningStatus rval;
|
||||
wxPyBeginBlockThreads();
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
|
||||
PyObject* ro;
|
||||
PyObject* s = wx2PyString(url);
|
||||
@@ -744,7 +744,7 @@ wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
|
||||
}
|
||||
Py_DECREF(ro);
|
||||
}
|
||||
wxPyEndBlockThreads();
|
||||
wxPyEndBlockThreads(blocked);
|
||||
if (! found)
|
||||
rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
|
||||
return rval;
|
||||
@@ -1211,7 +1211,9 @@ static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kw
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
@@ -1331,7 +1333,9 @@ static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *k
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -3380,7 +3384,9 @@ static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObjec
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -4135,6 +4141,32 @@ static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
||||
int result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_FromInt((int)result);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
||||
@@ -4376,7 +4408,9 @@ static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyO
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -4707,7 +4741,9 @@ static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyOb
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
PyObject *o = PyInt_FromLong((long) (*arg2));
|
||||
resultobj = t_output_helper(resultobj,o);
|
||||
@@ -4766,7 +4802,9 @@ static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, P
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -4792,7 +4830,9 @@ static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObj
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -4970,7 +5010,9 @@ static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *k
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -5950,7 +5992,9 @@ static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *k
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp7)
|
||||
delete arg7;
|
||||
@@ -6023,7 +6067,9 @@ static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
@@ -6065,7 +6111,9 @@ static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
@@ -6107,7 +6155,9 @@ static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
@@ -6149,7 +6199,9 @@ static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObj
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
@@ -6575,7 +6627,9 @@ static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObje
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -6601,7 +6655,9 @@ static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyO
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -6627,7 +6683,9 @@ static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyO
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -6653,7 +6711,9 @@ static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args,
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -6764,7 +6824,9 @@ static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyO
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
@@ -6806,7 +6868,9 @@ static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
@@ -8986,7 +9050,9 @@ static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObj
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -9012,7 +9078,9 @@ static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyO
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -9254,7 +9322,9 @@ static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
@@ -9768,7 +9838,9 @@ static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, P
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
@@ -10084,7 +10156,9 @@ static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, Py
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
@@ -10246,7 +10320,9 @@ static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *ar
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
@@ -10538,6 +10614,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
|
||||
@@ -2899,7 +2899,7 @@ class Config(ConfigBase):
|
||||
"""
|
||||
__init__(String appName=EmptyString, String vendorName=EmptyString,
|
||||
String localFilename=EmptyString, String globalFilename=EmptyString,
|
||||
long style=0) -> Config
|
||||
long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> Config
|
||||
"""
|
||||
newobj = _misc.new_Config(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
|
||||
+452
-174
File diff suppressed because it is too large
Load Diff
@@ -842,6 +842,7 @@ EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_PO
|
||||
EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 )
|
||||
EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 )
|
||||
EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
|
||||
EVT_SPLITTER_DCLICK = EVT_SPLITTER_DOUBLECLICKED
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
||||
+304
-104
File diff suppressed because it is too large
Load Diff
@@ -568,7 +568,9 @@ static PyObject *_wrap_WizardEvent_GetDirection(PyObject *, PyObject *args, PyOb
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -656,7 +658,9 @@ static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *k
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp4)
|
||||
delete arg4;
|
||||
@@ -882,7 +886,9 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp4)
|
||||
delete arg4;
|
||||
@@ -1303,7 +1309,9 @@ static PyObject *_wrap_PyWizardPage_base_TransferDataToWindow(PyObject *, PyObje
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -1329,7 +1337,9 @@ static PyObject *_wrap_PyWizardPage_base_TransferDataFromWindow(PyObject *, PyOb
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -1355,7 +1365,9 @@ static PyObject *_wrap_PyWizardPage_base_Validate(PyObject *, PyObject *args, Py
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -1381,7 +1393,9 @@ static PyObject *_wrap_PyWizardPage_base_AcceptsFocus(PyObject *, PyObject *args
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -1407,7 +1421,9 @@ static PyObject *_wrap_PyWizardPage_base_AcceptsFocusFromKeyboard(PyObject *, Py
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -1642,7 +1658,9 @@ static PyObject *_wrap_WizardPageSimple_Create(PyObject *, PyObject *args, PyObj
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -1906,7 +1924,9 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
{
|
||||
if (temp4)
|
||||
delete arg4;
|
||||
@@ -1969,7 +1989,9 @@ static PyObject *_wrap_Wizard_RunWizard(PyObject *, PyObject *args, PyObject *kw
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -2171,7 +2193,9 @@ static PyObject *_wrap_Wizard_IsRunning(PyObject *, PyObject *args, PyObject *kw
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -2207,7 +2231,9 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwa
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -2237,7 +2263,9 @@ static PyObject *_wrap_Wizard_HasNextPage(PyObject *, PyObject *args, PyObject *
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -2267,7 +2295,9 @@ static PyObject *_wrap_Wizard_HasPrevPage(PyObject *, PyObject *args, PyObject *
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user