typedef struct swig_type_info *(*swig_dycast_func)(void **);
typedef struct swig_type_info {
- const char *name;
+ const char *name;
swig_converter_func converter;
const char *str;
- void *clientdata;
+ void *clientdata;
swig_dycast_func dcast;
struct swig_type_info *next;
struct swig_type_info *prev;
#ifdef __cplusplus
}
+
#endif
/***********************************************************************
/* Contract support */
-#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
-#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
-
-#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
-#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
+#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
-#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
-#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
-#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
#ifdef __cplusplus
}
}
+wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
+ wxRect r;
+ self->GetFieldRect(i, r);
+ return r;
+ }
static const wxChar* wxSplitterNameStr = wxT("splitter");
DECLARE_DEF_STRING(SplitterNameStr);
#include <wx/tipwin.h>
-wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const *text,wxCoord maxLength,wxRect *rectBound){
- wxString tmp = *text;
- return new wxTipWindow(parent, tmp, maxLength, NULL, rectBound);
+wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
+ return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
}
#include <wx/tipwin.h>
// find the index of the line we need to show at the top of the window such
// that the last (fully or partially) visible line is the given one
- size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
+ size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
{ return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
// get the total height of the lines between lineMin (inclusive) and
// Since this one would be tough and ugly to do with the Macros...
void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
- bool hadErr = FALSE;
+ bool hadErr = False;
bool found;
wxPyBeginBlockThreads();
val = PyTuple_GetItem(result, 0);
if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
- else hadErr = TRUE;
+ else hadErr = True;
val = PyTuple_GetItem(result, 1);
if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
- else hadErr = TRUE;
+ else hadErr = True;
val = PyTuple_GetItem(result, 2);
if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
- else hadErr = TRUE;
+ else hadErr = True;
val = PyTuple_GetItem(result, 3);
if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
- else hadErr = TRUE;
+ else hadErr = True;
}
else
- hadErr = TRUE;
+ hadErr = True;
if (hadErr) {
PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
- bool rval=FALSE; \
+ bool rval=False; \
bool found; \
wxPyBeginBlockThreads(); \
if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 ;
+ int arg2 = (int) (int)-1 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
wxPanel *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = false ;
+ bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
if (obj2) {
{
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = true;
+ temp6 = True;
}
}
{
PyObject *resultobj;
wxPanel *arg1 = (wxPanel *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 ;
+ int arg3 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxSize const &arg5_defvalue = wxDefaultSize ;
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ;
+ int arg2 = (int) (int)-1 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
wxScrolledWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = false ;
+ bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = true;
+ temp6 = True;
}
}
{
PyObject *resultobj;
wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ;
+ int arg3 = (int) (int)-1 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxSize const &arg5_defvalue = wxDefaultSize ;
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
int arg5 ;
int arg6 = (int) 0 ;
int arg7 = (int) 0 ;
- bool arg8 = (bool) FALSE ;
+ bool arg8 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj7 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
PyObject *resultobj;
wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
- int arg2 ;
- int arg3 ;
- int *arg4 = (int *) 0 ;
- int *arg5 = (int *) 0 ;
- int temp4 ;
- int temp5 ;
+ wxPoint *arg2 = 0 ;
+ wxPoint result;
+ wxPoint temp2 ;
PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
- arg4 = &temp4;
- arg5 = &temp5;
- if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
+ if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+ {
+ arg2 = &temp2;
+ if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
+ result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyInt_FromLong((long) (*arg4));
- resultobj = t_output_helper(resultobj,o);
- }
{
- PyObject *o = PyInt_FromLong((long) (*arg5));
- resultobj = t_output_helper(resultobj,o);
+ wxPoint * resultptr;
+ resultptr = new wxPoint((wxPoint &) result);
+ resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
}
return resultobj;
fail:
static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
PyObject *resultobj;
wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
- wxPoint *arg2 = 0 ;
- wxPoint result;
- wxPoint temp2 ;
+ int arg2 ;
+ int arg3 ;
+ int *arg4 = (int *) 0 ;
+ int *arg5 = (int *) 0 ;
+ int temp4 ;
+ int temp5 ;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
+ arg4 = &temp4;
+ arg5 = &temp5;
+ if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- arg2 = &temp2;
- if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
- }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
+ ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
+ Py_INCREF(Py_None); resultobj = Py_None;
{
- wxPoint * resultptr;
- resultptr = new wxPoint((wxPoint &) result);
- resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
+ PyObject *o = PyInt_FromLong((long) (*arg4));
+ resultobj = t_output_helper(resultobj,o);
+ }
+ {
+ PyObject *o = PyInt_FromLong((long) (*arg5));
+ resultobj = t_output_helper(resultobj,o);
}
return resultobj;
fail:
_v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
}
if (_v) {
- return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
+ return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
}
}
}
_v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
}
if (_v) {
- return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
+ return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
}
}
}
static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
PyObject *resultobj;
wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
- int arg2 ;
- int arg3 ;
- int *arg4 = (int *) 0 ;
- int *arg5 = (int *) 0 ;
- int temp4 ;
- int temp5 ;
+ wxPoint *arg2 = 0 ;
+ wxPoint result;
+ wxPoint temp2 ;
PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
- arg4 = &temp4;
- arg5 = &temp5;
- if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
+ if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+ {
+ arg2 = &temp2;
+ if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
+ result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyInt_FromLong((long) (*arg4));
- resultobj = t_output_helper(resultobj,o);
- }
{
- PyObject *o = PyInt_FromLong((long) (*arg5));
- resultobj = t_output_helper(resultobj,o);
+ wxPoint * resultptr;
+ resultptr = new wxPoint((wxPoint &) result);
+ resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
}
return resultobj;
fail:
static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
PyObject *resultobj;
wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
- wxPoint *arg2 = 0 ;
- wxPoint result;
- wxPoint temp2 ;
+ int arg2 ;
+ int arg3 ;
+ int *arg4 = (int *) 0 ;
+ int *arg5 = (int *) 0 ;
+ int temp4 ;
+ int temp5 ;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
+ arg4 = &temp4;
+ arg5 = &temp5;
+ if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- arg2 = &temp2;
- if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
- }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
+ ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
+ Py_INCREF(Py_None); resultobj = Py_None;
{
- wxPoint * resultptr;
- resultptr = new wxPoint((wxPoint &) result);
- resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
+ PyObject *o = PyInt_FromLong((long) (*arg4));
+ resultobj = t_output_helper(resultobj,o);
+ }
+ {
+ PyObject *o = PyInt_FromLong((long) (*arg5));
+ resultobj = t_output_helper(resultobj,o);
}
return resultobj;
fail:
_v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
}
if (_v) {
- return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
+ return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
}
}
}
_v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
}
if (_v) {
- return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
+ return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
}
}
}
PyObject *resultobj;
wxString *arg1 = 0 ;
wxAcceleratorEntry *result;
- bool temp1 = false ;
+ bool temp1 = False ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "label", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = true;
+ temp1 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
- bool arg2 = (bool) TRUE ;
+ bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
- bool arg2 = (bool) TRUE ;
+ bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 ;
+ int arg2 ;
wxString *arg3 = 0 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxString const &arg7_defvalue = wxPyFrameNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxFrame *result;
- bool temp3 = false ;
+ bool temp3 = False ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
if (obj3) {
{
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
PyObject *resultobj;
wxFrame *arg1 = (wxFrame *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 ;
+ int arg3 ;
wxString *arg4 = 0 ;
wxPoint const &arg5_defvalue = wxDefaultPosition ;
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
wxString const &arg8_defvalue = wxPyFrameNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
bool result;
- bool temp4 = false ;
+ bool temp4 = False ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = false ;
+ bool temp8 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
if (obj4) {
{
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = true;
+ temp8 = True;
}
}
{
wxFrame *arg1 = (wxFrame *) 0 ;
int arg2 = (int) 1 ;
long arg3 = (long) wxST_SIZEGRIP ;
- wxWindowID arg4 = (wxWindowID) 0 ;
+ int arg4 = (int) 0 ;
wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
wxString *arg5 = (wxString *) &arg5_defvalue ;
wxStatusBar *result;
- bool temp5 = false ;
+ bool temp5 = False ;
PyObject * obj0 = 0 ;
PyObject * obj4 = 0 ;
char *kwnames[] = {
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = true;
+ temp5 = True;
}
}
{
wxFrame *arg1 = (wxFrame *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxFrame *arg1 = (wxFrame *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFrame *arg1 = (wxFrame *) 0 ;
long arg2 = (long) -1 ;
- wxWindowID arg3 = (wxWindowID) -1 ;
+ int arg3 = (int) -1 ;
wxString const &arg4_defvalue = wxPyToolBarNameStr ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
wxToolBar *result;
- bool temp4 = false ;
+ bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
}
{
wxFrame *arg1 = (wxFrame *) 0 ;
wxString *arg2 = 0 ;
bool arg3 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
arg3 = PyInt_AsLong(obj2) ? true : false;
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 ;
+ int arg2 ;
wxString *arg3 = 0 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxString const &arg7_defvalue = wxPyDialogNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxDialog *result;
- bool temp3 = false ;
+ bool temp3 = False ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
if (obj3) {
{
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
PyObject *resultobj;
wxDialog *arg1 = (wxDialog *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 ;
+ int arg3 ;
wxString *arg4 = 0 ;
wxPoint const &arg5_defvalue = wxDefaultPosition ;
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
wxString const &arg8_defvalue = wxPyDialogNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
bool result;
- bool temp4 = false ;
+ bool temp4 = False ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = false ;
+ bool temp8 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
if (obj4) {
{
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = true;
+ temp8 = True;
}
}
{
wxDialog *arg1 = (wxDialog *) 0 ;
wxString *arg2 = 0 ;
wxSizer *result;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 ;
+ int arg2 ;
wxString *arg3 = 0 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxString const &arg7_defvalue = wxPyFrameNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxMiniFrame *result;
- bool temp3 = false ;
+ bool temp3 = False ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
if (obj3) {
{
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
PyObject *resultobj;
wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 ;
+ int arg3 ;
wxString *arg4 = 0 ;
wxPoint const &arg5_defvalue = wxDefaultPosition ;
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
wxString const &arg8_defvalue = wxPyFrameNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
bool result;
- bool temp4 = false ;
+ bool temp4 = False ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = false ;
+ bool temp8 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
if (obj4) {
{
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = true;
+ temp8 = True;
}
}
{
PyObject *resultobj;
wxBitmap *arg1 = 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 ;
+ int arg3 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxSize const &arg5_defvalue = wxDefaultSize ;
long arg2 ;
int arg3 ;
wxWindow *arg4 = (wxWindow *) 0 ;
- wxWindowID arg5 ;
+ int arg5 ;
wxPoint const &arg6_defvalue = wxDefaultPosition ;
wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
wxSize const &arg7_defvalue = wxDefaultSize ;
static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 = (wxWindowID) -1 ;
+ int arg2 = (int) -1 ;
long arg3 = (long) wxST_SIZEGRIP ;
wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
wxStatusBar *result;
- bool temp4 = false ;
+ bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
}
{
PyObject *resultobj;
wxStatusBar *arg1 = (wxStatusBar *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 ;
+ int arg3 ;
long arg4 = (long) wxST_SIZEGRIP ;
wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
wxString *arg5 = (wxString *) &arg5_defvalue ;
bool result;
- bool temp5 = false ;
+ bool temp5 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj4 = 0 ;
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = true;
+ temp5 = True;
}
}
{
wxStatusBar *arg1 = (wxStatusBar *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStatusBar *arg1 = (wxStatusBar *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxStatusBar *arg1 = (wxStatusBar *) 0 ;
int arg2 ;
- wxRect *arg3 = 0 ;
- bool result;
- wxRect temp3 ;
+ wxRect result;
PyObject * obj0 = 0 ;
- PyObject * obj2 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "i",(char *) "rect", NULL
+ (char *) "self",(char *) "i", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StatusBar_GetFieldRect",kwnames,&obj0,&arg2,&obj2)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- arg3 = &temp3;
- if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
- }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)((wxStatusBar const *)arg1)->GetFieldRect(arg2,*arg3);
+ result = wxStatusBar_GetFieldRect(arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = PyInt_FromLong((long)result);
+ {
+ wxRect * resultptr;
+ resultptr = new wxRect((wxRect &) result);
+ resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
+ }
return resultobj;
fail:
return NULL;
static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 ;
+ int arg2 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
wxSplitterWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = false ;
+ bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = true;
+ temp6 = True;
}
}
{
PyObject *resultobj;
wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 ;
+ int arg3 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxSize const &arg5_defvalue = wxDefaultSize ;
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
PyObject *resultobj;
wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
int arg2 ;
- bool arg3 = (bool) TRUE ;
+ bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 ;
+ int arg2 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
wxSashWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = false ;
+ bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = true;
+ temp6 = True;
}
}
{
PyObject *resultobj;
wxSashWindow *arg1 = (wxSashWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 ;
+ int arg3 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxSize const &arg5_defvalue = wxDefaultSize ;
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
}
static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
- wxWindowID arg1 = (wxWindowID) 0 ;
+ int arg1 = (int) 0 ;
wxQueryLayoutInfoEvent *result;
char *kwnames[] = {
(char *) "id", NULL
}
static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
- wxWindowID arg1 = (wxWindowID) 0 ;
+ int arg1 = (int) 0 ;
wxCalculateLayoutEvent *result;
char *kwnames[] = {
(char *) "id", NULL
static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 ;
+ int arg2 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
wxSashLayoutWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = false ;
+ bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = true;
+ temp6 = True;
}
}
{
PyObject *resultobj;
wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 ;
+ int arg3 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxSize const &arg5_defvalue = wxDefaultSize ;
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxString *arg2 = (wxString *) 0 ;
- wxCoord arg3 = (wxCoord) 100 ;
+ wxString *arg2 = 0 ;
+ int arg3 = (int) 100 ;
wxRect *arg4 = (wxRect *) NULL ;
wxTipWindow *result;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = True;
+ }
if (obj3) {
if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const *)arg2,arg3,arg4);
+ result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
+ {
+ if (temp2)
+ delete arg2;
+ }
return resultobj;
fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
return NULL;
}
static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 = (wxWindowID) wxID_ANY ;
+ int arg2 = (int) wxID_ANY ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
wxPyVScrolledWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = false ;
+ bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = true;
+ temp6 = True;
}
}
{
PyObject *resultobj;
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 = (wxWindowID) wxID_ANY ;
+ int arg3 = (int) wxID_ANY ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxSize const &arg5_defvalue = wxDefaultSize ;
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
- wxCoord arg2 ;
- wxCoord arg3 ;
+ int arg2 ;
+ int arg3 ;
int result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 = (wxWindowID) wxID_ANY ;
+ int arg2 = (int) wxID_ANY ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
wxPyVListBox *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = false ;
+ bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = true;
+ temp6 = True;
}
}
{
PyObject *resultobj;
wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 = (wxWindowID) wxID_ANY ;
+ int arg3 = (int) wxID_ANY ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxSize const &arg5_defvalue = wxDefaultSize ;
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
PyObject *resultobj;
wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
size_t arg2 ;
- bool arg3 = (bool) true ;
+ bool arg3 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
- wxCoord arg2 ;
- wxCoord arg3 ;
+ int arg2 ;
+ int arg3 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "x",(char *) "y", NULL
static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 = (wxWindowID) wxID_ANY ;
+ int arg2 = (int) wxID_ANY ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
wxPyHtmlListBox *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = false ;
+ bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = true;
+ temp6 = True;
}
}
{
PyObject *resultobj;
wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 = (wxWindowID) wxID_ANY ;
+ int arg3 = (int) wxID_ANY ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxSize const &arg5_defvalue = wxDefaultSize ;
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxDirDialog *result;
- bool temp2 = false ;
- bool temp3 = false ;
+ bool temp2 = False ;
+ bool temp3 = False ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
}
if (obj4) {
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
PyObject *resultobj;
wxDirDialog *arg1 = (wxDirDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxDirDialog *arg1 = (wxDirDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPoint const &arg7_defvalue = wxDefaultPosition ;
wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
wxFileDialog *result;
- bool temp2 = false ;
- bool temp3 = false ;
- bool temp4 = false ;
- bool temp5 = false ;
+ bool temp2 = False ;
+ bool temp3 = False ;
+ bool temp4 = False ;
+ bool temp5 = False ;
wxPoint temp7 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
}
if (obj4) {
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = true;
+ temp5 = True;
}
}
if (obj6) {
PyObject *resultobj;
wxFileDialog *arg1 = (wxFileDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFileDialog *arg1 = (wxFileDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFileDialog *arg1 = (wxFileDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFileDialog *arg1 = (wxFileDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFileDialog *arg1 = (wxFileDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPoint const &arg7_defvalue = wxDefaultPosition ;
wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
wxMultiChoiceDialog *result;
- bool temp2 = false ;
- bool temp3 = false ;
+ bool temp2 = False ;
+ bool temp3 = False ;
wxPoint temp7 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
if (obj6) {
wxPoint const &arg7_defvalue = wxDefaultPosition ;
wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
wxSingleChoiceDialog *result;
- bool temp2 = false ;
- bool temp3 = false ;
+ bool temp2 = False ;
+ bool temp3 = False ;
wxPoint temp6 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
{
arg4 = PyList_Size(obj3);
wxPoint const &arg6_defvalue = wxDefaultPosition ;
wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
wxTextEntryDialog *result;
- bool temp2 = false ;
- bool temp3 = false ;
- bool temp4 = false ;
+ bool temp2 = False ;
+ bool temp3 = False ;
+ bool temp4 = False ;
wxPoint temp6 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
}
if (obj5) {
PyObject *resultobj;
wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPoint const &arg5_defvalue = wxDefaultPosition ;
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
wxMessageDialog *result;
- bool temp2 = false ;
- bool temp3 = false ;
+ bool temp2 = False ;
+ bool temp3 = False ;
wxPoint temp5 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
}
if (obj4) {
wxWindow *arg4 = (wxWindow *) NULL ;
int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
wxProgressDialog *result;
- bool temp1 = false ;
- bool temp2 = false ;
+ bool temp1 = False ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = true;
+ temp1 = True;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
if (obj3) {
if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
bool result;
- bool temp3 = false ;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
}
{
PyObject *resultobj;
wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg3 = 0 ;
int arg4 = (int) 0 ;
wxFindReplaceDialog *result;
- bool temp3 = false ;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg4 = 0 ;
int arg5 = (int) 0 ;
bool result;
- bool temp4 = false ;
+ bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 ;
+ int arg2 ;
wxString *arg3 = 0 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxString const &arg7_defvalue = wxPyFrameNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxMDIParentFrame *result;
- bool temp3 = false ;
+ bool temp3 = False ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
if (obj3) {
{
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
PyObject *resultobj;
wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 ;
+ int arg3 ;
wxString *arg4 = 0 ;
wxPoint const &arg5_defvalue = wxDefaultPosition ;
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
wxString const &arg8_defvalue = wxPyFrameNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
bool result;
- bool temp4 = false ;
+ bool temp4 = False ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = false ;
+ bool temp8 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
if (obj4) {
{
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = true;
+ temp8 = True;
}
}
{
static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
- wxWindowID arg2 ;
+ int arg2 ;
wxString *arg3 = 0 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxString const &arg7_defvalue = wxPyFrameNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxMDIChildFrame *result;
- bool temp3 = false ;
+ bool temp3 = False ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
if (obj3) {
{
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
PyObject *resultobj;
wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
- wxWindowID arg3 ;
+ int arg3 ;
wxString *arg4 = 0 ;
wxPoint const &arg5_defvalue = wxDefaultPosition ;
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
wxString const &arg8_defvalue = wxPyFrameNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
bool result;
- bool temp4 = false ;
+ bool temp4 = False ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = false ;
+ bool temp8 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
if (obj4) {
{
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = true;
+ temp8 = True;
}
}
{
static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 ;
+ int arg2 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
wxPyWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = false ;
+ bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = true;
+ temp6 = True;
}
}
{
static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindowID arg2 ;
+ int arg2 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
wxPyPanel *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = false ;
+ bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = true;
+ temp6 = True;
}
}
{
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPrinter *arg1 = (wxPrinter *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
- int arg4 = (int) TRUE ;
+ int arg4 = (int) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
wxString *arg4 = 0 ;
- bool temp4 = false ;
+ bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxPyPrintout *result;
- bool temp1 = false ;
+ bool temp1 = False ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "title", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = true;
+ temp1 = True;
}
}
{
}
-static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
+static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
- int *arg2 = (int *) 0 ;
- int *arg3 = (int *) 0 ;
- int temp2 ;
- int temp3 ;
+ int arg2 ;
+ int arg3 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
- (char *) "self", NULL
+ (char *) "self",(char *) "w",(char *) "h", NULL
};
- arg2 = &temp2;
- arg3 = &temp3;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->GetPageSizePixels(arg2,arg3);
+ (arg1)->SetPageSizePixels(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyInt_FromLong((long) (*arg2));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyInt_FromLong((long) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
return resultobj;
fail:
return NULL;
}
-static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
+static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
- int arg2 ;
- int arg3 ;
+ int *arg2 = (int *) 0 ;
+ int *arg3 = (int *) 0 ;
+ int temp2 ;
+ int temp3 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "w",(char *) "h", NULL
+ (char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
+ arg2 = &temp2;
+ arg3 = &temp3;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->SetPageSizePixels(arg2,arg3);
+ (arg1)->GetPageSizePixels(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ PyObject *o = PyInt_FromLong((long) (*arg2));
+ resultobj = t_output_helper(resultobj,o);
+ }
+ {
+ PyObject *o = PyInt_FromLong((long) (*arg3));
+ resultobj = t_output_helper(resultobj,o);
+ }
return resultobj;
fail:
return NULL;
}
+static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
+ int arg2 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "page", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->base_HasPage(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = PyInt_FromLong((long)result);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
}
-static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
- int arg2 ;
- bool result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self",(char *) "page", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)(arg1)->base_HasPage(arg2);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- resultobj = PyInt_FromLong((long)result);
- return resultobj;
- fail:
- return NULL;
-}
-
-
static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
wxPreviewCanvas *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = false ;
+ bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = true;
+ temp6 = True;
}
}
{
wxString const &arg7_defvalue = wxPyFrameNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxPreviewFrame *result;
- bool temp3 = false ;
+ bool temp3 = False ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
if (obj3) {
{
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
wxPreviewControlBar *result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
wxString const &arg7_defvalue = wxPyFrameNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxPyPreviewFrame *result;
- bool temp3 = false ;
+ bool temp3 = False ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
if (obj3) {
{
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
wxPyPreviewControlBar *result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = false ;
+ bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = true;
+ temp7 = True;
}
}
{
{ (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
- { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
+ { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
- { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
+ { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
{ (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
{ (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },