Various tweaks, fixes, and additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -411,7 +411,6 @@ void wxPySaveThread(bool doSave) {
|
|||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
IMPLEMENT_ABSTRACT_CLASS(wxPyCallback, wxObject);
|
IMPLEMENT_ABSTRACT_CLASS(wxPyCallback, wxObject);
|
||||||
|
|
||||||
wxPyCallback::wxPyCallback(PyObject* func) {
|
wxPyCallback::wxPyCallback(PyObject* func) {
|
||||||
|
@@ -102,7 +102,6 @@ public:
|
|||||||
//int ScanParam(const wxString& par, const char *format, void* param);
|
//int ScanParam(const wxString& par, const char *format, void* param);
|
||||||
|
|
||||||
wxString GetAllParams();
|
wxString GetAllParams();
|
||||||
bool IsEnding();
|
|
||||||
bool HasEnding();
|
bool HasEnding();
|
||||||
int GetBeginPos();
|
int GetBeginPos();
|
||||||
int GetEndPos1();
|
int GetEndPos1();
|
||||||
|
@@ -7407,6 +7407,62 @@ static PyObject *_wrap_wxRadioBox_SetString(PyObject *self, PyObject *args, PyOb
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
|
||||||
|
static PyObject *_wrap_wxRadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
int _result;
|
||||||
|
wxRadioBox * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetColumnCount",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (int )wxRadioBox_GetColumnCount(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
|
||||||
|
static PyObject *_wrap_wxRadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
int _result;
|
||||||
|
wxRadioBox * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetRowCount",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (int )wxRadioBox_GetRowCount(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
|
#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
|
||||||
static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -7496,62 +7552,6 @@ static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObj
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
|
|
||||||
static PyObject *_wrap_wxRadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
int _result;
|
|
||||||
wxRadioBox * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetColumnCount",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (int )wxRadioBox_GetColumnCount(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
if (PyErr_Occurred()) return NULL;
|
|
||||||
} _resultobj = Py_BuildValue("i",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
|
|
||||||
static PyObject *_wrap_wxRadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
int _result;
|
|
||||||
wxRadioBox * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetRowCount",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (int )wxRadioBox_GetRowCount(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
if (PyErr_Occurred()) return NULL;
|
|
||||||
} _resultobj = Py_BuildValue("i",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
|
#define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
|
||||||
static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -9032,11 +9032,11 @@ static PyMethodDef controlscMethods[] = {
|
|||||||
{ "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_GetRowCount", (PyCFunction) _wrap_wxRadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxRadioBox_GetColumnCount", (PyCFunction) _wrap_wxRadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxRadioBox_GetRowCount", (PyCFunction) _wrap_wxRadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxRadioBox_GetColumnCount", (PyCFunction) _wrap_wxRadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_SetString", (PyCFunction) _wrap_wxRadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_SetString", (PyCFunction) _wrap_wxRadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -745,6 +745,12 @@ class wxRadioBoxPtr(wxControlPtr):
|
|||||||
def SetString(self, *_args, **_kwargs):
|
def SetString(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxRadioBox_SetString,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxRadioBox_SetString,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def GetColumnCount(self, *_args, **_kwargs):
|
||||||
|
val = apply(controlsc.wxRadioBox_GetColumnCount,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetRowCount(self, *_args, **_kwargs):
|
||||||
|
val = apply(controlsc.wxRadioBox_GetRowCount,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def GetSelection(self, *_args, **_kwargs):
|
def GetSelection(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxRadioBox_GetSelection,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxRadioBox_GetSelection,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -754,12 +760,6 @@ class wxRadioBoxPtr(wxControlPtr):
|
|||||||
def GetCount(self, *_args, **_kwargs):
|
def GetCount(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxRadioBox_GetCount,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxRadioBox_GetCount,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def GetColumnCount(self, *_args, **_kwargs):
|
|
||||||
val = apply(controlsc.wxRadioBox_GetColumnCount,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def GetRowCount(self, *_args, **_kwargs):
|
|
||||||
val = apply(controlsc.wxRadioBox_GetRowCount,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def SetSelection(self, *_args, **_kwargs):
|
def SetSelection(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxRadioBox_SetSelection,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxRadioBox_SetSelection,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
@@ -741,33 +741,6 @@ static PyObject *_wrap_wxHtmlTag_GetAllParams(PyObject *self, PyObject *args, Py
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wxHtmlTag_IsEnding(_swigobj) (_swigobj->IsEnding())
|
|
||||||
static PyObject *_wrap_wxHtmlTag_IsEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
bool _result;
|
|
||||||
wxHtmlTag * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_IsEnding",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_IsEnding. Expected _wxHtmlTag_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (bool )wxHtmlTag_IsEnding(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("i",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
|
#define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
|
||||||
static PyObject *_wrap_wxHtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxHtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -6240,7 +6213,6 @@ static PyMethodDef htmlcMethods[] = {
|
|||||||
{ "wxHtmlTag_GetEndPos1", (PyCFunction) _wrap_wxHtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
|
{ "wxHtmlTag_GetEndPos1", (PyCFunction) _wrap_wxHtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxHtmlTag_GetBeginPos", (PyCFunction) _wrap_wxHtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
|
{ "wxHtmlTag_GetBeginPos", (PyCFunction) _wrap_wxHtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxHtmlTag_HasEnding", (PyCFunction) _wrap_wxHtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
|
{ "wxHtmlTag_HasEnding", (PyCFunction) _wrap_wxHtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxHtmlTag_IsEnding", (PyCFunction) _wrap_wxHtmlTag_IsEnding, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxHtmlTag_GetAllParams", (PyCFunction) _wrap_wxHtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
|
{ "wxHtmlTag_GetAllParams", (PyCFunction) _wrap_wxHtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxHtmlTag_GetParam", (PyCFunction) _wrap_wxHtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
|
{ "wxHtmlTag_GetParam", (PyCFunction) _wrap_wxHtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxHtmlTag_HasParam", (PyCFunction) _wrap_wxHtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
|
{ "wxHtmlTag_HasParam", (PyCFunction) _wrap_wxHtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -90,9 +90,6 @@ class wxHtmlTagPtr(wxObjectPtr):
|
|||||||
def GetAllParams(self, *_args, **_kwargs):
|
def GetAllParams(self, *_args, **_kwargs):
|
||||||
val = apply(htmlc.wxHtmlTag_GetAllParams,(self,) + _args, _kwargs)
|
val = apply(htmlc.wxHtmlTag_GetAllParams,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def IsEnding(self, *_args, **_kwargs):
|
|
||||||
val = apply(htmlc.wxHtmlTag_IsEnding,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def HasEnding(self, *_args, **_kwargs):
|
def HasEnding(self, *_args, **_kwargs):
|
||||||
val = apply(htmlc.wxHtmlTag_HasEnding,(self,) + _args, _kwargs)
|
val = apply(htmlc.wxHtmlTag_HasEnding,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
@@ -98,363 +98,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#define new_wxHtmlHelpFrameCfg() (new wxHtmlHelpFrameCfg())
|
|
||||||
static PyObject *_wrap_new_wxHtmlHelpFrameCfg(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
wxHtmlHelpFrameCfg * _result;
|
|
||||||
char *_kwnames[] = { NULL };
|
|
||||||
char _ptemp[128];
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlHelpFrameCfg",_kwnames))
|
|
||||||
return NULL;
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (wxHtmlHelpFrameCfg *)new_wxHtmlHelpFrameCfg();
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} if (_result) {
|
|
||||||
SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrameCfg_p");
|
|
||||||
_resultobj = Py_BuildValue("s",_ptemp);
|
|
||||||
} else {
|
|
||||||
Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
}
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlHelpFrameCfg_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
|
|
||||||
static PyObject *_wrap_wxHtmlHelpFrameCfg_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
long _result;
|
|
||||||
wxHtmlHelpFrameCfg * _arg0;
|
|
||||||
long _arg1;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self","x", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_x_set",_kwnames,&_argo0,&_arg1))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_x_set. Expected _wxHtmlHelpFrameCfg_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (long )wxHtmlHelpFrameCfg_x_set(_arg0,_arg1);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("l",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlHelpFrameCfg_x_get(_swigobj) ((long ) _swigobj->x)
|
|
||||||
static PyObject *_wrap_wxHtmlHelpFrameCfg_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
long _result;
|
|
||||||
wxHtmlHelpFrameCfg * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_x_get",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_x_get. Expected _wxHtmlHelpFrameCfg_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (long )wxHtmlHelpFrameCfg_x_get(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("l",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlHelpFrameCfg_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
|
|
||||||
static PyObject *_wrap_wxHtmlHelpFrameCfg_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
long _result;
|
|
||||||
wxHtmlHelpFrameCfg * _arg0;
|
|
||||||
long _arg1;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self","y", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_y_set",_kwnames,&_argo0,&_arg1))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_y_set. Expected _wxHtmlHelpFrameCfg_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (long )wxHtmlHelpFrameCfg_y_set(_arg0,_arg1);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("l",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlHelpFrameCfg_y_get(_swigobj) ((long ) _swigobj->y)
|
|
||||||
static PyObject *_wrap_wxHtmlHelpFrameCfg_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
long _result;
|
|
||||||
wxHtmlHelpFrameCfg * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_y_get",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_y_get. Expected _wxHtmlHelpFrameCfg_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (long )wxHtmlHelpFrameCfg_y_get(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("l",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlHelpFrameCfg_w_set(_swigobj,_swigval) (_swigobj->w = _swigval,_swigval)
|
|
||||||
static PyObject *_wrap_wxHtmlHelpFrameCfg_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
long _result;
|
|
||||||
wxHtmlHelpFrameCfg * _arg0;
|
|
||||||
long _arg1;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self","w", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_w_set",_kwnames,&_argo0,&_arg1))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_w_set. Expected _wxHtmlHelpFrameCfg_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (long )wxHtmlHelpFrameCfg_w_set(_arg0,_arg1);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("l",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlHelpFrameCfg_w_get(_swigobj) ((long ) _swigobj->w)
|
|
||||||
static PyObject *_wrap_wxHtmlHelpFrameCfg_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
long _result;
|
|
||||||
wxHtmlHelpFrameCfg * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_w_get",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_w_get. Expected _wxHtmlHelpFrameCfg_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (long )wxHtmlHelpFrameCfg_w_get(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("l",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlHelpFrameCfg_h_set(_swigobj,_swigval) (_swigobj->h = _swigval,_swigval)
|
|
||||||
static PyObject *_wrap_wxHtmlHelpFrameCfg_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
long _result;
|
|
||||||
wxHtmlHelpFrameCfg * _arg0;
|
|
||||||
long _arg1;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self","h", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_h_set",_kwnames,&_argo0,&_arg1))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_h_set. Expected _wxHtmlHelpFrameCfg_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (long )wxHtmlHelpFrameCfg_h_set(_arg0,_arg1);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("l",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlHelpFrameCfg_h_get(_swigobj) ((long ) _swigobj->h)
|
|
||||||
static PyObject *_wrap_wxHtmlHelpFrameCfg_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
long _result;
|
|
||||||
wxHtmlHelpFrameCfg * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_h_get",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_h_get. Expected _wxHtmlHelpFrameCfg_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (long )wxHtmlHelpFrameCfg_h_get(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("l",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlHelpFrameCfg_sashpos_set(_swigobj,_swigval) (_swigobj->sashpos = _swigval,_swigval)
|
|
||||||
static PyObject *_wrap_wxHtmlHelpFrameCfg_sashpos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
long _result;
|
|
||||||
wxHtmlHelpFrameCfg * _arg0;
|
|
||||||
long _arg1;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self","sashpos", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_sashpos_set",_kwnames,&_argo0,&_arg1))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_sashpos_set. Expected _wxHtmlHelpFrameCfg_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (long )wxHtmlHelpFrameCfg_sashpos_set(_arg0,_arg1);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("l",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlHelpFrameCfg_sashpos_get(_swigobj) ((long ) _swigobj->sashpos)
|
|
||||||
static PyObject *_wrap_wxHtmlHelpFrameCfg_sashpos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
long _result;
|
|
||||||
wxHtmlHelpFrameCfg * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_sashpos_get",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_sashpos_get. Expected _wxHtmlHelpFrameCfg_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (long )wxHtmlHelpFrameCfg_sashpos_get(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("l",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlHelpFrameCfg_navig_on_set(_swigobj,_swigval) (_swigobj->navig_on = _swigval,_swigval)
|
|
||||||
static PyObject *_wrap_wxHtmlHelpFrameCfg_navig_on_set(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
bool _result;
|
|
||||||
wxHtmlHelpFrameCfg * _arg0;
|
|
||||||
bool _arg1;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
int tempbool1;
|
|
||||||
char *_kwnames[] = { "self","navig_on", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpFrameCfg_navig_on_set",_kwnames,&_argo0,&tempbool1))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_navig_on_set. Expected _wxHtmlHelpFrameCfg_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
_arg1 = (bool ) tempbool1;
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (bool )wxHtmlHelpFrameCfg_navig_on_set(_arg0,_arg1);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("i",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxHtmlHelpFrameCfg_navig_on_get(_swigobj) ((bool ) _swigobj->navig_on)
|
|
||||||
static PyObject *_wrap_wxHtmlHelpFrameCfg_navig_on_get(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
bool _result;
|
|
||||||
wxHtmlHelpFrameCfg * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_navig_on_get",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_navig_on_get. Expected _wxHtmlHelpFrameCfg_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (bool )wxHtmlHelpFrameCfg_navig_on_get(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("i",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2))
|
#define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2))
|
||||||
static PyObject *_wrap_new_wxHtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_new_wxHtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -2848,19 +2491,6 @@ static PyMethodDef htmlhelpcMethods[] = {
|
|||||||
{ "wxHtmlBookRecord_GetStart", (PyCFunction) _wrap_wxHtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
|
{ "wxHtmlBookRecord_GetStart", (PyCFunction) _wrap_wxHtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxHtmlBookRecord_GetTitle", (PyCFunction) _wrap_wxHtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
|
{ "wxHtmlBookRecord_GetTitle", (PyCFunction) _wrap_wxHtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxHtmlBookRecord", (PyCFunction) _wrap_new_wxHtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxHtmlBookRecord", (PyCFunction) _wrap_new_wxHtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxHtmlHelpFrameCfg_navig_on_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_navig_on_get, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxHtmlHelpFrameCfg_navig_on_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_navig_on_set, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxHtmlHelpFrameCfg_sashpos_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_sashpos_get, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxHtmlHelpFrameCfg_sashpos_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_sashpos_set, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxHtmlHelpFrameCfg_h_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_h_get, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxHtmlHelpFrameCfg_h_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_h_set, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxHtmlHelpFrameCfg_w_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_w_get, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxHtmlHelpFrameCfg_w_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_w_set, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxHtmlHelpFrameCfg_y_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_y_get, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxHtmlHelpFrameCfg_y_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_y_set, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxHtmlHelpFrameCfg_x_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_x_get, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxHtmlHelpFrameCfg_x_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_x_set, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "new_wxHtmlHelpFrameCfg", (PyCFunction) _wrap_new_wxHtmlHelpFrameCfg, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@@ -40,54 +40,6 @@ from sizers import *
|
|||||||
from filesys import *
|
from filesys import *
|
||||||
|
|
||||||
from utils import *
|
from utils import *
|
||||||
class wxHtmlHelpFrameCfgPtr :
|
|
||||||
def __init__(self,this):
|
|
||||||
self.this = this
|
|
||||||
self.thisown = 0
|
|
||||||
def __setattr__(self,name,value):
|
|
||||||
if name == "x" :
|
|
||||||
htmlhelpc.wxHtmlHelpFrameCfg_x_set(self,value)
|
|
||||||
return
|
|
||||||
if name == "y" :
|
|
||||||
htmlhelpc.wxHtmlHelpFrameCfg_y_set(self,value)
|
|
||||||
return
|
|
||||||
if name == "w" :
|
|
||||||
htmlhelpc.wxHtmlHelpFrameCfg_w_set(self,value)
|
|
||||||
return
|
|
||||||
if name == "h" :
|
|
||||||
htmlhelpc.wxHtmlHelpFrameCfg_h_set(self,value)
|
|
||||||
return
|
|
||||||
if name == "sashpos" :
|
|
||||||
htmlhelpc.wxHtmlHelpFrameCfg_sashpos_set(self,value)
|
|
||||||
return
|
|
||||||
if name == "navig_on" :
|
|
||||||
htmlhelpc.wxHtmlHelpFrameCfg_navig_on_set(self,value)
|
|
||||||
return
|
|
||||||
self.__dict__[name] = value
|
|
||||||
def __getattr__(self,name):
|
|
||||||
if name == "x" :
|
|
||||||
return htmlhelpc.wxHtmlHelpFrameCfg_x_get(self)
|
|
||||||
if name == "y" :
|
|
||||||
return htmlhelpc.wxHtmlHelpFrameCfg_y_get(self)
|
|
||||||
if name == "w" :
|
|
||||||
return htmlhelpc.wxHtmlHelpFrameCfg_w_get(self)
|
|
||||||
if name == "h" :
|
|
||||||
return htmlhelpc.wxHtmlHelpFrameCfg_h_get(self)
|
|
||||||
if name == "sashpos" :
|
|
||||||
return htmlhelpc.wxHtmlHelpFrameCfg_sashpos_get(self)
|
|
||||||
if name == "navig_on" :
|
|
||||||
return htmlhelpc.wxHtmlHelpFrameCfg_navig_on_get(self)
|
|
||||||
raise AttributeError,name
|
|
||||||
def __repr__(self):
|
|
||||||
return "<C wxHtmlHelpFrameCfg instance at %s>" % (self.this,)
|
|
||||||
class wxHtmlHelpFrameCfg(wxHtmlHelpFrameCfgPtr):
|
|
||||||
def __init__(self,*_args,**_kwargs):
|
|
||||||
self.this = apply(htmlhelpc.new_wxHtmlHelpFrameCfg,_args,_kwargs)
|
|
||||||
self.thisown = 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class wxHtmlBookRecordPtr :
|
class wxHtmlBookRecordPtr :
|
||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
|
@@ -5270,6 +5270,62 @@ static PyObject *_wrap_wxWindow_GetCaret(PyObject *self, PyObject *args, PyObjec
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
|
||||||
|
static PyObject *_wrap_wxWindow_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxWindow * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Freeze",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxWindow_Freeze(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
|
||||||
|
static PyObject *_wrap_wxWindow_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxWindow * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Thaw",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxWindow_Thaw(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
static void *SwigwxPanelTowxWindow(void *ptr) {
|
static void *SwigwxPanelTowxWindow(void *ptr) {
|
||||||
wxPanel *src;
|
wxPanel *src;
|
||||||
wxWindow *dest;
|
wxWindow *dest;
|
||||||
@@ -8590,6 +8646,58 @@ static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args, PyO
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
int _result;
|
||||||
|
wxMenuBar * _arg0;
|
||||||
|
wxString * _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
|
char *_kwnames[] = { "self","title", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuBar_FindMenu",_kwnames,&_argo0,&_obj1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
#if PYTHON_API_VERSION >= 1009
|
||||||
|
char* tmpPtr; int tmpSize;
|
||||||
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
||||||
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
||||||
|
return NULL;
|
||||||
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
||||||
|
#else
|
||||||
|
if (!PyString_Check(_obj1)) {
|
||||||
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (int )wxMenuBar_FindMenu(_arg0,*_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
|
{
|
||||||
|
if (_obj1)
|
||||||
|
delete _arg1;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
|
#define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
|
||||||
static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -10332,6 +10440,7 @@ static PyMethodDef windowscMethods[] = {
|
|||||||
{ "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
|
{ "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
|
{ "wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
|
{ "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxMenuBar_FindMenu", (PyCFunction) _wrap_wxMenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
|
{ "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
|
{ "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
|
{ "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -10417,6 +10526,8 @@ static PyMethodDef windowscMethods[] = {
|
|||||||
{ "wxPanel_GetDefaultItem", (PyCFunction) _wrap_wxPanel_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPanel_GetDefaultItem", (PyCFunction) _wrap_wxPanel_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxWindow_Thaw", (PyCFunction) _wrap_wxWindow_Thaw, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxWindow_Freeze", (PyCFunction) _wrap_wxWindow_Freeze, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_GetCaret", (PyCFunction) _wrap_wxWindow_GetCaret, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_GetCaret", (PyCFunction) _wrap_wxWindow_GetCaret, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_SetCaret", (PyCFunction) _wrap_wxWindow_SetCaret, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_SetCaret", (PyCFunction) _wrap_wxWindow_SetCaret, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_GetBestSize", (PyCFunction) _wrap_wxWindow_GetBestSize, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_GetBestSize", (PyCFunction) _wrap_wxWindow_GetBestSize, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -508,6 +508,12 @@ class wxWindowPtr(wxEvtHandlerPtr):
|
|||||||
val = apply(windowsc.wxWindow_GetCaret,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxWindow_GetCaret,(self,) + _args, _kwargs)
|
||||||
if val: val = wxCaretPtr(val)
|
if val: val = wxCaretPtr(val)
|
||||||
return val
|
return val
|
||||||
|
def Freeze(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxWindow_Freeze,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def Thaw(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxWindow_Thaw,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxWindow instance at %s>" % (self.this,)
|
return "<C wxWindow instance at %s>" % (self.this,)
|
||||||
# replaces broken shadow method
|
# replaces broken shadow method
|
||||||
@@ -831,6 +837,9 @@ class wxMenuBarPtr(wxWindowPtr):
|
|||||||
def GetLabelTop(self, *_args, **_kwargs):
|
def GetLabelTop(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxMenuBar_GetLabelTop,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxMenuBar_GetLabelTop,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def FindMenu(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxMenuBar_FindMenu,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def FindMenuItem(self, *_args, **_kwargs):
|
def FindMenuItem(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxMenuBar_FindMenuItem,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxMenuBar_FindMenuItem,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
@@ -383,6 +383,9 @@ public:
|
|||||||
return val
|
return val
|
||||||
"
|
"
|
||||||
|
|
||||||
|
void Freeze();
|
||||||
|
void Thaw();
|
||||||
|
|
||||||
|
|
||||||
// // Properties list
|
// // Properties list
|
||||||
// %pragma(python) addtoclass = "
|
// %pragma(python) addtoclass = "
|
||||||
@@ -648,6 +651,7 @@ public:
|
|||||||
void EnableTop(size_t pos, bool enable);
|
void EnableTop(size_t pos, bool enable);
|
||||||
void SetLabelTop(size_t pos, const wxString& label);
|
void SetLabelTop(size_t pos, const wxString& label);
|
||||||
wxString GetLabelTop(size_t pos);
|
wxString GetLabelTop(size_t pos);
|
||||||
|
int FindMenu(const wxString& title);
|
||||||
int FindMenuItem(const wxString& menuString, const wxString& itemString);
|
int FindMenuItem(const wxString& menuString, const wxString& itemString);
|
||||||
%name(FindItemById)wxMenuItem* FindItem(int id/*, wxMenu **menu = NULL*/);
|
%name(FindItemById)wxMenuItem* FindItem(int id/*, wxMenu **menu = NULL*/);
|
||||||
void Enable(int id, bool enable);
|
void Enable(int id, bool enable);
|
||||||
|
@@ -119,9 +119,6 @@ class wxpTagHandler(wxHtmlWinTagHandler):
|
|||||||
|
|
||||||
|
|
||||||
def HandleWxpTag(self, tag):
|
def HandleWxpTag(self, tag):
|
||||||
if tag.IsEnding():
|
|
||||||
return false
|
|
||||||
|
|
||||||
# create a new context object
|
# create a new context object
|
||||||
self.ctx = _Context()
|
self.ctx = _Context()
|
||||||
|
|
||||||
@@ -143,8 +140,6 @@ class wxpTagHandler(wxHtmlWinTagHandler):
|
|||||||
if type(self.ctx.classObj) != types.ClassType:
|
if type(self.ctx.classObj) != types.ClassType:
|
||||||
raise TypeError, "WXP tag attribute CLASS must name a class"
|
raise TypeError, "WXP tag attribute CLASS must name a class"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# now look for width and height
|
# now look for width and height
|
||||||
width = -1
|
width = -1
|
||||||
height = -1
|
height = -1
|
||||||
@@ -159,7 +154,7 @@ class wxpTagHandler(wxHtmlWinTagHandler):
|
|||||||
height = string.atoi(tag.GetParam('HEIGHT'))
|
height = string.atoi(tag.GetParam('HEIGHT'))
|
||||||
self.ctx.kwargs['size'] = wxSize(width, height)
|
self.ctx.kwargs['size'] = wxSize(width, height)
|
||||||
|
|
||||||
|
# parse up to the closing tag, and gather any nested Param tags.
|
||||||
self.ParseInner(tag)
|
self.ParseInner(tag)
|
||||||
|
|
||||||
# create the object
|
# create the object
|
||||||
@@ -177,12 +172,7 @@ class wxpTagHandler(wxHtmlWinTagHandler):
|
|||||||
return true
|
return true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def HandleParamTag(self, tag):
|
def HandleParamTag(self, tag):
|
||||||
if tag.IsEnding():
|
|
||||||
return false
|
|
||||||
|
|
||||||
if not tag.HasParam('NAME'):
|
if not tag.HasParam('NAME'):
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user