A few minor fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2044 lines
76 KiB
C++
2044 lines
76 KiB
C++
/*
|
|
* FILE : msw/windows3.cpp
|
|
*
|
|
* This file was automatically generated by :
|
|
* Simplified Wrapper and Interface Generator (SWIG)
|
|
* Version 1.1 (Patch 6)
|
|
*
|
|
* Portions Copyright (c) 1995-1998
|
|
* The University of Utah and The Regents of the University of California.
|
|
* Permission is granted to distribute this file in any manner provided
|
|
* this notice remains intact.
|
|
*
|
|
* Do not make changes to this file--changes will be lost!
|
|
*
|
|
*/
|
|
|
|
|
|
#define SWIGCODE
|
|
/* Implementation : PYTHON */
|
|
|
|
#define SWIGPYTHON
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
/* Definitions for Windows/Unix exporting */
|
|
#if defined(__WIN32__)
|
|
# if defined(_MSC_VER)
|
|
# define SWIGEXPORT(a) __declspec(dllexport) a
|
|
# else
|
|
# if defined(__BORLANDC__)
|
|
# define SWIGEXPORT(a) a _export
|
|
# else
|
|
# define SWIGEXPORT(a) a
|
|
# endif
|
|
# endif
|
|
#else
|
|
# define SWIGEXPORT(a) a
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include "Python.h"
|
|
extern void SWIG_MakePtr(char *, void *, char *);
|
|
extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
|
|
extern char *SWIG_GetPtr(char *, void **, char *);
|
|
extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
|
|
extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
|
|
extern PyObject *SWIG_newvarlink(void);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#define SWIG_init initwindows3c
|
|
|
|
#define SWIG_name "windows3c"
|
|
|
|
#include "helpers.h"
|
|
#include <wx/sashwin.h>
|
|
#include <wx/laywin.h>
|
|
|
|
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
|
|
PyObject* o2;
|
|
PyObject* o3;
|
|
if (!target) {
|
|
target = o;
|
|
} else if (target == Py_None) {
|
|
Py_DECREF(Py_None);
|
|
target = o;
|
|
} else {
|
|
if (!PyList_Check(target)) {
|
|
o2 = target;
|
|
target = PyList_New(0);
|
|
PyList_Append(target, o2);
|
|
Py_XDECREF(o2);
|
|
}
|
|
PyList_Append(target,o);
|
|
Py_XDECREF(o);
|
|
}
|
|
return target;
|
|
}
|
|
|
|
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|
PyObject* o2;
|
|
PyObject* o3;
|
|
|
|
if (!target) {
|
|
target = o;
|
|
} else if (target == Py_None) {
|
|
Py_DECREF(Py_None);
|
|
target = o;
|
|
} else {
|
|
if (!PyTuple_Check(target)) {
|
|
o2 = target;
|
|
target = PyTuple_New(1);
|
|
PyTuple_SetItem(target, 0, o2);
|
|
}
|
|
o3 = PyTuple_New(1);
|
|
PyTuple_SetItem(o3, 0, o);
|
|
|
|
o2 = target;
|
|
target = PySequence_Concat(o2, o3);
|
|
Py_DECREF(o2);
|
|
Py_DECREF(o3);
|
|
}
|
|
return target;
|
|
}
|
|
|
|
|
|
extern byte* byte_LIST_helper(PyObject* source);
|
|
extern int* int_LIST_helper(PyObject* source);
|
|
extern long* long_LIST_helper(PyObject* source);
|
|
extern char** string_LIST_helper(PyObject* source);
|
|
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
extern wxString* wxString_LIST_helper(PyObject* source);
|
|
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
|
|
|
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
static void *SwigwxSashEventTowxCommandEvent(void *ptr) {
|
|
wxSashEvent *src;
|
|
wxCommandEvent *dest;
|
|
src = (wxSashEvent *) ptr;
|
|
dest = (wxCommandEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxSashEventTowxEvent(void *ptr) {
|
|
wxSashEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxSashEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
|
|
static PyObject *_wrap_wxSashEvent_SetEdge(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashEvent * _arg0;
|
|
wxSashEdgePosition _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashEvent_SetEdge",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashEvent_SetEdge(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
|
|
static PyObject *_wrap_wxSashEvent_GetEdge(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashEdgePosition _result;
|
|
wxSashEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxSashEvent_GetEdge",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxSashEdgePosition )wxSashEvent_GetEdge(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
|
|
static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashEvent * _arg0;
|
|
wxRect * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"OO:wxSashEvent_SetDragRect",&_argo0,&_argo1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSashEvent_SetDragRect. Expected _wxRect_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashEvent_SetDragRect(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
|
|
static PyObject *_wrap_wxSashEvent_GetDragRect(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxRect * _result;
|
|
wxSashEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxSashEvent_GetDragRect",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxRect (wxSashEvent_GetDragRect(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
|
|
static PyObject *_wrap_wxSashEvent_SetDragStatus(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashEvent * _arg0;
|
|
wxSashDragStatus _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashEvent_SetDragStatus",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashEvent_SetDragStatus(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
|
|
static PyObject *_wrap_wxSashEvent_GetDragStatus(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashDragStatus _result;
|
|
wxSashEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxSashEvent_GetDragStatus",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxSashDragStatus )wxSashEvent_GetDragStatus(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxSashWindowTowxWindow(void *ptr) {
|
|
wxSashWindow *src;
|
|
wxWindow *dest;
|
|
src = (wxSashWindow *) ptr;
|
|
dest = (wxWindow *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxSashWindowTowxEvtHandler(void *ptr) {
|
|
wxSashWindow *src;
|
|
wxEvtHandler *dest;
|
|
src = (wxSashWindow *) ptr;
|
|
dest = (wxEvtHandler *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
|
static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashWindow * _result;
|
|
wxWindow * _arg0;
|
|
wxWindowID _arg1;
|
|
wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
|
|
wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
|
|
long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
|
|
char * _arg5 = (char *) "sashWindow";
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo2 = 0;
|
|
PyObject * _argo3 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi|OOls:new_wxSashWindow",&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
|
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 new_wxSashWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo2) {
|
|
if (_argo2 == Py_None) { _arg2 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSashWindow. Expected _wxPoint_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo3) {
|
|
if (_argo3 == Py_None) { _arg3 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSashWindow. Expected _wxSize_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxSashWindow *)new_wxSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} if (_result) {
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashWindow_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
|
|
static PyObject *_wrap_wxSashWindow_GetSashVisible(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxSashWindow * _arg0;
|
|
wxSashEdgePosition _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_GetSashVisible",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxSashWindow_GetSashVisible(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
|
|
static PyObject *_wrap_wxSashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxSashWindow * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxSashWindow_GetDefaultBorderSize",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxSashWindow_GetDefaultBorderSize(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
|
|
static PyObject *_wrap_wxSashWindow_GetEdgeMargin(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxSashWindow * _arg0;
|
|
wxSashEdgePosition _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_GetEdgeMargin",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxSashWindow_GetEdgeMargin(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
|
|
static PyObject *_wrap_wxSashWindow_GetExtraBorderSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxSashWindow * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxSashWindow_GetExtraBorderSize",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxSashWindow_GetExtraBorderSize(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
|
|
static PyObject *_wrap_wxSashWindow_GetMaximumSizeX(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxSashWindow * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxSashWindow_GetMaximumSizeX",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxSashWindow_GetMaximumSizeX(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
|
|
static PyObject *_wrap_wxSashWindow_GetMaximumSizeY(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxSashWindow * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxSashWindow_GetMaximumSizeY",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxSashWindow_GetMaximumSizeY(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
|
|
static PyObject *_wrap_wxSashWindow_GetMinimumSizeX(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxSashWindow * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxSashWindow_GetMinimumSizeX",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxSashWindow_GetMinimumSizeX(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
|
|
static PyObject *_wrap_wxSashWindow_GetMinimumSizeY(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxSashWindow * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxSashWindow_GetMinimumSizeY",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxSashWindow_GetMinimumSizeY(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
|
|
static PyObject *_wrap_wxSashWindow_HasBorder(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxSashWindow * _arg0;
|
|
wxSashEdgePosition _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_HasBorder",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxSashWindow_HasBorder(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
|
|
static PyObject *_wrap_wxSashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashWindow * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_SetDefaultBorderSize",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashWindow_SetDefaultBorderSize(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
|
|
static PyObject *_wrap_wxSashWindow_SetExtraBorderSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashWindow * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_SetExtraBorderSize",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashWindow_SetExtraBorderSize(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
|
|
static PyObject *_wrap_wxSashWindow_SetMaximumSizeX(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashWindow * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_SetMaximumSizeX",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashWindow_SetMaximumSizeX(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
|
|
static PyObject *_wrap_wxSashWindow_SetMaximumSizeY(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashWindow * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_SetMaximumSizeY",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashWindow_SetMaximumSizeY(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
|
|
static PyObject *_wrap_wxSashWindow_SetMinimumSizeX(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashWindow * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_SetMinimumSizeX",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashWindow_SetMinimumSizeX(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
|
|
static PyObject *_wrap_wxSashWindow_SetMinimumSizeY(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashWindow * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_SetMinimumSizeY",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashWindow_SetMinimumSizeY(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxSashWindow_SetSashVisible(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashWindow * _arg0;
|
|
wxSashEdgePosition _arg1;
|
|
bool _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool2;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oii:wxSashWindow_SetSashVisible",&_argo0,&_arg1,&tempbool2))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashWindow_SetSashVisible(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxSashWindow_SetSashBorder(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashWindow * _arg0;
|
|
wxSashEdgePosition _arg1;
|
|
bool _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool2;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oii:wxSashWindow_SetSashBorder",&_argo0,&_arg1,&tempbool2))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashWindow_SetSashBorder(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr) {
|
|
wxQueryLayoutInfoEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxQueryLayoutInfoEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
|
|
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxQueryLayoutInfoEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxQueryLayoutInfoEvent_SetRequestedLength(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
|
|
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxQueryLayoutInfoEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxQueryLayoutInfoEvent_GetRequestedLength",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
|
|
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxQueryLayoutInfoEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxQueryLayoutInfoEvent_SetFlags",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxQueryLayoutInfoEvent_SetFlags(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
|
|
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxQueryLayoutInfoEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxQueryLayoutInfoEvent_GetFlags",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxQueryLayoutInfoEvent_GetFlags(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
|
|
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxQueryLayoutInfoEvent * _arg0;
|
|
wxSize * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"OO:wxQueryLayoutInfoEvent_SetSize",&_argo0,&_argo1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSize_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxQueryLayoutInfoEvent_SetSize. Expected _wxSize_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxQueryLayoutInfoEvent_SetSize(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
|
|
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSize * _result;
|
|
wxQueryLayoutInfoEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxQueryLayoutInfoEvent_GetSize",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
|
|
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxQueryLayoutInfoEvent * _arg0;
|
|
wxLayoutOrientation _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxQueryLayoutInfoEvent_SetOrientation",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxQueryLayoutInfoEvent_SetOrientation(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
|
|
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxLayoutOrientation _result;
|
|
wxQueryLayoutInfoEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxQueryLayoutInfoEvent_GetOrientation",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxLayoutOrientation )wxQueryLayoutInfoEvent_GetOrientation(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
|
|
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxQueryLayoutInfoEvent * _arg0;
|
|
wxLayoutAlignment _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxQueryLayoutInfoEvent_SetAlignment",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxQueryLayoutInfoEvent_SetAlignment(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
|
|
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxLayoutAlignment _result;
|
|
wxQueryLayoutInfoEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxQueryLayoutInfoEvent_GetAlignment",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxLayoutAlignment )wxQueryLayoutInfoEvent_GetAlignment(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr) {
|
|
wxCalculateLayoutEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxCalculateLayoutEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
|
|
static PyObject *_wrap_wxCalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxCalculateLayoutEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxCalculateLayoutEvent_SetFlags",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxCalculateLayoutEvent_SetFlags(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
|
|
static PyObject *_wrap_wxCalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxCalculateLayoutEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxCalculateLayoutEvent_GetFlags",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxCalculateLayoutEvent_GetFlags(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
|
|
static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxCalculateLayoutEvent * _arg0;
|
|
wxRect * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"OO:wxCalculateLayoutEvent_SetRect",&_argo0,&_argo1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCalculateLayoutEvent_SetRect. Expected _wxRect_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxCalculateLayoutEvent_SetRect(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
|
|
static PyObject *_wrap_wxCalculateLayoutEvent_GetRect(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxRect * _result;
|
|
wxCalculateLayoutEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxCalculateLayoutEvent_GetRect",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxRect (wxCalculateLayoutEvent_GetRect(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr) {
|
|
wxSashLayoutWindow *src;
|
|
wxSashWindow *dest;
|
|
src = (wxSashLayoutWindow *) ptr;
|
|
dest = (wxSashWindow *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxSashLayoutWindowTowxWindow(void *ptr) {
|
|
wxSashLayoutWindow *src;
|
|
wxWindow *dest;
|
|
src = (wxSashLayoutWindow *) ptr;
|
|
dest = (wxWindow *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr) {
|
|
wxSashLayoutWindow *src;
|
|
wxEvtHandler *dest;
|
|
src = (wxSashLayoutWindow *) ptr;
|
|
dest = (wxEvtHandler *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
|
static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashLayoutWindow * _result;
|
|
wxWindow * _arg0;
|
|
wxWindowID _arg1;
|
|
wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
|
|
wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
|
|
long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
|
|
char * _arg5 = (char *) "layoutWindow";
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo2 = 0;
|
|
PyObject * _argo3 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi|OOls:new_wxSashLayoutWindow",&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
|
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 new_wxSashLayoutWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo2) {
|
|
if (_argo2 == Py_None) { _arg2 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSashLayoutWindow. Expected _wxPoint_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo3) {
|
|
if (_argo3 == Py_None) { _arg3 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSashLayoutWindow. Expected _wxSize_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxSashLayoutWindow *)new_wxSashLayoutWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} if (_result) {
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashLayoutWindow_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
|
|
static PyObject *_wrap_wxSashLayoutWindow_GetAlignment(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxLayoutAlignment _result;
|
|
wxSashLayoutWindow * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxSashLayoutWindow_GetAlignment",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxLayoutAlignment )wxSashLayoutWindow_GetAlignment(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
|
|
static PyObject *_wrap_wxSashLayoutWindow_GetOrientation(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxLayoutOrientation _result;
|
|
wxSashLayoutWindow * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:wxSashLayoutWindow_GetOrientation",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxLayoutOrientation )wxSashLayoutWindow_GetOrientation(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
|
|
static PyObject *_wrap_wxSashLayoutWindow_SetAlignment(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashLayoutWindow * _arg0;
|
|
wxLayoutAlignment _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashLayoutWindow_SetAlignment",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashLayoutWindow_SetAlignment(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
|
|
static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashLayoutWindow * _arg0;
|
|
wxSize * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"OO:wxSashLayoutWindow_SetDefaultSize",&_argo0,&_argo1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSize_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSize_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashLayoutWindow_SetDefaultSize(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
|
|
static PyObject *_wrap_wxSashLayoutWindow_SetOrientation(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSashLayoutWindow * _arg0;
|
|
wxLayoutOrientation _arg1;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"Oi:wxSashLayoutWindow_SetOrientation",&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSashLayoutWindow_SetOrientation(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
|
|
static PyObject *_wrap_new_wxLayoutAlgorithm(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxLayoutAlgorithm * _result;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,":new_wxLayoutAlgorithm"))
|
|
return NULL;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxLayoutAlgorithm *)new_wxLayoutAlgorithm();
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} if (_result) {
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutAlgorithm_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
|
|
static PyObject *_wrap_delete_wxLayoutAlgorithm(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxLayoutAlgorithm * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"O:delete_wxLayoutAlgorithm",&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
delete_wxLayoutAlgorithm(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxLayoutAlgorithm * _arg0;
|
|
wxMDIParentFrame * _arg1;
|
|
wxRect * _arg2 = (wxRect *) NULL;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
PyObject * _argo2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",&_argo0,&_argo1,&_argo2))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMDIParentFrame_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo2) {
|
|
if (_argo2 == Py_None) { _arg2 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxRect_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxRect_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxLayoutAlgorithm * _arg0;
|
|
wxFrame * _arg1;
|
|
wxWindow * _arg2 = (wxWindow *) NULL;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
PyObject * _argo2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"OO|O:wxLayoutAlgorithm_LayoutFrame",&_argo0,&_argo1,&_argo2))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo2) {
|
|
if (_argo2 == Py_None) { _arg2 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxLayoutAlgorithm_LayoutFrame(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxLayoutAlgorithm * _arg0;
|
|
wxWindow * _arg1;
|
|
wxWindow * _arg2 = (wxWindow *) NULL;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
PyObject * _argo2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"OO|O:wxLayoutAlgorithm_LayoutWindow",&_argo0,&_argo1,&_argo2))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo2) {
|
|
if (_argo2 == Py_None) { _arg2 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxLayoutAlgorithm_LayoutWindow(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static PyMethodDef windows3cMethods[] = {
|
|
{ "wxLayoutAlgorithm_LayoutWindow", _wrap_wxLayoutAlgorithm_LayoutWindow, METH_VARARGS },
|
|
{ "wxLayoutAlgorithm_LayoutFrame", _wrap_wxLayoutAlgorithm_LayoutFrame, METH_VARARGS },
|
|
{ "wxLayoutAlgorithm_LayoutMDIFrame", _wrap_wxLayoutAlgorithm_LayoutMDIFrame, METH_VARARGS },
|
|
{ "delete_wxLayoutAlgorithm", _wrap_delete_wxLayoutAlgorithm, METH_VARARGS },
|
|
{ "new_wxLayoutAlgorithm", _wrap_new_wxLayoutAlgorithm, METH_VARARGS },
|
|
{ "wxSashLayoutWindow_SetOrientation", _wrap_wxSashLayoutWindow_SetOrientation, METH_VARARGS },
|
|
{ "wxSashLayoutWindow_SetDefaultSize", _wrap_wxSashLayoutWindow_SetDefaultSize, METH_VARARGS },
|
|
{ "wxSashLayoutWindow_SetAlignment", _wrap_wxSashLayoutWindow_SetAlignment, METH_VARARGS },
|
|
{ "wxSashLayoutWindow_GetOrientation", _wrap_wxSashLayoutWindow_GetOrientation, METH_VARARGS },
|
|
{ "wxSashLayoutWindow_GetAlignment", _wrap_wxSashLayoutWindow_GetAlignment, METH_VARARGS },
|
|
{ "new_wxSashLayoutWindow", _wrap_new_wxSashLayoutWindow, METH_VARARGS },
|
|
{ "wxCalculateLayoutEvent_GetRect", _wrap_wxCalculateLayoutEvent_GetRect, METH_VARARGS },
|
|
{ "wxCalculateLayoutEvent_SetRect", _wrap_wxCalculateLayoutEvent_SetRect, METH_VARARGS },
|
|
{ "wxCalculateLayoutEvent_GetFlags", _wrap_wxCalculateLayoutEvent_GetFlags, METH_VARARGS },
|
|
{ "wxCalculateLayoutEvent_SetFlags", _wrap_wxCalculateLayoutEvent_SetFlags, METH_VARARGS },
|
|
{ "wxQueryLayoutInfoEvent_GetAlignment", _wrap_wxQueryLayoutInfoEvent_GetAlignment, METH_VARARGS },
|
|
{ "wxQueryLayoutInfoEvent_SetAlignment", _wrap_wxQueryLayoutInfoEvent_SetAlignment, METH_VARARGS },
|
|
{ "wxQueryLayoutInfoEvent_GetOrientation", _wrap_wxQueryLayoutInfoEvent_GetOrientation, METH_VARARGS },
|
|
{ "wxQueryLayoutInfoEvent_SetOrientation", _wrap_wxQueryLayoutInfoEvent_SetOrientation, METH_VARARGS },
|
|
{ "wxQueryLayoutInfoEvent_GetSize", _wrap_wxQueryLayoutInfoEvent_GetSize, METH_VARARGS },
|
|
{ "wxQueryLayoutInfoEvent_SetSize", _wrap_wxQueryLayoutInfoEvent_SetSize, METH_VARARGS },
|
|
{ "wxQueryLayoutInfoEvent_GetFlags", _wrap_wxQueryLayoutInfoEvent_GetFlags, METH_VARARGS },
|
|
{ "wxQueryLayoutInfoEvent_SetFlags", _wrap_wxQueryLayoutInfoEvent_SetFlags, METH_VARARGS },
|
|
{ "wxQueryLayoutInfoEvent_GetRequestedLength", _wrap_wxQueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS },
|
|
{ "wxQueryLayoutInfoEvent_SetRequestedLength", _wrap_wxQueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS },
|
|
{ "wxSashWindow_SetSashBorder", _wrap_wxSashWindow_SetSashBorder, METH_VARARGS },
|
|
{ "wxSashWindow_SetSashVisible", _wrap_wxSashWindow_SetSashVisible, METH_VARARGS },
|
|
{ "wxSashWindow_SetMinimumSizeY", _wrap_wxSashWindow_SetMinimumSizeY, METH_VARARGS },
|
|
{ "wxSashWindow_SetMinimumSizeX", _wrap_wxSashWindow_SetMinimumSizeX, METH_VARARGS },
|
|
{ "wxSashWindow_SetMaximumSizeY", _wrap_wxSashWindow_SetMaximumSizeY, METH_VARARGS },
|
|
{ "wxSashWindow_SetMaximumSizeX", _wrap_wxSashWindow_SetMaximumSizeX, METH_VARARGS },
|
|
{ "wxSashWindow_SetExtraBorderSize", _wrap_wxSashWindow_SetExtraBorderSize, METH_VARARGS },
|
|
{ "wxSashWindow_SetDefaultBorderSize", _wrap_wxSashWindow_SetDefaultBorderSize, METH_VARARGS },
|
|
{ "wxSashWindow_HasBorder", _wrap_wxSashWindow_HasBorder, METH_VARARGS },
|
|
{ "wxSashWindow_GetMinimumSizeY", _wrap_wxSashWindow_GetMinimumSizeY, METH_VARARGS },
|
|
{ "wxSashWindow_GetMinimumSizeX", _wrap_wxSashWindow_GetMinimumSizeX, METH_VARARGS },
|
|
{ "wxSashWindow_GetMaximumSizeY", _wrap_wxSashWindow_GetMaximumSizeY, METH_VARARGS },
|
|
{ "wxSashWindow_GetMaximumSizeX", _wrap_wxSashWindow_GetMaximumSizeX, METH_VARARGS },
|
|
{ "wxSashWindow_GetExtraBorderSize", _wrap_wxSashWindow_GetExtraBorderSize, METH_VARARGS },
|
|
{ "wxSashWindow_GetEdgeMargin", _wrap_wxSashWindow_GetEdgeMargin, METH_VARARGS },
|
|
{ "wxSashWindow_GetDefaultBorderSize", _wrap_wxSashWindow_GetDefaultBorderSize, METH_VARARGS },
|
|
{ "wxSashWindow_GetSashVisible", _wrap_wxSashWindow_GetSashVisible, METH_VARARGS },
|
|
{ "new_wxSashWindow", _wrap_new_wxSashWindow, METH_VARARGS },
|
|
{ "wxSashEvent_GetDragStatus", _wrap_wxSashEvent_GetDragStatus, METH_VARARGS },
|
|
{ "wxSashEvent_SetDragStatus", _wrap_wxSashEvent_SetDragStatus, METH_VARARGS },
|
|
{ "wxSashEvent_GetDragRect", _wrap_wxSashEvent_GetDragRect, METH_VARARGS },
|
|
{ "wxSashEvent_SetDragRect", _wrap_wxSashEvent_SetDragRect, METH_VARARGS },
|
|
{ "wxSashEvent_GetEdge", _wrap_wxSashEvent_GetEdge, METH_VARARGS },
|
|
{ "wxSashEvent_SetEdge", _wrap_wxSashEvent_SetEdge, METH_VARARGS },
|
|
{ NULL, NULL }
|
|
};
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
/*
|
|
* This table is used by the pointer type-checker
|
|
*/
|
|
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|
{ "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
|
|
{ "_wxEvent","_class_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
|
|
{ "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
|
|
{ "_wxEvent","_class_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
|
|
{ "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
|
|
{ "_wxEvent","_class_wxSashEvent",SwigwxSashEventTowxEvent},
|
|
{ "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent},
|
|
{ "_wxEvent","_class_wxEvent",0},
|
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
|
{ "_signed_long","_long",0},
|
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
|
{ "_wxPrintQuality","_int",0},
|
|
{ "_wxPrintQuality","_signed_int",0},
|
|
{ "_wxPrintQuality","_unsigned_int",0},
|
|
{ "_wxPrintQuality","_wxWindowID",0},
|
|
{ "_wxPrintQuality","_uint",0},
|
|
{ "_wxPrintQuality","_EBool",0},
|
|
{ "_wxPrintQuality","_size_t",0},
|
|
{ "_class_wxRegionIterator","_wxRegionIterator",0},
|
|
{ "_class_wxMenuBar","_wxMenuBar",0},
|
|
{ "_class_wxEvtHandler","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
|
|
{ "_class_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
|
|
{ "_class_wxEvtHandler","_class_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
|
|
{ "_class_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
|
|
{ "_class_wxEvtHandler","_wxEvtHandler",0},
|
|
{ "_wxPaintEvent","_class_wxPaintEvent",0},
|
|
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
|
{ "_wxCursor","_class_wxCursor",0},
|
|
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
|
{ "_wxMask","_class_wxMask",0},
|
|
{ "_wxGrid","_class_wxGrid",0},
|
|
{ "_wxPen","_class_wxPen",0},
|
|
{ "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
|
|
{ "_byte","_unsigned_char",0},
|
|
{ "_wxStaticBox","_class_wxStaticBox",0},
|
|
{ "_wxChoice","_class_wxChoice",0},
|
|
{ "_wxSlider","_class_wxSlider",0},
|
|
{ "_wxNotebookEvent","_class_wxNotebookEvent",0},
|
|
{ "_long","_wxDash",0},
|
|
{ "_long","_unsigned_long",0},
|
|
{ "_long","_signed_long",0},
|
|
{ "_wxImageList","_class_wxImageList",0},
|
|
{ "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
|
|
{ "_wxBitmapButton","_class_wxBitmapButton",0},
|
|
{ "_wxSashWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
|
|
{ "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
|
|
{ "_wxSashWindow","_class_wxSashWindow",0},
|
|
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
|
|
{ "_class_wxGauge","_wxGauge",0},
|
|
{ "_class_wxSashEvent","_wxSashEvent",0},
|
|
{ "_wxDC","_class_wxDC",0},
|
|
{ "_wxSpinEvent","_class_wxSpinEvent",0},
|
|
{ "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
|
|
{ "_size_t","_wxPrintQuality",0},
|
|
{ "_size_t","_unsigned_int",0},
|
|
{ "_size_t","_int",0},
|
|
{ "_size_t","_wxWindowID",0},
|
|
{ "_size_t","_uint",0},
|
|
{ "_class_wxRealPoint","_wxRealPoint",0},
|
|
{ "_wxPrinterDC","_class_wxPrinterDC",0},
|
|
{ "_class_wxMenuItem","_wxMenuItem",0},
|
|
{ "_class_wxPaintEvent","_wxPaintEvent",0},
|
|
{ "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
|
|
{ "_class_wxStatusBar","_wxStatusBar",0},
|
|
{ "_wxPanel","_class_wxPanel",0},
|
|
{ "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
|
|
{ "_wxCheckBox","_class_wxCheckBox",0},
|
|
{ "_wxPyEvent","_class_wxPyEvent",0},
|
|
{ "_wxTextCtrl","_class_wxTextCtrl",0},
|
|
{ "_class_wxMask","_wxMask",0},
|
|
{ "_class_wxKeyEvent","_wxKeyEvent",0},
|
|
{ "_class_wxGrid","_wxGrid",0},
|
|
{ "_wxColour","_class_wxColour",0},
|
|
{ "_class_wxDialog","_wxDialog",0},
|
|
{ "_wxIdleEvent","_class_wxIdleEvent",0},
|
|
{ "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
|
|
{ "_wxToolBar","_class_wxToolBar",0},
|
|
{ "_wxStaticLine","_class_wxStaticLine",0},
|
|
{ "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
|
|
{ "_wxBrush","_class_wxBrush",0},
|
|
{ "_class_wxNotebookEvent","_wxNotebookEvent",0},
|
|
{ "_wxMiniFrame","_class_wxMiniFrame",0},
|
|
{ "_class_wxSashWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
|
|
{ "_class_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
|
|
{ "_class_wxSashWindow","_wxSashWindow",0},
|
|
{ "_wxShowEvent","_class_wxShowEvent",0},
|
|
{ "_uint","_wxPrintQuality",0},
|
|
{ "_uint","_size_t",0},
|
|
{ "_uint","_unsigned_int",0},
|
|
{ "_uint","_int",0},
|
|
{ "_uint","_wxWindowID",0},
|
|
{ "_class_wxEvent","_class_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
|
|
{ "_class_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
|
|
{ "_class_wxEvent","_class_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
|
|
{ "_class_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
|
|
{ "_class_wxEvent","_class_wxSashEvent",SwigwxSashEventTowxEvent},
|
|
{ "_class_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent},
|
|
{ "_class_wxEvent","_wxEvent",0},
|
|
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
|
{ "_wxSplitterEvent","_class_wxSplitterEvent",0},
|
|
{ "_wxGridEvent","_class_wxGridEvent",0},
|
|
{ "_wxRect","_class_wxRect",0},
|
|
{ "_wxCommandEvent","_class_wxSashEvent",SwigwxSashEventTowxCommandEvent},
|
|
{ "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent},
|
|
{ "_wxCommandEvent","_class_wxCommandEvent",0},
|
|
{ "_wxSizeEvent","_class_wxSizeEvent",0},
|
|
{ "_wxPoint","_class_wxPoint",0},
|
|
{ "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
|
|
{ "_class_wxButton","_wxButton",0},
|
|
{ "_wxRadioBox","_class_wxRadioBox",0},
|
|
{ "_wxBitmap","_class_wxBitmap",0},
|
|
{ "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
|
|
{ "_wxPyTimer","_class_wxPyTimer",0},
|
|
{ "_wxWindowDC","_class_wxWindowDC",0},
|
|
{ "_wxScrollBar","_class_wxScrollBar",0},
|
|
{ "_wxSpinButton","_class_wxSpinButton",0},
|
|
{ "_wxToolBarTool","_class_wxToolBarTool",0},
|
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
|
{ "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
|
|
{ "_class_wxToolBar","_wxToolBar",0},
|
|
{ "_class_wxStaticLine","_wxStaticLine",0},
|
|
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
|
{ "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
|
|
{ "_EBool","_wxPrintQuality",0},
|
|
{ "_EBool","_signed_int",0},
|
|
{ "_EBool","_int",0},
|
|
{ "_EBool","_wxWindowID",0},
|
|
{ "_class_wxRegion","_wxRegion",0},
|
|
{ "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
|
|
{ "_wxStaticText","_class_wxStaticText",0},
|
|
{ "_wxFont","_class_wxFont",0},
|
|
{ "_wxCloseEvent","_class_wxCloseEvent",0},
|
|
{ "_class_wxSplitterEvent","_wxSplitterEvent",0},
|
|
{ "_wxNotebook","_class_wxNotebook",0},
|
|
{ "_unsigned_long","_wxDash",0},
|
|
{ "_unsigned_long","_long",0},
|
|
{ "_class_wxRect","_wxRect",0},
|
|
{ "_class_wxDC","_wxDC",0},
|
|
{ "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
|
|
{ "_class_wxPyTimer","_wxPyTimer",0},
|
|
{ "_wxFocusEvent","_class_wxFocusEvent",0},
|
|
{ "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
|
|
{ "_class_wxSpinButton","_wxSpinButton",0},
|
|
{ "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
|
|
{ "_class_wxPanel","_wxPanel",0},
|
|
{ "_class_wxCheckBox","_wxCheckBox",0},
|
|
{ "_wxComboBox","_class_wxComboBox",0},
|
|
{ "_wxRadioButton","_class_wxRadioButton",0},
|
|
{ "_signed_int","_wxPrintQuality",0},
|
|
{ "_signed_int","_EBool",0},
|
|
{ "_signed_int","_wxWindowID",0},
|
|
{ "_signed_int","_int",0},
|
|
{ "_class_wxTextCtrl","_wxTextCtrl",0},
|
|
{ "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
|
|
{ "_wxMetaFileDC","_class_wxMetaFileDC",0},
|
|
{ "_wxMenu","_class_wxMenu",0},
|
|
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
|
{ "_wxListBox","_class_wxListBox",0},
|
|
{ "_wxScreenDC","_class_wxScreenDC",0},
|
|
{ "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
|
|
{ "_WXTYPE","_short",0},
|
|
{ "_WXTYPE","_signed_short",0},
|
|
{ "_WXTYPE","_unsigned_short",0},
|
|
{ "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
|
|
{ "_class_wxBrush","_wxBrush",0},
|
|
{ "_unsigned_short","_WXTYPE",0},
|
|
{ "_unsigned_short","_short",0},
|
|
{ "_class_wxWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
|
|
{ "_class_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
|
|
{ "_class_wxWindow","_class_wxSashWindow",SwigwxSashWindowTowxWindow},
|
|
{ "_class_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow},
|
|
{ "_class_wxWindow","_wxWindow",0},
|
|
{ "_wxSplitterWindow","_class_wxSplitterWindow",0},
|
|
{ "_class_wxStaticText","_wxStaticText",0},
|
|
{ "_class_wxFont","_wxFont",0},
|
|
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
|
{ "_wxSashEvent","_class_wxSashEvent",0},
|
|
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
|
{ "_wxClientDC","_class_wxClientDC",0},
|
|
{ "_wxMouseEvent","_class_wxMouseEvent",0},
|
|
{ "_class_wxPoint","_wxPoint",0},
|
|
{ "_wxRealPoint","_class_wxRealPoint",0},
|
|
{ "_class_wxRadioBox","_wxRadioBox",0},
|
|
{ "_wxGridCell","_class_wxGridCell",0},
|
|
{ "_signed_short","_WXTYPE",0},
|
|
{ "_signed_short","_short",0},
|
|
{ "_wxMemoryDC","_class_wxMemoryDC",0},
|
|
{ "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
|
|
{ "_wxPaintDC","_class_wxPaintDC",0},
|
|
{ "_class_wxWindowDC","_wxWindowDC",0},
|
|
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
|
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
|
{ "_wxStatusBar","_class_wxStatusBar",0},
|
|
{ "_class_wxToolBarTool","_wxToolBarTool",0},
|
|
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
|
{ "_class_wxCursor","_wxCursor",0},
|
|
{ "_wxScrolledWindow","_class_wxScrolledWindow",0},
|
|
{ "_unsigned_char","_byte",0},
|
|
{ "_class_wxMetaFileDC","_wxMetaFileDC",0},
|
|
{ "_class_wxMenu","_wxMenu",0},
|
|
{ "_wxControl","_class_wxControl",0},
|
|
{ "_class_wxListBox","_wxListBox",0},
|
|
{ "_unsigned_int","_wxPrintQuality",0},
|
|
{ "_unsigned_int","_size_t",0},
|
|
{ "_unsigned_int","_uint",0},
|
|
{ "_unsigned_int","_wxWindowID",0},
|
|
{ "_unsigned_int","_int",0},
|
|
{ "_wxIcon","_class_wxIcon",0},
|
|
{ "_wxDialog","_class_wxDialog",0},
|
|
{ "_class_wxPen","_wxPen",0},
|
|
{ "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
|
|
{ "_short","_WXTYPE",0},
|
|
{ "_short","_unsigned_short",0},
|
|
{ "_short","_signed_short",0},
|
|
{ "_class_wxStaticBox","_wxStaticBox",0},
|
|
{ "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
|
|
{ "_class_wxScrollEvent","_wxScrollEvent",0},
|
|
{ "_wxJoystickEvent","_class_wxJoystickEvent",0},
|
|
{ "_class_wxChoice","_wxChoice",0},
|
|
{ "_class_wxSlider","_wxSlider",0},
|
|
{ "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
|
|
{ "_class_wxImageList","_wxImageList",0},
|
|
{ "_class_wxBitmapButton","_wxBitmapButton",0},
|
|
{ "_wxFrame","_class_wxFrame",0},
|
|
{ "_class_wxNotebook","_wxNotebook",0},
|
|
{ "_wxWindowID","_wxPrintQuality",0},
|
|
{ "_wxWindowID","_size_t",0},
|
|
{ "_wxWindowID","_EBool",0},
|
|
{ "_wxWindowID","_uint",0},
|
|
{ "_wxWindowID","_int",0},
|
|
{ "_wxWindowID","_signed_int",0},
|
|
{ "_wxWindowID","_unsigned_int",0},
|
|
{ "_int","_wxPrintQuality",0},
|
|
{ "_int","_size_t",0},
|
|
{ "_int","_EBool",0},
|
|
{ "_int","_uint",0},
|
|
{ "_int","_wxWindowID",0},
|
|
{ "_int","_unsigned_int",0},
|
|
{ "_int","_signed_int",0},
|
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
|
{ "_wxButton","_class_wxButton",0},
|
|
{ "_wxSize","_class_wxSize",0},
|
|
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
|
{ "_class_wxPrinterDC","_wxPrinterDC",0},
|
|
{ "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
|
|
{ "_class_wxPaintDC","_wxPaintDC",0},
|
|
{ "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
|
|
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
|
{ "_class_wxComboBox","_wxComboBox",0},
|
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
|
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
|
{ "_class_wxControl","_wxControl",0},
|
|
{ "_wxStaticBitmap","_class_wxStaticBitmap",0},
|
|
{ "_class_wxIcon","_wxIcon",0},
|
|
{ "_class_wxColour","_wxColour",0},
|
|
{ "_class_wxScreenDC","_wxScreenDC",0},
|
|
{ "_wxPalette","_class_wxPalette",0},
|
|
{ "_class_wxIdleEvent","_wxIdleEvent",0},
|
|
{ "_wxEraseEvent","_class_wxEraseEvent",0},
|
|
{ "_class_wxJoystickEvent","_wxJoystickEvent",0},
|
|
{ "_class_wxMiniFrame","_wxMiniFrame",0},
|
|
{ "_wxRegion","_class_wxRegion",0},
|
|
{ "_class_wxSplitterWindow","_wxSplitterWindow",0},
|
|
{ "_class_wxShowEvent","_wxShowEvent",0},
|
|
{ "_wxActivateEvent","_class_wxActivateEvent",0},
|
|
{ "_wxGauge","_class_wxGauge",0},
|
|
{ "_class_wxCheckListBox","_wxCheckListBox",0},
|
|
{ "_class_wxGridEvent","_wxGridEvent",0},
|
|
{ "_class_wxCommandEvent","_class_wxSashEvent",SwigwxSashEventTowxCommandEvent},
|
|
{ "_class_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent},
|
|
{ "_class_wxCommandEvent","_wxCommandEvent",0},
|
|
{ "_class_wxClientDC","_wxClientDC",0},
|
|
{ "_class_wxSizeEvent","_wxSizeEvent",0},
|
|
{ "_class_wxGridCell","_wxGridCell",0},
|
|
{ "_class_wxSize","_wxSize",0},
|
|
{ "_class_wxBitmap","_wxBitmap",0},
|
|
{ "_class_wxMemoryDC","_wxMemoryDC",0},
|
|
{ "_wxMenuBar","_class_wxMenuBar",0},
|
|
{ "_wxEvtHandler","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
|
|
{ "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
|
|
{ "_wxEvtHandler","_class_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
|
|
{ "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
|
|
{ "_wxEvtHandler","_class_wxEvtHandler",0},
|
|
{ "_wxMenuItem","_class_wxMenuItem",0},
|
|
{ "_class_wxScrollBar","_wxScrollBar",0},
|
|
{ "_wxDash","_unsigned_long",0},
|
|
{ "_wxDash","_long",0},
|
|
{ "_class_wxScrolledWindow","_wxScrolledWindow",0},
|
|
{ "_wxKeyEvent","_class_wxKeyEvent",0},
|
|
{ "_wxMoveEvent","_class_wxMoveEvent",0},
|
|
{ "_class_wxPalette","_wxPalette",0},
|
|
{ "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
|
|
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
|
{ "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
|
|
{ "_wxWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
|
|
{ "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
|
|
{ "_wxWindow","_class_wxSashWindow",SwigwxSashWindowTowxWindow},
|
|
{ "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow},
|
|
{ "_wxWindow","_class_wxWindow",0},
|
|
{ "_class_wxFrame","_wxFrame",0},
|
|
{0,0,0}};
|
|
|
|
static PyObject *SWIG_globals;
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
SWIGEXPORT(void) initwindows3c() {
|
|
PyObject *m, *d;
|
|
SWIG_globals = SWIG_newvarlink();
|
|
m = Py_InitModule("windows3c", windows3cMethods);
|
|
d = PyModule_GetDict(m);
|
|
PyDict_SetItemString(d,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP));
|
|
PyDict_SetItemString(d,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT));
|
|
PyDict_SetItemString(d,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM));
|
|
PyDict_SetItemString(d,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT));
|
|
PyDict_SetItemString(d,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE));
|
|
PyDict_SetItemString(d,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED));
|
|
PyDict_SetItemString(d,"wxSW_3D", PyInt_FromLong((long) wxSW_3D));
|
|
PyDict_SetItemString(d,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK));
|
|
PyDict_SetItemString(d,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE));
|
|
PyDict_SetItemString(d,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL));
|
|
PyDict_SetItemString(d,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL));
|
|
PyDict_SetItemString(d,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE));
|
|
PyDict_SetItemString(d,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP));
|
|
PyDict_SetItemString(d,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT));
|
|
PyDict_SetItemString(d,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT));
|
|
PyDict_SetItemString(d,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM));
|
|
PyDict_SetItemString(d,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO));
|
|
PyDict_SetItemString(d,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT));
|
|
{
|
|
int i;
|
|
for (i = 0; _swig_mapping[i].n1; i++)
|
|
SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
|
|
}
|
|
}
|