git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
4571 lines
149 KiB
C++
4571 lines
149 KiB
C++
/*
|
|
* FILE : msw/windows.cpp
|
|
*
|
|
* This file was automatically generated by :
|
|
* Simplified Wrapper and Interface Generator (SWIG)
|
|
* Version 1.1 (Patch 5)
|
|
*
|
|
* 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,b) __declspec(dllexport) a b
|
|
# else
|
|
# if defined(__BORLANDC__)
|
|
# define SWIGEXPORT(a,b) a _export b
|
|
# else
|
|
# define SWIGEXPORT(a,b) a b
|
|
# endif
|
|
# endif
|
|
#else
|
|
# define SWIGEXPORT(a,b) a b
|
|
#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 void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
|
|
extern PyObject *SWIG_newvarlink(void);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#define SWIG_init initwindowsc
|
|
|
|
#define SWIG_name "windowsc"
|
|
|
|
#include "helpers.h"
|
|
|
|
#ifdef __WXMSW__
|
|
// wxGTK defines wxMenuItem inside menu.h
|
|
#include <wx/menuitem.h>
|
|
#endif
|
|
|
|
#ifdef __WXMSW__
|
|
#include <wx/minifram.h>
|
|
#endif
|
|
|
|
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
|
|
PyObject* o2;
|
|
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 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);
|
|
#ifdef __WXMSW__
|
|
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
#endif
|
|
|
|
|
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
|
|
|
wxWindow* wxWindow_FindFocus() {
|
|
return wxWindow::FindFocus();
|
|
}
|
|
static PyObject *_wrap_wxWindow_FindFocus(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _result;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,":wxWindow_FindFocus"))
|
|
return NULL;
|
|
_result = (wxWindow *)wxWindow_FindFocus();
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
|
|
if (PyCallable_Check(func)) {
|
|
self->Connect(id, lastId, eventType,
|
|
(wxObjectEventFunction) &wxPyCallback::EventThunker,
|
|
new wxPyCallback(func));
|
|
}
|
|
}
|
|
static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxEvtHandler * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
int _arg3;
|
|
PyObject * _arg4;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj4 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"siiiO:wxEvtHandler_Connect",&_argc0,&_arg1,&_arg2,&_arg3,&_obj4))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvtHandler_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg4 = _obj4;
|
|
}
|
|
wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxWindowTowxEvtHandler(void *ptr) {
|
|
wxWindow *src;
|
|
wxEvtHandler *dest;
|
|
src = (wxWindow *) ptr;
|
|
dest = (wxEvtHandler *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
|
static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _result;
|
|
wxWindow * _arg0;
|
|
wxWindowID _arg1;
|
|
wxPoint * _arg2 = &wxPyDefaultPosition;
|
|
wxSize * _arg3 = &wxPyDefaultSize;
|
|
long _arg4 = 0;
|
|
char * _arg5 = "panel";
|
|
char * _argc0 = 0;
|
|
char * _argc2 = 0;
|
|
char * _argc3 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si|ssls:new_wxWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc2) {
|
|
if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc3) {
|
|
if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
|
|
static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_CaptureMouse",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_CaptureMouse(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int _arg1 = (wxHORIZONTAL);
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxWindow_Center",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_Center(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int _arg1 = (wxHORIZONTAL);
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxWindow_Centre",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_Centre(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_ClientToScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int * _arg1;
|
|
int * _arg2;
|
|
char * _argc0 = 0;
|
|
int temp;
|
|
PyObject * _obj1 = 0;
|
|
int temp0;
|
|
PyObject * _obj2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sOO:wxWindow_ClientToScreen",&_argc0,&_obj1,&_obj2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
temp = (int) PyInt_AsLong(_obj1);
|
|
_arg1 = &temp;
|
|
}
|
|
{
|
|
temp0 = (int) PyInt_AsLong(_obj2);
|
|
_arg2 = &temp0;
|
|
}
|
|
wxWindow_ClientToScreen(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg1));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg2));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxWindow * _arg0;
|
|
int _arg1 = (0);
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxWindow_Close",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxWindow_Close(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
|
|
static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_Destroy",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxWindow_Destroy(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
|
|
static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_DestroyChildren",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_DestroyChildren(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_DragAcceptFiles(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxWindow_DragAcceptFiles",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxWindow_DragAcceptFiles(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxWindow_Enable",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxWindow_Enable(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_FindWindowByID(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_FindWindowByID(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _result;
|
|
wxWindow * _arg0;
|
|
long _arg1;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sl:wxWindow_FindWindowByID",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByID. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxWindow *)wxWindow_FindWindowByID(_arg0,_arg1);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _result;
|
|
wxWindow * _arg0;
|
|
wxString * _arg1;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sO:wxWindow_FindWindowByName",&_argc0,&_obj1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1));
|
|
}
|
|
_result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Fit(_swigobj) (_swigobj->Fit())
|
|
static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_Fit",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_Fit(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
|
|
static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxColour * _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetBackgroundColour",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
|
|
SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
|
|
static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetCharHeight",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxWindow_GetCharHeight(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
|
|
static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetCharWidth",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxWindow_GetCharWidth(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int * _arg1;
|
|
int temp;
|
|
int * _arg2;
|
|
int temp0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
{
|
|
_arg1 = &temp;
|
|
}
|
|
{
|
|
_arg2 = &temp0;
|
|
}
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetClientSize",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_GetClientSize(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg1));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg2));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
|
|
static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxLayoutConstraints * _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetConstraints",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
|
|
static PyObject *_wrap_wxWindow_GetDefaultItem(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxButton * _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetDefaultItem",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxButton *)wxWindow_GetDefaultItem(_arg0);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
|
|
static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxFont * _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetFont",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxFont *)wxWindow_GetFont(_arg0);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
|
|
static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxColour * _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetForegroundColour",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxColour (wxWindow_GetForegroundColour(_arg0));
|
|
SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
|
|
static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetGrandParent",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetId(_swigobj) (_swigobj->GetId())
|
|
static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetId",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxWindow_GetId(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int * _arg1;
|
|
int temp;
|
|
int * _arg2;
|
|
int temp0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
{
|
|
_arg1 = &temp;
|
|
}
|
|
{
|
|
_arg2 = &temp0;
|
|
}
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetPosition",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_GetPosition(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg1));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg2));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
|
|
static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetLabel",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxString (wxWindow_GetLabel(_arg0));
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetName(_swigobj) (_swigobj->GetName())
|
|
static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetName",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxString (wxWindow_GetName(_arg0));
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
|
|
static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetParent",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxWindow *)wxWindow_GetParent(_arg0);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
|
|
static PyObject *_wrap_wxWindow_GetReturnCode(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetReturnCode",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxWindow_GetReturnCode(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxWindow * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollThumb",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxWindow * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollPos",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxWindow * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollRange",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int * _arg1;
|
|
int temp;
|
|
int * _arg2;
|
|
int temp0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
{
|
|
_arg1 = &temp;
|
|
}
|
|
{
|
|
_arg2 = &temp0;
|
|
}
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetSize",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_GetSize(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg1));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg2));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
|
|
static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
wxString * _arg1;
|
|
int * _arg2;
|
|
int temp;
|
|
int * _arg3;
|
|
int temp0;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
|
|
self = self;
|
|
{
|
|
_arg2 = &temp;
|
|
}
|
|
{
|
|
_arg3 = &temp0;
|
|
}
|
|
if(!PyArg_ParseTuple(args,"sO:wxWindow_GetTextExtent",&_argc0,&_obj1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1));
|
|
}
|
|
wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg2));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg3));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
|
|
static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetTitle",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxString (wxWindow_GetTitle(_arg0));
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
|
|
static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
long _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_GetWindowStyleFlag",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (long )wxWindow_GetWindowStyleFlag(_arg0);
|
|
_resultobj = Py_BuildValue("l",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
|
|
static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_InitDialog",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_InitDialog(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
|
|
static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_IsEnabled",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxWindow_IsEnabled(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
|
|
static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_IsRetained",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxWindow_IsRetained(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
|
|
static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_IsShown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxWindow_IsShown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Layout(_swigobj) (_swigobj->Layout())
|
|
static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_Layout",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_Layout(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
|
|
static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxWindow * _arg0;
|
|
wxWindow * _arg1;
|
|
wxString * _arg2;
|
|
wxResourceTable * _arg3 = NULL;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char * _argc3 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ssO|s:wxWindow_LoadFromResource",&_argc0,&_argc1,&_obj2,&_argc3))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2));
|
|
}
|
|
if (_argc3) {
|
|
if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxResourceTable_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Lower(_swigobj) (_swigobj->Lower())
|
|
static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_Lower",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_Lower(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxWindow_MakeModal",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxWindow_MakeModal(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sii:wxWindow_Move",&_argc0,&_arg1,&_arg2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_Move(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
|
|
static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxWindow * _arg0;
|
|
wxMenu * _arg1;
|
|
int _arg2;
|
|
int _arg3;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ssii:wxWindow_PopupMenu",&_argc0,&_argc1,&_arg2,&_arg3))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxWindow_PopupMenu(_arg0,_arg1,_arg2,_arg3);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Raise(_swigobj) (_swigobj->Raise())
|
|
static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_Raise",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_Raise(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
bool _arg1 = (1);
|
|
wxRect * _arg2 = NULL;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
char * _argc2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|is:wxWindow_Refresh",&_argc0,&tempbool1,&_argc2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
if (_argc2) {
|
|
if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxRect_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_Refresh(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
|
|
static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_ReleaseMouse",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_ReleaseMouse(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_ScreenToClient(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int * _arg1;
|
|
int * _arg2;
|
|
char * _argc0 = 0;
|
|
int temp;
|
|
PyObject * _obj1 = 0;
|
|
int temp0;
|
|
PyObject * _obj2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sOO:wxWindow_ScreenToClient",&_argc0,&_obj1,&_obj2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
temp = (int) PyInt_AsLong(_obj1);
|
|
_arg1 = &temp;
|
|
}
|
|
{
|
|
temp0 = (int) PyInt_AsLong(_obj2);
|
|
_arg2 = &temp0;
|
|
}
|
|
wxWindow_ScreenToClient(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg1));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg2));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
|
|
static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
wxRect * _arg3 = NULL;
|
|
char * _argc0 = 0;
|
|
char * _argc3 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sii|s:wxWindow_ScrollWindow",&_argc0,&_arg1,&_arg2,&_argc3))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc3) {
|
|
if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxRect_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxWindow_SetAutoLayout",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxWindow_SetAutoLayout(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
wxColour * _arg1;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ss:wxWindow_SetBackgroundColour",&_argc0,&_argc1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetBackgroundColour(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
wxLayoutConstraints * _arg1;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ss:wxWindow_SetConstraints",&_argc0,&_argc1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetConstraints(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_SetDoubleClick(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxWindow_SetDoubleClick",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxWindow_SetDoubleClick(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
|
|
static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_SetFocus",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetFocus(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
wxFont * _arg1;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ss:wxWindow_SetFont",&_argc0,&_argc1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetFont(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
wxColour * _arg1;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ss:wxWindow_SetForegroundColour",&_argc0,&_argc1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetForegroundColour(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxWindow_SetId",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetId(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
wxString * _arg1;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sO:wxWindow_SetName",&_argc0,&_obj1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1));
|
|
}
|
|
wxWindow_SetName(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_SetReturnCode(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxWindow_SetReturnCode",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetReturnCode(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
|
|
static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
int _arg3;
|
|
int _arg4;
|
|
bool _arg5 = (1);
|
|
char * _argc0 = 0;
|
|
int tempbool5;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"siiii|i:wxWindow_SetScrollbar",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg5 = (bool ) tempbool5;
|
|
wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
|
|
static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
bool _arg3 = (1);
|
|
char * _argc0 = 0;
|
|
int tempbool3;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sii|i:wxWindow_SetScrollPos",&_argc0,&_arg1,&_arg2,&tempbool3))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg3 = (bool ) tempbool3;
|
|
wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
|
|
static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
int _arg3;
|
|
int _arg4;
|
|
int _arg5 = (wxSIZE_AUTO);
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"siiii|i:wxWindow_SetDimensions",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
|
|
self->SetSize(size.x, size.y);
|
|
}
|
|
static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
wxSize * _arg1;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ss:wxWindow_SetSize",&_argc0,&_argc1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetSize(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos) {
|
|
self->SetSize(pos.x, pos.y, -1, -1);
|
|
}
|
|
static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
wxPoint * _arg1;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ss:wxWindow_SetPosition",&_argc0,&_argc1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetPosition(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
|
static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int _arg1 = -1;
|
|
int _arg2 = -1;
|
|
int _arg3 = -1;
|
|
int _arg4 = -1;
|
|
int _arg5 = -1;
|
|
int _arg6 = -1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|iiiiii:wxWindow_SetSizeHints",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sii:wxWindow_SetClientSize",&_argc0,&_arg1,&_arg2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetClientSize(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
wxCursor * _arg1;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ss:wxWindow_SetCursor",&_argc0,&_argc1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxCursor_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_SetCursor(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
wxString * _arg1;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sO:wxWindow_SetTitle",&_argc0,&_obj1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1));
|
|
}
|
|
wxWindow_SetTitle(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
|
|
static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxWindow * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxWindow_Show",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
_result = (bool )wxWindow_Show(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
|
|
static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_TransferDataFromWindow",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxWindow_TransferDataFromWindow(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
|
|
static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_TransferDataToWindow",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxWindow_TransferDataToWindow(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_Validate(_swigobj) (_swigobj->Validate())
|
|
static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxWindow_Validate",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxWindow_Validate(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sii:wxWindow_WarpPointer",&_argc0,&_arg1,&_arg2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxWindow_WarpPointer(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxPanelTowxWindow(void *ptr) {
|
|
wxPanel *src;
|
|
wxWindow *dest;
|
|
src = (wxPanel *) ptr;
|
|
dest = (wxWindow *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxPanelTowxEvtHandler(void *ptr) {
|
|
wxPanel *src;
|
|
wxEvtHandler *dest;
|
|
src = (wxPanel *) ptr;
|
|
dest = (wxEvtHandler *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
|
static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxPanel * _result;
|
|
wxWindow * _arg0;
|
|
wxWindowID _arg1;
|
|
wxPoint * _arg2 = &wxPyDefaultPosition;
|
|
wxSize * _arg3 = &wxPyDefaultSize;
|
|
long _arg4 = (wxTAB_TRAVERSAL);
|
|
char * _arg5 = "panel";
|
|
char * _argc0 = 0;
|
|
char * _argc2 = 0;
|
|
char * _argc3 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si|ssls:new_wxPanel",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc2) {
|
|
if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc3) {
|
|
if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
|
|
static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxPanel * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxPanel_InitDialog",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPanel_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxPanel_InitDialog(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxDialogTowxPanel(void *ptr) {
|
|
wxDialog *src;
|
|
wxPanel *dest;
|
|
src = (wxDialog *) ptr;
|
|
dest = (wxPanel *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxDialogTowxWindow(void *ptr) {
|
|
wxDialog *src;
|
|
wxWindow *dest;
|
|
src = (wxDialog *) ptr;
|
|
dest = (wxWindow *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxDialogTowxEvtHandler(void *ptr) {
|
|
wxDialog *src;
|
|
wxEvtHandler *dest;
|
|
src = (wxDialog *) ptr;
|
|
dest = (wxEvtHandler *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
|
|
static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxDialog * _result;
|
|
wxWindow * _arg0;
|
|
wxWindowID _arg1;
|
|
wxString * _arg2;
|
|
wxPoint * _arg3 = &wxPyDefaultPosition;
|
|
wxSize * _arg4 = &wxPyDefaultSize;
|
|
long _arg5 = (wxDEFAULT_DIALOG_STYLE);
|
|
char * _arg6 = "dialogBox";
|
|
char * _argc0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char * _argc3 = 0;
|
|
char * _argc4 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"siO|ssls:new_wxDialog",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2));
|
|
}
|
|
if (_argc3) {
|
|
if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc4) {
|
|
if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
|
|
static PyObject *_wrap_wxDialog_Centre(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxDialog * _arg0;
|
|
int _arg1 = (wxBOTH);
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxDialog_Centre",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxDialog_Centre(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
|
|
static PyObject *_wrap_wxDialog_EndModal(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxDialog * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxDialog_EndModal",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxDialog_EndModal(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
|
|
static PyObject *_wrap_wxDialog_GetTitle(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxDialog * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxDialog_GetTitle",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxString (wxDialog_GetTitle(_arg0));
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
|
|
static PyObject *_wrap_wxDialog_Iconize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxDialog * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxDialog_Iconize",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxDialog_Iconize(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
|
|
static PyObject *_wrap_wxDialog_IsIconized(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxDialog * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxDialog_IsIconized",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxDialog_IsIconized(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
|
|
static PyObject *_wrap_wxDialog_SetModal(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxDialog * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxDialog_SetModal",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxDialog_SetModal(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
|
|
static PyObject *_wrap_wxDialog_IsModal(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxDialog * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxDialog_IsModal",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxDialog_IsModal(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
|
|
static PyObject *_wrap_wxDialog_SetTitle(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxDialog * _arg0;
|
|
wxString * _arg1;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sO:wxDialog_SetTitle",&_argc0,&_obj1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1));
|
|
}
|
|
wxDialog_SetTitle(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
|
|
static PyObject *_wrap_wxDialog_Show(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxDialog * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxDialog_Show",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
_result = (bool )wxDialog_Show(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
|
|
static PyObject *_wrap_wxDialog_ShowModal(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxDialog * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxDialog_ShowModal",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxDialog_ShowModal(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
|
|
wxScrolledWindow *src;
|
|
wxWindow *dest;
|
|
src = (wxScrolledWindow *) ptr;
|
|
dest = (wxWindow *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
|
|
wxScrolledWindow *src;
|
|
wxEvtHandler *dest;
|
|
src = (wxScrolledWindow *) ptr;
|
|
dest = (wxEvtHandler *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
|
static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxScrolledWindow * _result;
|
|
wxWindow * _arg0;
|
|
wxWindowID _arg1 = -1;
|
|
wxPoint * _arg2 = &wxPyDefaultPosition;
|
|
wxSize * _arg3 = &wxPyDefaultSize;
|
|
long _arg4 = (wxHSCROLL)|(wxVSCROLL);
|
|
char * _arg5 = "scrolledWindow";
|
|
char * _argc0 = 0;
|
|
char * _argc2 = 0;
|
|
char * _argc3 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|issls:new_wxScrolledWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc2) {
|
|
if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc3) {
|
|
if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxScrolledWindow * _arg0;
|
|
bool _arg1;
|
|
bool _arg2;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
int tempbool2;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sii:wxScrolledWindow_EnableScrolling",&_argc0,&tempbool1,&tempbool2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
_arg2 = (bool ) tempbool2;
|
|
wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxScrolledWindow * _arg0;
|
|
int * _arg1;
|
|
int temp;
|
|
int * _arg2;
|
|
int temp0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
{
|
|
_arg1 = &temp;
|
|
}
|
|
{
|
|
_arg2 = &temp0;
|
|
}
|
|
if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg1));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg2));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxScrolledWindow_GetVirtualSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxScrolledWindow * _arg0;
|
|
int * _arg1;
|
|
int temp;
|
|
int * _arg2;
|
|
int temp0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
{
|
|
_arg1 = &temp;
|
|
}
|
|
{
|
|
_arg2 = &temp0;
|
|
}
|
|
if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_GetVirtualSize",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg1));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg2));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
|
|
static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxScrolledWindow * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_IsRetained",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxScrolledWindow_IsRetained(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
|
|
static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxScrolledWindow * _arg0;
|
|
wxDC * _arg1;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ss:wxScrolledWindow_PrepareDC",&_argc0,&_argc1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxScrolledWindow_PrepareDC(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxScrolledWindow * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sii:wxScrolledWindow_Scroll",&_argc0,&_arg1,&_arg2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
|
static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxScrolledWindow * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
int _arg3;
|
|
int _arg4;
|
|
int _arg5 = 0;
|
|
int _arg6 = 0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxScrolledWindow_ViewStart(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxScrolledWindow * _arg0;
|
|
int * _arg1;
|
|
int temp;
|
|
int * _arg2;
|
|
int temp0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
{
|
|
_arg1 = &temp;
|
|
}
|
|
{
|
|
_arg2 = &temp0;
|
|
}
|
|
if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_ViewStart",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxScrolledWindow_ViewStart(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg1));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg2));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxMenuTowxEvtHandler(void *ptr) {
|
|
wxMenu *src;
|
|
wxEvtHandler *dest;
|
|
src = (wxMenu *) ptr;
|
|
dest = (wxEvtHandler *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
|
|
static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenu * _result;
|
|
wxString * _arg0 = &wxPyEmptyStr;
|
|
PyObject * _obj0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"|O:new_wxMenu",&_obj0))
|
|
return NULL;
|
|
if (_obj0)
|
|
{
|
|
if (!PyString_Check(_obj0)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg0 = new wxString(PyString_AsString(_obj0));
|
|
}
|
|
_result = (wxMenu *)new_wxMenu(*_arg0);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
{
|
|
if (_obj0)
|
|
delete _arg0;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
|
static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenu * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
wxString * _arg3 = &wxPyEmptyStr;
|
|
int _arg4 = (0);
|
|
char * _argc0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
PyObject * _obj3 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"siO|Oi:wxMenu_Append",&_argc0,&_arg1,&_obj2,&_obj3,&_arg4))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2));
|
|
}
|
|
if (_obj3)
|
|
{
|
|
if (!PyString_Check(_obj3)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg3 = new wxString(PyString_AsString(_obj3));
|
|
}
|
|
wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
{
|
|
if (_obj3)
|
|
delete _arg3;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
|
static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenu * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
wxMenu * _arg3;
|
|
wxString * _arg4 = &wxPyEmptyStr;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char * _argc3 = 0;
|
|
PyObject * _obj4 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"siOs|O:wxMenu_AppendMenu",&_argc0,&_arg1,&_obj2,&_argc3,&_obj4))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2));
|
|
}
|
|
if (_argc3) {
|
|
if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_obj4)
|
|
{
|
|
if (!PyString_Check(_obj4)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg4 = new wxString(PyString_AsString(_obj4));
|
|
}
|
|
wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
{
|
|
if (_obj4)
|
|
delete _arg4;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
|
|
static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenu * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenu_AppendSeparator",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxMenu_AppendSeparator(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_Break(_swigobj) (_swigobj->Break())
|
|
static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenu * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenu_Break",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxMenu_Break(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenu * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
char * _argc0 = 0;
|
|
int tempbool2;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sii:wxMenu_Check",&_argc0,&_arg1,&tempbool2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
wxMenu_Check(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenu * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
char * _argc0 = 0;
|
|
int tempbool2;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sii:wxMenu_Enable",&_argc0,&_arg1,&tempbool2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
wxMenu_Enable(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
|
|
static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxMenu * _arg0;
|
|
wxString * _arg1;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sO:wxMenu_FindItem",&_argc0,&_obj1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1));
|
|
}
|
|
_result = (int )wxMenu_FindItem(_arg0,*_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
|
|
static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxMenu * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenu_GetTitle",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxString (wxMenu_GetTitle(_arg0));
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
|
|
static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenu * _arg0;
|
|
wxString * _arg1;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sO:wxMenu_SetTitle",&_argc0,&_obj1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1));
|
|
}
|
|
wxMenu_SetTitle(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
|
|
static PyObject *_wrap_wxMenu_FindItemForId(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuItem * _result;
|
|
wxMenu * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMenu_FindItemForId",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxMenuItem *)wxMenu_FindItemForId(_arg0,_arg1);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
|
|
static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxMenu * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMenu_GetHelpString",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
|
|
static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxMenu * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMenu_GetLabel",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenu * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"siO:wxMenu_SetHelpString",&_argc0,&_arg1,&_obj2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2));
|
|
}
|
|
wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
|
|
static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMenu * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMenu_IsChecked",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMenu_IsChecked(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
|
|
static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMenu * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMenu_IsEnabled",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenu * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"siO:wxMenu_SetLabel",&_argc0,&_arg1,&_obj2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2));
|
|
}
|
|
wxMenu_SetLabel(_arg0,_arg1,*_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxPyMenuTowxMenu(void *ptr) {
|
|
wxPyMenu *src;
|
|
wxMenu *dest;
|
|
src = (wxPyMenu *) ptr;
|
|
dest = (wxMenu *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxPyMenuTowxEvtHandler(void *ptr) {
|
|
wxPyMenu *src;
|
|
wxEvtHandler *dest;
|
|
src = (wxPyMenu *) ptr;
|
|
dest = (wxEvtHandler *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_new_wxPyMenu(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxPyMenu * _result;
|
|
wxString * _arg0 = &wxPyEmptyStr;
|
|
PyObject * _arg1 = NULL;
|
|
PyObject * _obj0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"|OO:new_wxPyMenu",&_obj0,&_obj1))
|
|
return NULL;
|
|
if (_obj0)
|
|
{
|
|
if (!PyString_Check(_obj0)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg0 = new wxString(PyString_AsString(_obj0));
|
|
}
|
|
if (_obj1)
|
|
{
|
|
_arg1 = _obj1;
|
|
}
|
|
_result = (wxPyMenu *)new_wxPyMenu(*_arg0,_arg1);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyMenu_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
{
|
|
if (_obj0)
|
|
delete _arg0;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define delete_wxPyMenu(_swigobj) (delete _swigobj)
|
|
static PyObject *_wrap_delete_wxPyMenu(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxPyMenu * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:delete_wxPyMenu",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
delete_wxPyMenu(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
|
|
wxMenuBar *src;
|
|
wxEvtHandler *dest;
|
|
src = (wxMenuBar *) ptr;
|
|
dest = (wxEvtHandler *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxMenuBar() (new wxMenuBar())
|
|
static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuBar * _result;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,":new_wxMenuBar"))
|
|
return NULL;
|
|
_result = (wxMenuBar *)new_wxMenuBar();
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuBar * _arg0;
|
|
wxMenu * _arg1;
|
|
wxString * _arg2;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
PyObject * _obj2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ssO:wxMenuBar_Append",&_argc0,&_argc1,&_obj2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2));
|
|
}
|
|
wxMenuBar_Append(_arg0,_arg1,*_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
char * _argc0 = 0;
|
|
int tempbool2;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sii:wxMenuBar_Check",&_argc0,&_arg1,&tempbool2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
wxMenuBar_Check(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
|
|
static PyObject *_wrap_wxMenuBar_Checked(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMenuBar_Checked",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMenuBar_Checked(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
char * _argc0 = 0;
|
|
int tempbool2;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sii:wxMenuBar_Enable",&_argc0,&_arg1,&tempbool2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
wxMenuBar_Enable(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
|
|
static PyObject *_wrap_wxMenuBar_Enabled(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMenuBar_Enabled",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMenuBar_Enabled(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxMenuBar * _arg0;
|
|
wxString * _arg1;
|
|
wxString * _arg2;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
PyObject * _obj2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sOO:wxMenuBar_FindMenuItem",&_argc0,&_obj1,&_obj2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1));
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2));
|
|
}
|
|
_result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
|
|
static PyObject *_wrap_wxMenuBar_FindItemForId(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuItem * _result;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMenuBar_FindItemForId",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxMenuItem *)wxMenuBar_FindItemForId(_arg0,_arg1);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
char * _argc0 = 0;
|
|
int tempbool2;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sii:wxMenuBar_EnableTop",&_argc0,&_arg1,&tempbool2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
|
|
static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMenuBar_GetHelpString",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
|
|
static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMenuBar_GetLabel",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"siO:wxMenuBar_SetHelpString",&_argc0,&_arg1,&_obj2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2));
|
|
}
|
|
wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"siO:wxMenuBar_SetLabel",&_argc0,&_arg1,&_obj2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2));
|
|
}
|
|
wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
|
|
static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMenuBar_GetLabelTop",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"siO:wxMenuBar_SetLabelTop",&_argc0,&_arg1,&_obj2))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2));
|
|
}
|
|
wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
|
|
static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxMenuBar * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenuBar_GetMenuCount",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxMenuBar_GetMenuCount(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
|
|
static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenu * _result;
|
|
wxMenuBar * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMenuBar_GetMenu",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
|
|
static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMenuItem * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsSeparator",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMenuItem_IsSeparator(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
|
|
static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMenuItem * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsEnabled",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMenuItem_IsEnabled(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
|
|
static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMenuItem * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsChecked",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMenuItem_IsChecked(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
|
|
static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMenuItem * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsCheckable",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMenuItem_IsCheckable(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
|
|
static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxMenuItem * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetId",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxMenuItem_GetId(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
|
|
static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenu * _result;
|
|
wxMenuItem * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetSubMenu",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
|
|
static PyObject *_wrap_wxMenuItem_SetName(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuItem * _arg0;
|
|
wxString * _arg1;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sO:wxMenuItem_SetName",&_argc0,&_obj1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1));
|
|
}
|
|
wxMenuItem_SetName(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
|
|
static PyObject *_wrap_wxMenuItem_DeleteSubMenu(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuItem * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenuItem_DeleteSubMenu",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxMenuItem_DeleteSubMenu(_arg0);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
|
|
static PyObject *_wrap_wxMenuItem_GetName(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxMenuItem * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetName",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
const wxString & _result_ref = wxMenuItem_GetName(_arg0);
|
|
_result = (wxString *) &_result_ref;
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST (*_result));
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
|
|
static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxMenuItem * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetHelp",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
const wxString & _result_ref = wxMenuItem_GetHelp(_arg0);
|
|
_result = (wxString *) &_result_ref;
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST (*_result));
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
|
|
static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuItem * _arg0;
|
|
wxString * _arg1;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sO:wxMenuItem_SetHelp",&_argc0,&_obj1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1));
|
|
}
|
|
wxMenuItem_SetHelp(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
|
|
static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuItem * _arg0;
|
|
bool _arg1 = (1);
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxMenuItem_Enable",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxMenuItem_Enable(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
|
|
static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMenuItem * _arg0;
|
|
bool _arg1 = (1);
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxMenuItem_Check",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxMenuItem_Check(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static PyMethodDef windowscMethods[] = {
|
|
{ "wxMenuItem_Check", _wrap_wxMenuItem_Check, 1 },
|
|
{ "wxMenuItem_Enable", _wrap_wxMenuItem_Enable, 1 },
|
|
{ "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp, 1 },
|
|
{ "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp, 1 },
|
|
{ "wxMenuItem_GetName", _wrap_wxMenuItem_GetName, 1 },
|
|
{ "wxMenuItem_DeleteSubMenu", _wrap_wxMenuItem_DeleteSubMenu, 1 },
|
|
{ "wxMenuItem_SetName", _wrap_wxMenuItem_SetName, 1 },
|
|
{ "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu, 1 },
|
|
{ "wxMenuItem_GetId", _wrap_wxMenuItem_GetId, 1 },
|
|
{ "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable, 1 },
|
|
{ "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked, 1 },
|
|
{ "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled, 1 },
|
|
{ "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator, 1 },
|
|
{ "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu, 1 },
|
|
{ "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount, 1 },
|
|
{ "wxMenuBar_SetLabelTop", _wrap_wxMenuBar_SetLabelTop, 1 },
|
|
{ "wxMenuBar_GetLabelTop", _wrap_wxMenuBar_GetLabelTop, 1 },
|
|
{ "wxMenuBar_SetLabel", _wrap_wxMenuBar_SetLabel, 1 },
|
|
{ "wxMenuBar_SetHelpString", _wrap_wxMenuBar_SetHelpString, 1 },
|
|
{ "wxMenuBar_GetLabel", _wrap_wxMenuBar_GetLabel, 1 },
|
|
{ "wxMenuBar_GetHelpString", _wrap_wxMenuBar_GetHelpString, 1 },
|
|
{ "wxMenuBar_EnableTop", _wrap_wxMenuBar_EnableTop, 1 },
|
|
{ "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId, 1 },
|
|
{ "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem, 1 },
|
|
{ "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled, 1 },
|
|
{ "wxMenuBar_Enable", _wrap_wxMenuBar_Enable, 1 },
|
|
{ "wxMenuBar_Checked", _wrap_wxMenuBar_Checked, 1 },
|
|
{ "wxMenuBar_Check", _wrap_wxMenuBar_Check, 1 },
|
|
{ "wxMenuBar_Append", _wrap_wxMenuBar_Append, 1 },
|
|
{ "new_wxMenuBar", _wrap_new_wxMenuBar, 1 },
|
|
{ "delete_wxPyMenu", _wrap_delete_wxPyMenu, 1 },
|
|
{ "new_wxPyMenu", _wrap_new_wxPyMenu, 1 },
|
|
{ "wxMenu_SetLabel", _wrap_wxMenu_SetLabel, 1 },
|
|
{ "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled, 1 },
|
|
{ "wxMenu_IsChecked", _wrap_wxMenu_IsChecked, 1 },
|
|
{ "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString, 1 },
|
|
{ "wxMenu_GetLabel", _wrap_wxMenu_GetLabel, 1 },
|
|
{ "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString, 1 },
|
|
{ "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId, 1 },
|
|
{ "wxMenu_SetTitle", _wrap_wxMenu_SetTitle, 1 },
|
|
{ "wxMenu_GetTitle", _wrap_wxMenu_GetTitle, 1 },
|
|
{ "wxMenu_FindItem", _wrap_wxMenu_FindItem, 1 },
|
|
{ "wxMenu_Enable", _wrap_wxMenu_Enable, 1 },
|
|
{ "wxMenu_Check", _wrap_wxMenu_Check, 1 },
|
|
{ "wxMenu_Break", _wrap_wxMenu_Break, 1 },
|
|
{ "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator, 1 },
|
|
{ "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu, 1 },
|
|
{ "wxMenu_Append", _wrap_wxMenu_Append, 1 },
|
|
{ "new_wxMenu", _wrap_new_wxMenu, 1 },
|
|
{ "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart, 1 },
|
|
{ "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars, 1 },
|
|
{ "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll, 1 },
|
|
{ "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC, 1 },
|
|
{ "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained, 1 },
|
|
{ "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize, 1 },
|
|
{ "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, 1 },
|
|
{ "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling, 1 },
|
|
{ "new_wxScrolledWindow", _wrap_new_wxScrolledWindow, 1 },
|
|
{ "wxDialog_ShowModal", _wrap_wxDialog_ShowModal, 1 },
|
|
{ "wxDialog_Show", _wrap_wxDialog_Show, 1 },
|
|
{ "wxDialog_SetTitle", _wrap_wxDialog_SetTitle, 1 },
|
|
{ "wxDialog_IsModal", _wrap_wxDialog_IsModal, 1 },
|
|
{ "wxDialog_SetModal", _wrap_wxDialog_SetModal, 1 },
|
|
{ "wxDialog_IsIconized", _wrap_wxDialog_IsIconized, 1 },
|
|
{ "wxDialog_Iconize", _wrap_wxDialog_Iconize, 1 },
|
|
{ "wxDialog_GetTitle", _wrap_wxDialog_GetTitle, 1 },
|
|
{ "wxDialog_EndModal", _wrap_wxDialog_EndModal, 1 },
|
|
{ "wxDialog_Centre", _wrap_wxDialog_Centre, 1 },
|
|
{ "new_wxDialog", _wrap_new_wxDialog, 1 },
|
|
{ "wxPanel_InitDialog", _wrap_wxPanel_InitDialog, 1 },
|
|
{ "new_wxPanel", _wrap_new_wxPanel, 1 },
|
|
{ "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer, 1 },
|
|
{ "wxWindow_Validate", _wrap_wxWindow_Validate, 1 },
|
|
{ "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow, 1 },
|
|
{ "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow, 1 },
|
|
{ "wxWindow_Show", _wrap_wxWindow_Show, 1 },
|
|
{ "wxWindow_SetTitle", _wrap_wxWindow_SetTitle, 1 },
|
|
{ "wxWindow_SetCursor", _wrap_wxWindow_SetCursor, 1 },
|
|
{ "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize, 1 },
|
|
{ "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints, 1 },
|
|
{ "wxWindow_SetPosition", _wrap_wxWindow_SetPosition, 1 },
|
|
{ "wxWindow_SetSize", _wrap_wxWindow_SetSize, 1 },
|
|
{ "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions, 1 },
|
|
{ "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos, 1 },
|
|
{ "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar, 1 },
|
|
{ "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode, 1 },
|
|
{ "wxWindow_SetName", _wrap_wxWindow_SetName, 1 },
|
|
{ "wxWindow_SetId", _wrap_wxWindow_SetId, 1 },
|
|
{ "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour, 1 },
|
|
{ "wxWindow_SetFont", _wrap_wxWindow_SetFont, 1 },
|
|
{ "wxWindow_SetFocus", _wrap_wxWindow_SetFocus, 1 },
|
|
{ "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick, 1 },
|
|
{ "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints, 1 },
|
|
{ "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour, 1 },
|
|
{ "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout, 1 },
|
|
{ "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow, 1 },
|
|
{ "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient, 1 },
|
|
{ "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse, 1 },
|
|
{ "wxWindow_Refresh", _wrap_wxWindow_Refresh, 1 },
|
|
{ "wxWindow_Raise", _wrap_wxWindow_Raise, 1 },
|
|
{ "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu, 1 },
|
|
{ "wxWindow_Move", _wrap_wxWindow_Move, 1 },
|
|
{ "wxWindow_MakeModal", _wrap_wxWindow_MakeModal, 1 },
|
|
{ "wxWindow_Lower", _wrap_wxWindow_Lower, 1 },
|
|
{ "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource, 1 },
|
|
{ "wxWindow_Layout", _wrap_wxWindow_Layout, 1 },
|
|
{ "wxWindow_IsShown", _wrap_wxWindow_IsShown, 1 },
|
|
{ "wxWindow_IsRetained", _wrap_wxWindow_IsRetained, 1 },
|
|
{ "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled, 1 },
|
|
{ "wxWindow_InitDialog", _wrap_wxWindow_InitDialog, 1 },
|
|
{ "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag, 1 },
|
|
{ "wxWindow_GetTitle", _wrap_wxWindow_GetTitle, 1 },
|
|
{ "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent, 1 },
|
|
{ "wxWindow_GetSize", _wrap_wxWindow_GetSize, 1 },
|
|
{ "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange, 1 },
|
|
{ "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos, 1 },
|
|
{ "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb, 1 },
|
|
{ "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode, 1 },
|
|
{ "wxWindow_GetParent", _wrap_wxWindow_GetParent, 1 },
|
|
{ "wxWindow_GetName", _wrap_wxWindow_GetName, 1 },
|
|
{ "wxWindow_GetLabel", _wrap_wxWindow_GetLabel, 1 },
|
|
{ "wxWindow_GetPosition", _wrap_wxWindow_GetPosition, 1 },
|
|
{ "wxWindow_GetId", _wrap_wxWindow_GetId, 1 },
|
|
{ "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent, 1 },
|
|
{ "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour, 1 },
|
|
{ "wxWindow_GetFont", _wrap_wxWindow_GetFont, 1 },
|
|
{ "wxWindow_GetDefaultItem", _wrap_wxWindow_GetDefaultItem, 1 },
|
|
{ "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints, 1 },
|
|
{ "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize, 1 },
|
|
{ "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth, 1 },
|
|
{ "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight, 1 },
|
|
{ "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour, 1 },
|
|
{ "wxWindow_Fit", _wrap_wxWindow_Fit, 1 },
|
|
{ "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName, 1 },
|
|
{ "wxWindow_FindWindowByID", _wrap_wxWindow_FindWindowByID, 1 },
|
|
{ "wxWindow_Enable", _wrap_wxWindow_Enable, 1 },
|
|
{ "wxWindow_DragAcceptFiles", _wrap_wxWindow_DragAcceptFiles, 1 },
|
|
{ "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren, 1 },
|
|
{ "wxWindow_Destroy", _wrap_wxWindow_Destroy, 1 },
|
|
{ "wxWindow_Close", _wrap_wxWindow_Close, 1 },
|
|
{ "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen, 1 },
|
|
{ "wxWindow_Centre", _wrap_wxWindow_Centre, 1 },
|
|
{ "wxWindow_Center", _wrap_wxWindow_Center, 1 },
|
|
{ "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse, 1 },
|
|
{ "new_wxWindow", _wrap_new_wxWindow, 1 },
|
|
{ "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect, 1 },
|
|
{ "wxWindow_FindFocus", _wrap_wxWindow_FindFocus, 1 },
|
|
{ NULL, NULL }
|
|
};
|
|
static PyObject *SWIG_globals;
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
SWIGEXPORT(void,initwindowsc)() {
|
|
PyObject *m, *d;
|
|
SWIG_globals = SWIG_newvarlink();
|
|
m = Py_InitModule("windowsc", windowscMethods);
|
|
d = PyModule_GetDict(m);
|
|
/*
|
|
* These are the pointer type-equivalency mappings.
|
|
* (Used by the SWIG pointer type-checker).
|
|
*/
|
|
SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
|
|
SWIG_RegisterMapping("_signed_long","_long",0);
|
|
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler);
|
|
SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
|
|
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
|
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
|
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
|
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
|
|
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
|
|
SWIG_RegisterMapping("_byte","_unsigned_char",0);
|
|
SWIG_RegisterMapping("_long","_wxDash",0);
|
|
SWIG_RegisterMapping("_long","_unsigned_long",0);
|
|
SWIG_RegisterMapping("_long","_signed_long",0);
|
|
SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
|
|
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
|
SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
|
|
SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
|
|
SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
|
|
SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
|
|
SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel);
|
|
SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel);
|
|
SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
|
|
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
|
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
|
|
SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
|
|
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
|
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
|
SWIG_RegisterMapping("_uint","_int",0);
|
|
SWIG_RegisterMapping("_uint","_wxWindowID",0);
|
|
SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
|
|
SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
|
|
SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
|
|
SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
|
|
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
|
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
|
SWIG_RegisterMapping("_EBool","_int",0);
|
|
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
|
SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
|
|
SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
|
|
SWIG_RegisterMapping("_unsigned_long","_long",0);
|
|
SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
|
|
SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
|
|
SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
|
|
SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
|
|
SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel);
|
|
SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel);
|
|
SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
|
|
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
|
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
|
SWIG_RegisterMapping("_signed_int","_int",0);
|
|
SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
|
|
SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
|
|
SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu);
|
|
SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu);
|
|
SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
|
|
SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
|
|
SWIG_RegisterMapping("_WXTYPE","_short",0);
|
|
SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
|
|
SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
|
|
SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
|
|
SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
|
|
SWIG_RegisterMapping("_unsigned_short","_short",0);
|
|
SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow);
|
|
SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow);
|
|
SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow);
|
|
SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow);
|
|
SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow);
|
|
SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow);
|
|
SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
|
|
SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
|
|
SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
|
|
SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
|
|
SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
|
|
SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
|
|
SWIG_RegisterMapping("_signed_short","_short",0);
|
|
SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
|
|
SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
|
|
SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
|
|
SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
|
|
SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
|
|
SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
|
|
SWIG_RegisterMapping("_unsigned_char","_byte",0);
|
|
SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
|
|
SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu);
|
|
SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu);
|
|
SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
|
|
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
|
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
|
SWIG_RegisterMapping("_unsigned_int","_int",0);
|
|
SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
|
|
SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
|
|
SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
|
|
SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
|
|
SWIG_RegisterMapping("_short","_WXTYPE",0);
|
|
SWIG_RegisterMapping("_short","_unsigned_short",0);
|
|
SWIG_RegisterMapping("_short","_signed_short",0);
|
|
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
|
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
|
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
|
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
|
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
|
SWIG_RegisterMapping("_int","_EBool",0);
|
|
SWIG_RegisterMapping("_int","_uint",0);
|
|
SWIG_RegisterMapping("_int","_wxWindowID",0);
|
|
SWIG_RegisterMapping("_int","_unsigned_int",0);
|
|
SWIG_RegisterMapping("_int","_signed_int",0);
|
|
SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
|
|
SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
|
|
SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
|
|
SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
|
|
SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
|
|
SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
|
|
SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
|
|
SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
|
|
SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
|
|
SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
|
|
SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
|
|
SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler);
|
|
SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
|
|
SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
|
|
SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
|
|
SWIG_RegisterMapping("_wxDash","_long",0);
|
|
SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
|
|
SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow);
|
|
SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow);
|
|
SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow);
|
|
SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow);
|
|
SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow);
|
|
SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow);
|
|
SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
|
|
}
|