#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;
}
+extern byte* byte_LIST_helper(PyObject* source);
extern int* int_LIST_helper(PyObject* source);
extern long* long_LIST_helper(PyObject* source);
extern char** string_LIST_helper(PyObject* source);
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
extern wxString* wxString_LIST_helper(PyObject* source);
-#ifdef __WXMSW__
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
-#endif
static char* wxStringErrorMsg = "string type is required for parameter";
return _resultobj;
}
-#define wxWindow_ClientToScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args) {
+#define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxWindow * _arg0;
int * _arg1;
PyObject * _obj2 = 0;
self = self;
- if(!PyArg_ParseTuple(args,"sOO:wxWindow_ClientToScreen",&_argc0,&_obj1,&_obj2))
+ if(!PyArg_ParseTuple(args,"sOO:wxWindow_ClientToScreenXY",&_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.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
return NULL;
}
}
temp0 = (int) PyInt_AsLong(_obj2);
_arg2 = &temp0;
}
- wxWindow_ClientToScreen(_arg0,_arg1,_arg2);
+ wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
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) {
+#define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
+static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxWindow * _result;
wxWindow * _arg0;
char _ptemp[128];
self = self;
- if(!PyArg_ParseTuple(args,"sl:wxWindow_FindWindowByID",&_argc0,&_arg1))
+ 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.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
return NULL;
}
}
- _result = (wxWindow *)wxWindow_FindWindowByID(_arg0,_arg1);
+ _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
return _resultobj;
}
-#define wxWindow_GetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args) {
+#define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxWindow * _arg0;
int * _arg1;
{
_arg2 = &temp0;
}
- if(!PyArg_ParseTuple(args,"s:wxWindow_GetClientSize",&_argc0))
+ if(!PyArg_ParseTuple(args,"s:wxWindow_GetClientSizeTuple",&_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.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
return NULL;
}
}
- wxWindow_GetClientSize(_arg0,_arg1,_arg2);
+ wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
Py_INCREF(Py_None);
_resultobj = Py_None;
{
return _resultobj;
}
+#define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
+static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxSize * _result;
+ wxWindow * _arg0;
+ char * _argc0 = 0;
+ char _ptemp[128];
+
+ self = self;
+ 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;
+ }
+ }
+ _result = new wxSize (wxWindow_GetClientSize(_arg0));
+ SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
#define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args) {
PyObject * _resultobj;
return NULL;
}
}
- _result = (wxFont *)wxWindow_GetFont(_arg0);
+ wxFont & _result_ref = wxWindow_GetFont(_arg0);
+ _result = (wxFont *) &_result_ref;
SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
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;
return _resultobj;
}
+#define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxWindow_GetPositionTuple(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_GetPositionTuple",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
+ return NULL;
+ }
+ }
+ wxWindow_GetPositionTuple(_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_GetPosition(_swigobj) (_swigobj->GetPosition())
+static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxPoint * _result;
+ wxWindow * _arg0;
+ char * _argc0 = 0;
+ char _ptemp[128];
+
+ self = self;
+ 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;
+ }
+ }
+ _result = new wxPoint (wxWindow_GetPosition(_arg0));
+ SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
+static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxRect * _result;
+ wxWindow * _arg0;
+ char * _argc0 = 0;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxWindow_GetRect",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
+ return NULL;
+ }
+ }
+ _result = new wxRect (wxWindow_GetRect(_arg0));
+ SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_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;
return _resultobj;
}
-#define wxWindow_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args) {
+#define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxWindow * _arg0;
int * _arg1;
{
_arg2 = &temp0;
}
- if(!PyArg_ParseTuple(args,"s:wxWindow_GetSize",&_argc0))
+ if(!PyArg_ParseTuple(args,"s:wxWindow_GetSizeTuple",&_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.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
return NULL;
}
}
- wxWindow_GetSize(_arg0,_arg1,_arg2);
+ wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
Py_INCREF(Py_None);
_resultobj = Py_None;
{
return _resultobj;
}
+#define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
+static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxSize * _result;
+ wxWindow * _arg0;
+ char * _argc0 = 0;
+ char _ptemp[128];
+
+ self = self;
+ 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;
+ }
+ }
+ _result = new wxSize (wxWindow_GetSize(_arg0));
+ SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ 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;
return _resultobj;
}
+#define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
+static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxWindow * _arg0;
+ wxString * _arg1;
+ int * _arg2;
+ int temp;
+ int * _arg3;
+ int temp0;
+ int * _arg4;
+ int temp1;
+ int * _arg5;
+ int temp2;
+ wxFont * _arg6 = NULL;
+ char * _argc0 = 0;
+ PyObject * _obj1 = 0;
+ char * _argc6 = 0;
+
+ self = self;
+{
+ _arg2 = &temp;
+}
+{
+ _arg3 = &temp0;
+}
+{
+ _arg4 = &temp1;
+}
+{
+ _arg5 = &temp2;
+}
+ if(!PyArg_ParseTuple(args,"sO|s:wxWindow_GetFullTextExtent",&_argc0,&_obj1,&_argc6))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
+ return NULL;
+ }
+ }
+{
+ if (!PyString_Check(_obj1)) {
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
+ return NULL;
+ }
+ _arg1 = new wxString(PyString_AsString(_obj1));
+}
+ if (_argc6) {
+ if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxFont_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
+ return NULL;
+ }
+ }
+ wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
+ 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);
+}
+{
+ PyObject *o;
+ o = PyInt_FromLong((long) (*_arg4));
+ _resultobj = t_output_helper(_resultobj, o);
+}
+{
+ PyObject *o;
+ o = PyInt_FromLong((long) (*_arg5));
+ _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;
return _resultobj;
}
-#define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args) {
+#define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxWindow * _arg0;
int _arg1;
char * _argc0 = 0;
self = self;
- if(!PyArg_ParseTuple(args,"sii:wxWindow_Move",&_argc0,&_arg1,&_arg2))
+ if(!PyArg_ParseTuple(args,"sii:wxWindow_MoveXY",&_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_MoveXY. Expected _wxWindow_p.");
+ return NULL;
+ }
+ }
+ wxWindow_MoveXY(_arg0,_arg1,_arg2);
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
+static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxWindow * _arg0;
+ wxPoint * _arg1;
+ char * _argc0 = 0;
+ char * _argc1 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"ss:wxWindow_Move",&_argc0,&_argc1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
return NULL;
}
}
- wxWindow_Move(_arg0,_arg1,_arg2);
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
+ return NULL;
+ }
+ }
+ wxWindow_Move(_arg0,*_arg1);
Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
return _resultobj;
}
-#define wxWindow_ScreenToClient(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args) {
+#define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxWindow * _arg0;
int * _arg1;
PyObject * _obj2 = 0;
self = self;
- if(!PyArg_ParseTuple(args,"sOO:wxWindow_ScreenToClient",&_argc0,&_obj1,&_obj2))
+ if(!PyArg_ParseTuple(args,"sOO:wxWindow_ScreenToClientXY",&_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.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
return NULL;
}
}
temp0 = (int) PyInt_AsLong(_obj2);
_arg2 = &temp0;
}
- wxWindow_ScreenToClient(_arg0,_arg1,_arg2);
+ wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
Py_INCREF(Py_None);
_resultobj = Py_None;
{
return _resultobj;
}
+#define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
+static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxWindow * _arg0;
+ wxAcceleratorTable * _arg1;
+ char * _argc0 = 0;
+ char * _argc1 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"ss:wxWindow_SetAcceleratorTable",&_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_SetAcceleratorTable. Expected _wxWindow_p.");
+ return NULL;
+ }
+ }
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
+ return NULL;
+ }
+ }
+ wxWindow_SetAcceleratorTable(_arg0,*_arg1);
+ 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;
return _resultobj;
}
-#define wxWindow_SetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args) {
+#define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxWindow * _arg0;
int _arg1;
char * _argc0 = 0;
self = self;
- if(!PyArg_ParseTuple(args,"sii:wxWindow_SetClientSize",&_argc0,&_arg1,&_arg2))
+ if(!PyArg_ParseTuple(args,"sii:wxWindow_SetClientSizeWH",&_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.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
return NULL;
}
}
- wxWindow_SetClientSize(_arg0,_arg1,_arg2);
+ wxWindow_SetClientSizeWH(_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) {
+#define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
+static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxWindow * _arg0;
- wxCursor * _arg1;
+ wxSize * _arg1;
char * _argc0 = 0;
char * _argc1 = 0;
self = self;
- if(!PyArg_ParseTuple(args,"ss:wxWindow_SetCursor",&_argc0,&_argc1))
+ if(!PyArg_ParseTuple(args,"ss:wxWindow_SetClientSize",&_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.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. 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.");
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
return NULL;
}
}
- wxWindow_SetCursor(_arg0,*_arg1);
+ wxWindow_SetClientSize(_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) {
+#define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
+static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxWindow * _arg0;
- wxString * _arg1;
+ wxCursor * _arg1;
char * _argc0 = 0;
- PyObject * _obj1 = 0;
+ char * _argc1 = 0;
self = self;
- if(!PyArg_ParseTuple(args,"sO:wxWindow_SetTitle",&_argc0,&_obj1))
+ 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_SetTitle. Expected _wxWindow_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
return NULL;
}
}
-{
- if (!PyString_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
+ 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;
+ }
}
- _arg1 = new wxString(PyString_AsString(_obj1));
-}
- wxWindow_SetTitle(_arg0,*_arg1);
+ wxWindow_SetCursor(_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;
-}
-
-static void *SwigwxFrameTowxWindow(void *ptr) {
- wxFrame *src;
- wxWindow *dest;
- src = (wxFrame *) ptr;
- dest = (wxWindow *) src;
- return (void *) dest;
-}
-
-static void *SwigwxFrameTowxEvtHandler(void *ptr) {
- wxFrame *src;
- wxEvtHandler *dest;
- src = (wxFrame *) ptr;
- dest = (wxEvtHandler *) src;
- return (void *) dest;
-}
-
-#define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
-static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxFrame * _result;
- wxWindow * _arg0;
- wxWindowID _arg1;
- wxString * _arg2;
- wxPoint * _arg3 = &wxPyDefaultPosition;
- wxSize * _arg4 = &wxPyDefaultSize;
- long _arg5 = (wxDEFAULT_FRAME_STYLE);
- char * _arg6 = "frame";
- char * _argc0 = 0;
- PyObject * _obj2 = 0;
- char * _argc3 = 0;
- char * _argc4 = 0;
- char _ptemp[128];
-
- self = self;
- if(!PyArg_ParseTuple(args,"siO|ssls:new_wxFrame",&_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_wxFrame. 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_wxFrame. 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_wxFrame. Expected _wxSize_p.");
- return NULL;
- }
- }
- _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
- _resultobj = Py_BuildValue("s",_ptemp);
-{
- if (_obj2)
- delete _arg2;
-}
- return _resultobj;
-}
-
-#define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
-static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args) {
+#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
+static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxFrame * _arg0;
- int _arg1 = (wxBOTH);
+ wxWindow * _arg0;
+ wxString * _arg1;
char * _argc0 = 0;
+ PyObject * _obj1 = 0;
self = self;
- if(!PyArg_ParseTuple(args,"s|i:wxFrame_Centre",&_argc0,&_arg1))
+ if(!PyArg_ParseTuple(args,"sO:wxWindow_SetTitle",&_argc0,&_obj1))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p.");
+ 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;
}
}
- wxFrame_Centre(_arg0,_arg1);
+{
+ 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 wxFrame_CreateStatusBar(_swigobj,_swigarg0) (_swigobj->CreateStatusBar(_swigarg0))
-static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args) {
+#define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
+static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args) {
PyObject * _resultobj;
bool _result;
- wxFrame * _arg0;
- int _arg1 = 1;
+ wxWindow * _arg0;
+ bool _arg1;
char * _argc0 = 0;
+ int tempbool1;
self = self;
- if(!PyArg_ParseTuple(args,"s|i:wxFrame_CreateStatusBar",&_argc0,&_arg1))
+ if(!PyArg_ParseTuple(args,"si:wxWindow_Show",&_argc0,&tempbool1))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
+ 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;
}
}
- _result = (bool )wxFrame_CreateStatusBar(_arg0,_arg1);
+ _arg1 = (bool ) tempbool1;
+ _result = (bool )wxWindow_Show(_arg0,_arg1);
_resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
-#define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
-static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args) {
+#define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
+static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxMenuBar * _result;
- wxFrame * _arg0;
+ bool _result;
+ wxWindow * _arg0;
char * _argc0 = 0;
- char _ptemp[128];
self = self;
- if(!PyArg_ParseTuple(args,"s:wxFrame_GetMenuBar",&_argc0))
+ if(!PyArg_ParseTuple(args,"s:wxWindow_TransferDataFromWindow",&_argc0))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
+ 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 = (wxMenuBar *)wxFrame_GetMenuBar(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
- _resultobj = Py_BuildValue("s",_ptemp);
+ _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
-#define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
-static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args) {
+#define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
+static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxStatusBar * _result;
- wxFrame * _arg0;
+ bool _result;
+ wxWindow * _arg0;
char * _argc0 = 0;
- char _ptemp[128];
self = self;
- if(!PyArg_ParseTuple(args,"s:wxFrame_GetStatusBar",&_argc0))
+ if(!PyArg_ParseTuple(args,"s:wxWindow_TransferDataToWindow",&_argc0))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
+ 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 = (wxStatusBar *)wxFrame_GetStatusBar(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
- _resultobj = Py_BuildValue("s",_ptemp);
+ _result = (bool )wxWindow_TransferDataToWindow(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
-#define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
-static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args) {
+#define wxWindow_Validate(_swigobj) (_swigobj->Validate())
+static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxString * _result;
- wxFrame * _arg0;
+ bool _result;
+ wxWindow * _arg0;
char * _argc0 = 0;
self = self;
- if(!PyArg_ParseTuple(args,"s:wxFrame_GetTitle",&_argc0))
+ if(!PyArg_ParseTuple(args,"s:wxWindow_Validate",&_argc0))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p.");
+ 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 = new wxString (wxFrame_GetTitle(_arg0));
-{
- _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
-}
-{
- delete _result;
-}
+ _result = (bool )wxWindow_Validate(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
-#define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
-static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args) {
+#define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxFrame * _arg0;
- bool _arg1;
+ wxWindow * _arg0;
+ int _arg1;
+ int _arg2;
char * _argc0 = 0;
- int tempbool1;
self = self;
- if(!PyArg_ParseTuple(args,"si:wxFrame_Iconize",&_argc0,&tempbool1))
+ if(!PyArg_ParseTuple(args,"sii:wxWindow_WarpPointer",&_argc0,&_arg1,&_arg2))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p.");
+ 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;
}
}
- _arg1 = (bool ) tempbool1;
- wxFrame_Iconize(_arg0,_arg1);
+ wxWindow_WarpPointer(_arg0,_arg1,_arg2);
Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
-#define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
-static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args) {
+#define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
+static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- bool _result;
- wxFrame * _arg0;
+ wxPoint * _result;
+ wxWindow * _arg0;
+ wxPoint * _arg1;
char * _argc0 = 0;
+ char * _argc1 = 0;
+ char _ptemp[128];
self = self;
- if(!PyArg_ParseTuple(args,"s:wxFrame_IsIconized",&_argc0))
+ if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0,&_argc1))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p.");
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
return NULL;
}
}
- _result = (bool )wxFrame_IsIconized(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
+ return NULL;
+ }
+ }
+ _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
+ SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
-#define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
-static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args) {
+#define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
+static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxFrame * _arg0;
- bool _arg1;
+ wxSize * _result;
+ wxWindow * _arg0;
+ wxSize * _arg1;
char * _argc0 = 0;
- int tempbool1;
+ char * _argc1 = 0;
+ char _ptemp[128];
self = self;
- if(!PyArg_ParseTuple(args,"si:wxFrame_Maximize",&_argc0,&tempbool1))
+ if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0,&_argc1))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p.");
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
return NULL;
}
}
- _arg1 = (bool ) tempbool1;
- wxFrame_Maximize(_arg0,_arg1);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
+ return NULL;
+ }
+ }
+ _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
+ SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
-#define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
-static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args) {
+#define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
+static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxFrame * _arg0;
- wxIcon * _arg1;
+ wxPoint * _result;
+ wxWindow * _arg0;
+ wxPoint * _arg1;
char * _argc0 = 0;
char * _argc1 = 0;
+ char _ptemp[128];
self = self;
- if(!PyArg_ParseTuple(args,"ss:wxFrame_SetIcon",&_argc0,&_argc1))
+ if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0,&_argc1))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p.");
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
return NULL;
}
}
if (_argc1) {
- if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxIcon_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p.");
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
return NULL;
}
}
- wxFrame_SetIcon(_arg0,*_arg1);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
+ _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
+ SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
-#define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
-static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args) {
+#define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
+static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxFrame * _arg0;
- wxMenuBar * _arg1;
+ wxSize * _result;
+ wxWindow * _arg0;
+ wxSize * _arg1;
char * _argc0 = 0;
char * _argc1 = 0;
+ char _ptemp[128];
self = self;
- if(!PyArg_ParseTuple(args,"ss:wxFrame_SetMenuBar",&_argc0,&_argc1))
+ if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0,&_argc1))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
return NULL;
}
}
if (_argc1) {
- if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenuBar_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
return NULL;
}
}
- wxFrame_SetMenuBar(_arg0,_arg1);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
+ _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
+ SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
-#define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args) {
+#define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
+static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxFrame * _arg0;
+ wxWindow * _arg0;
wxString * _arg1;
- int _arg2 = 0;
char * _argc0 = 0;
PyObject * _obj1 = 0;
self = self;
- if(!PyArg_ParseTuple(args,"sO|i:wxFrame_SetStatusText",&_argc0,&_obj1,&_arg2))
+ if(!PyArg_ParseTuple(args,"sO:wxWindow_SetToolTipString",&_argc0,&_obj1))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
return NULL;
}
}
}
_arg1 = new wxString(PyString_AsString(_obj1));
}
- wxFrame_SetStatusText(_arg0,*_arg1,_arg2);
+ wxWindow_SetToolTipString(_arg0,*_arg1);
Py_INCREF(Py_None);
_resultobj = Py_None;
{
return _resultobj;
}
-#define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args) {
+#define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
+static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxFrame * _arg0;
- int _arg1;
- int * _arg2;
+ wxWindow * _arg0;
+ wxToolTip * _arg1;
char * _argc0 = 0;
- PyObject * _obj2 = 0;
+ char * _argc1 = 0;
self = self;
- if(!PyArg_ParseTuple(args,"sO:wxFrame_SetStatusWidths",&_argc0,&_obj2))
+ if(!PyArg_ParseTuple(args,"ss:wxWindow_SetToolTip",&_argc0,&_argc1))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
return NULL;
}
}
- if (_obj2)
-{
- _arg2 = int_LIST_helper(_obj2);
- if (_arg2 == NULL) {
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxToolTip_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
return NULL;
+ }
}
-}
-{
- _arg1 = PyList_Size(_obj2);
-}
- wxFrame_SetStatusWidths(_arg0,_arg1,_arg2);
+ wxWindow_SetToolTip(_arg0,_arg1);
Py_INCREF(Py_None);
_resultobj = Py_None;
-{
- delete [] _arg2;
-}
return _resultobj;
}
-#define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
-static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args) {
+#define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
+static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxFrame * _arg0;
- wxString * _arg1;
+ wxToolTip * _result;
+ wxWindow * _arg0;
char * _argc0 = 0;
- PyObject * _obj1 = 0;
+ char _ptemp[128];
self = self;
- if(!PyArg_ParseTuple(args,"sO:wxFrame_SetTitle",&_argc0,&_obj1))
+ if(!PyArg_ParseTuple(args,"s:wxWindow_GetToolTip",&_argc0))
return NULL;
if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p.");
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
return NULL;
}
}
-{
- if (!PyString_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
- return NULL;
- }
- _arg1 = new wxString(PyString_AsString(_obj1));
-}
- wxFrame_SetTitle(_arg0,*_arg1);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
-{
- if (_obj1)
- delete _arg1;
-}
+ _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
+ SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
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;
return _resultobj;
}
-#define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindMenuItemById(_swigarg0))
+#define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
static PyObject *_wrap_wxMenuBar_FindItemForId(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxMenuItem * _result;
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_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;
{ "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_SetName", _wrap_wxMenuItem_SetName, 1 },
{ "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu, 1 },
{ "wxMenuItem_GetId", _wrap_wxMenuItem_GetId, 1 },
{ "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable, 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 },
{ "new_wxDialog", _wrap_new_wxDialog, 1 },
{ "wxPanel_InitDialog", _wrap_wxPanel_InitDialog, 1 },
{ "new_wxPanel", _wrap_new_wxPanel, 1 },
- { "wxFrame_SetTitle", _wrap_wxFrame_SetTitle, 1 },
- { "wxFrame_SetStatusWidths", _wrap_wxFrame_SetStatusWidths, 1 },
- { "wxFrame_SetStatusText", _wrap_wxFrame_SetStatusText, 1 },
- { "wxFrame_SetMenuBar", _wrap_wxFrame_SetMenuBar, 1 },
- { "wxFrame_SetIcon", _wrap_wxFrame_SetIcon, 1 },
- { "wxFrame_Maximize", _wrap_wxFrame_Maximize, 1 },
- { "wxFrame_IsIconized", _wrap_wxFrame_IsIconized, 1 },
- { "wxFrame_Iconize", _wrap_wxFrame_Iconize, 1 },
- { "wxFrame_GetTitle", _wrap_wxFrame_GetTitle, 1 },
- { "wxFrame_GetStatusBar", _wrap_wxFrame_GetStatusBar, 1 },
- { "wxFrame_GetMenuBar", _wrap_wxFrame_GetMenuBar, 1 },
- { "wxFrame_CreateStatusBar", _wrap_wxFrame_CreateStatusBar, 1 },
- { "wxFrame_Centre", _wrap_wxFrame_Centre, 1 },
- { "new_wxFrame", _wrap_new_wxFrame, 1 },
+ { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip, 1 },
+ { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip, 1 },
+ { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString, 1 },
+ { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog, 1 },
+ { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog, 1 },
+ { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels, 1 },
+ { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels, 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_SetTitle", _wrap_wxWindow_SetTitle, 1 },
{ "wxWindow_SetCursor", _wrap_wxWindow_SetCursor, 1 },
{ "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize, 1 },
+ { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH, 1 },
{ "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints, 1 },
{ "wxWindow_SetPosition", _wrap_wxWindow_SetPosition, 1 },
{ "wxWindow_SetSize", _wrap_wxWindow_SetSize, 1 },
{ "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints, 1 },
{ "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour, 1 },
{ "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout, 1 },
+ { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable, 1 },
{ "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow, 1 },
- { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient, 1 },
+ { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY, 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_MoveXY", _wrap_wxWindow_MoveXY, 1 },
{ "wxWindow_MakeModal", _wrap_wxWindow_MakeModal, 1 },
{ "wxWindow_Lower", _wrap_wxWindow_Lower, 1 },
{ "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource, 1 },
{ "wxWindow_InitDialog", _wrap_wxWindow_InitDialog, 1 },
{ "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag, 1 },
{ "wxWindow_GetTitle", _wrap_wxWindow_GetTitle, 1 },
+ { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent, 1 },
{ "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent, 1 },
{ "wxWindow_GetSize", _wrap_wxWindow_GetSize, 1 },
+ { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple, 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_GetRect", _wrap_wxWindow_GetRect, 1 },
+ { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition, 1 },
+ { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple, 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_GetConstraints", _wrap_wxWindow_GetConstraints, 1 },
{ "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize, 1 },
+ { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple, 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_FindWindowById", _wrap_wxWindow_FindWindowById, 1 },
{ "wxWindow_Enable", _wrap_wxWindow_Enable, 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_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY, 1 },
{ "wxWindow_Centre", _wrap_wxWindow_Centre, 1 },
{ "wxWindow_Center", _wrap_wxWindow_Center, 1 },
{ "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse, 1 },
* 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_wxRegionIterator","_wxRegionIterator",0);
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler);
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler);
SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler);
- SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler);
- SWIG_RegisterMapping("_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler);
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("_wxToolTip","_class_wxToolTip",0);
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
SWIG_RegisterMapping("_long","_wxDash",0);
SWIG_RegisterMapping("_long","_unsigned_long",0);
SWIG_RegisterMapping("_long","_signed_long",0);
+ SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
+ SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel);
SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel);
SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
+ SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
+ SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",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("_class_wxRegion","_wxRegion",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("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow);
SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow);
SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow);
- SWIG_RegisterMapping("_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow);
- SWIG_RegisterMapping("_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow);
SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
SWIG_RegisterMapping("_signed_short","_short",0);
SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
+ SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",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("_short","_WXTYPE",0);
SWIG_RegisterMapping("_short","_unsigned_short",0);
SWIG_RegisterMapping("_short","_signed_short",0);
- SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
+ SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
SWIG_RegisterMapping("_wxWindowID","_uint",0);
SWIG_RegisterMapping("_wxWindowID","_int",0);
SWIG_RegisterMapping("_int","_unsigned_int",0);
SWIG_RegisterMapping("_int","_signed_int",0);
SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
+ SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",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("_wxPalette","_class_wxPalette",0);
+ SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler);
SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler);
SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler);
- SWIG_RegisterMapping("_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler);
- SWIG_RegisterMapping("_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler);
SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler);
SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler);
SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
SWIG_RegisterMapping("_wxDash","_long",0);
SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
+ SWIG_RegisterMapping("_class_wxPalette","_wxPalette",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_wxFrame",SwigwxFrameTowxWindow);
- SWIG_RegisterMapping("_wxWindow","_wxFrame",SwigwxFrameTowxWindow);
SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
- SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);
}