2 * FILE : gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
108 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
109 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
110 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
111 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
114 HELPEREXPORT wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
121 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
122 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
123 PyObject
* _resultobj
;
125 wxEvtHandler
* _arg0
;
127 PyObject
* _argo0
= 0;
128 PyObject
* _argo1
= 0;
129 char *_kwnames
[] = { "self","event", NULL
};
132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
149 wxPy_BEGIN_ALLOW_THREADS
;
150 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
152 wxPy_END_ALLOW_THREADS
;
153 } _resultobj
= Py_BuildValue("i",_result
);
157 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
158 if (PyCallable_Check(func
)) {
159 self
->Connect(id
, lastId
, eventType
,
160 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
161 new wxPyCallback(func
));
164 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
165 PyObject
* _resultobj
;
166 wxEvtHandler
* _arg0
;
171 PyObject
* _argo0
= 0;
172 PyObject
* _obj4
= 0;
173 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
189 wxPy_BEGIN_ALLOW_THREADS
;
190 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
192 wxPy_END_ALLOW_THREADS
;
193 } Py_INCREF(Py_None
);
194 _resultobj
= Py_None
;
198 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
201 src
= (wxWindow
*) ptr
;
202 dest
= (wxEvtHandler
*) src
;
203 return (void *) dest
;
206 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
207 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
208 PyObject
* _resultobj
;
212 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
213 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
214 long _arg4
= (long ) 0;
215 char * _arg5
= (char *) "panel";
216 PyObject
* _argo0
= 0;
217 PyObject
* _argo2
= 0;
218 PyObject
* _argo3
= 0;
219 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
233 if (_argo2
== Py_None
) { _arg2
= NULL
; }
234 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
240 if (_argo3
== Py_None
) { _arg3
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
247 wxPy_BEGIN_ALLOW_THREADS
;
248 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
250 wxPy_END_ALLOW_THREADS
;
252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
253 _resultobj
= Py_BuildValue("s",_ptemp
);
256 _resultobj
= Py_None
;
261 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
262 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
265 PyObject
* _argo0
= 0;
266 char *_kwnames
[] = { "self", NULL
};
269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
279 wxPy_BEGIN_ALLOW_THREADS
;
280 wxWindow_CaptureMouse(_arg0
);
282 wxPy_END_ALLOW_THREADS
;
283 } Py_INCREF(Py_None
);
284 _resultobj
= Py_None
;
288 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
289 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
292 int _arg1
= (int ) wxBOTH
;
293 PyObject
* _argo0
= 0;
294 char *_kwnames
[] = { "self","direction", NULL
};
297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
307 wxPy_BEGIN_ALLOW_THREADS
;
308 wxWindow_Center(_arg0
,_arg1
);
310 wxPy_END_ALLOW_THREADS
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
317 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
320 int _arg1
= (int ) wxBOTH
;
321 PyObject
* _argo0
= 0;
322 char *_kwnames
[] = { "self","direction", NULL
};
325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
335 wxPy_BEGIN_ALLOW_THREADS
;
336 wxWindow_Centre(_arg0
,_arg1
);
338 wxPy_END_ALLOW_THREADS
;
339 } Py_INCREF(Py_None
);
340 _resultobj
= Py_None
;
344 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
345 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
346 PyObject
* _resultobj
;
348 int _arg1
= (int ) wxBOTH
;
349 PyObject
* _argo0
= 0;
350 char *_kwnames
[] = { "self","direction", NULL
};
353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
363 wxPy_BEGIN_ALLOW_THREADS
;
364 wxWindow_CentreOnParent(_arg0
,_arg1
);
366 wxPy_END_ALLOW_THREADS
;
367 } Py_INCREF(Py_None
);
368 _resultobj
= Py_None
;
372 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
373 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
374 PyObject
* _resultobj
;
376 int _arg1
= (int ) wxBOTH
;
377 PyObject
* _argo0
= 0;
378 char *_kwnames
[] = { "self","direction", NULL
};
381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
391 wxPy_BEGIN_ALLOW_THREADS
;
392 wxWindow_CenterOnParent(_arg0
,_arg1
);
394 wxPy_END_ALLOW_THREADS
;
395 } Py_INCREF(Py_None
);
396 _resultobj
= Py_None
;
400 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
401 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
406 PyObject
* _argo0
= 0;
408 PyObject
* _obj1
= 0;
410 PyObject
* _obj2
= 0;
411 char *_kwnames
[] = { "self","x","y", NULL
};
414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
424 temp
= (int) PyInt_AsLong(_obj1
);
428 temp0
= (int) PyInt_AsLong(_obj2
);
432 wxPy_BEGIN_ALLOW_THREADS
;
433 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
435 wxPy_END_ALLOW_THREADS
;
436 } Py_INCREF(Py_None
);
437 _resultobj
= Py_None
;
440 o
= PyInt_FromLong((long) (*_arg1
));
441 _resultobj
= t_output_helper(_resultobj
, o
);
445 o
= PyInt_FromLong((long) (*_arg2
));
446 _resultobj
= t_output_helper(_resultobj
, o
);
451 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
452 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
457 PyObject
* _argo0
= 0;
458 PyObject
* _argo1
= 0;
459 char *_kwnames
[] = { "self","pt", NULL
};
463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_argo1
))
466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
480 wxPy_BEGIN_ALLOW_THREADS
;
481 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
483 wxPy_END_ALLOW_THREADS
;
484 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
485 _resultobj
= Py_BuildValue("s",_ptemp
);
489 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
490 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
494 int _arg1
= (int ) FALSE
;
495 PyObject
* _argo0
= 0;
496 char *_kwnames
[] = { "self","force", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
509 wxPy_BEGIN_ALLOW_THREADS
;
510 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
512 wxPy_END_ALLOW_THREADS
;
513 } _resultobj
= Py_BuildValue("i",_result
);
517 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
518 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
522 PyObject
* _argo0
= 0;
523 char *_kwnames
[] = { "self", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
536 wxPy_BEGIN_ALLOW_THREADS
;
537 _result
= (bool )wxWindow_Destroy(_arg0
);
539 wxPy_END_ALLOW_THREADS
;
540 } _resultobj
= Py_BuildValue("i",_result
);
544 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
545 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
546 PyObject
* _resultobj
;
548 PyObject
* _argo0
= 0;
549 char *_kwnames
[] = { "self", NULL
};
552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
562 wxPy_BEGIN_ALLOW_THREADS
;
563 wxWindow_DestroyChildren(_arg0
);
565 wxPy_END_ALLOW_THREADS
;
566 } Py_INCREF(Py_None
);
567 _resultobj
= Py_None
;
571 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
572 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
573 PyObject
* _resultobj
;
576 PyObject
* _argo0
= 0;
578 char *_kwnames
[] = { "self","enable", NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
590 _arg1
= (bool ) tempbool1
;
592 wxPy_BEGIN_ALLOW_THREADS
;
593 wxWindow_Enable(_arg0
,_arg1
);
595 wxPy_END_ALLOW_THREADS
;
596 } Py_INCREF(Py_None
);
597 _resultobj
= Py_None
;
601 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
602 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self","id", NULL
};
612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
622 wxPy_BEGIN_ALLOW_THREADS
;
623 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
625 wxPy_END_ALLOW_THREADS
;
627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
628 _resultobj
= Py_BuildValue("s",_ptemp
);
631 _resultobj
= Py_None
;
636 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
637 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
638 PyObject
* _resultobj
;
642 PyObject
* _argo0
= 0;
643 PyObject
* _obj1
= 0;
644 char *_kwnames
[] = { "self","name", NULL
};
648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
658 if (!PyString_Check(_obj1
)) {
659 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
662 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
665 wxPy_BEGIN_ALLOW_THREADS
;
666 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
668 wxPy_END_ALLOW_THREADS
;
670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
671 _resultobj
= Py_BuildValue("s",_ptemp
);
674 _resultobj
= Py_None
;
683 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
684 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
685 PyObject
* _resultobj
;
687 PyObject
* _argo0
= 0;
688 char *_kwnames
[] = { "self", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
701 wxPy_BEGIN_ALLOW_THREADS
;
704 wxPy_END_ALLOW_THREADS
;
705 } Py_INCREF(Py_None
);
706 _resultobj
= Py_None
;
710 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
711 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
712 PyObject
* _resultobj
;
715 PyObject
* _argo0
= 0;
716 char *_kwnames
[] = { "self", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
730 wxPy_BEGIN_ALLOW_THREADS
;
731 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
733 wxPy_END_ALLOW_THREADS
;
734 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
735 _resultobj
= Py_BuildValue("s",_ptemp
);
739 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
740 wxWindowList
& list
= self
->GetChildren();
741 return wxPy_ConvertList(&list
, "wxWindow");
743 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
747 PyObject
* _argo0
= 0;
748 char *_kwnames
[] = { "self", NULL
};
751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
761 wxPy_BEGIN_ALLOW_THREADS
;
762 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
764 wxPy_END_ALLOW_THREADS
;
766 _resultobj
= _result
;
771 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
772 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
776 PyObject
* _argo0
= 0;
777 char *_kwnames
[] = { "self", NULL
};
780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
790 wxPy_BEGIN_ALLOW_THREADS
;
791 _result
= (int )wxWindow_GetCharHeight(_arg0
);
793 wxPy_END_ALLOW_THREADS
;
794 } _resultobj
= Py_BuildValue("i",_result
);
798 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
799 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
803 PyObject
* _argo0
= 0;
804 char *_kwnames
[] = { "self", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
817 wxPy_BEGIN_ALLOW_THREADS
;
818 _result
= (int )wxWindow_GetCharWidth(_arg0
);
820 wxPy_END_ALLOW_THREADS
;
821 } _resultobj
= Py_BuildValue("i",_result
);
825 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
826 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
827 PyObject
* _resultobj
;
833 PyObject
* _argo0
= 0;
834 char *_kwnames
[] = { "self", NULL
};
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
853 wxPy_BEGIN_ALLOW_THREADS
;
854 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
856 wxPy_END_ALLOW_THREADS
;
857 } Py_INCREF(Py_None
);
858 _resultobj
= Py_None
;
861 o
= PyInt_FromLong((long) (*_arg1
));
862 _resultobj
= t_output_helper(_resultobj
, o
);
866 o
= PyInt_FromLong((long) (*_arg2
));
867 _resultobj
= t_output_helper(_resultobj
, o
);
872 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
873 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
874 PyObject
* _resultobj
;
877 PyObject
* _argo0
= 0;
878 char *_kwnames
[] = { "self", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
892 wxPy_BEGIN_ALLOW_THREADS
;
893 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
895 wxPy_END_ALLOW_THREADS
;
896 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
897 _resultobj
= Py_BuildValue("s",_ptemp
);
901 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
902 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
903 PyObject
* _resultobj
;
904 wxLayoutConstraints
* _result
;
906 PyObject
* _argo0
= 0;
907 char *_kwnames
[] = { "self", NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
921 wxPy_BEGIN_ALLOW_THREADS
;
922 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
924 wxPy_END_ALLOW_THREADS
;
926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
927 _resultobj
= Py_BuildValue("s",_ptemp
);
930 _resultobj
= Py_None
;
935 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
936 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
938 wxEvtHandler
* _result
;
940 PyObject
* _argo0
= 0;
941 char *_kwnames
[] = { "self", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
955 wxPy_BEGIN_ALLOW_THREADS
;
956 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
958 wxPy_END_ALLOW_THREADS
;
960 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
961 _resultobj
= Py_BuildValue("s",_ptemp
);
964 _resultobj
= Py_None
;
969 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
970 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
974 PyObject
* _argo0
= 0;
975 char *_kwnames
[] = { "self", NULL
};
979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
989 wxPy_BEGIN_ALLOW_THREADS
;
990 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
991 _result
= (wxFont
*) &_result_ref
;
993 wxPy_END_ALLOW_THREADS
;
995 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
996 _resultobj
= Py_BuildValue("s",_ptemp
);
999 _resultobj
= Py_None
;
1004 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1005 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1009 PyObject
* _argo0
= 0;
1010 char *_kwnames
[] = { "self", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1024 wxPy_BEGIN_ALLOW_THREADS
;
1025 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1027 wxPy_END_ALLOW_THREADS
;
1028 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1029 _resultobj
= Py_BuildValue("s",_ptemp
);
1033 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1034 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
* _resultobj
;
1038 PyObject
* _argo0
= 0;
1039 char *_kwnames
[] = { "self", NULL
};
1043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1053 wxPy_BEGIN_ALLOW_THREADS
;
1054 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1056 wxPy_END_ALLOW_THREADS
;
1058 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1059 _resultobj
= Py_BuildValue("s",_ptemp
);
1062 _resultobj
= Py_None
;
1067 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1068 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
* _resultobj
;
1072 PyObject
* _argo0
= 0;
1073 char *_kwnames
[] = { "self", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 _result
= (int )wxWindow_GetId(_arg0
);
1089 wxPy_END_ALLOW_THREADS
;
1090 } _resultobj
= Py_BuildValue("i",_result
);
1094 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1095 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1099 PyObject
* _argo0
= 0;
1100 char *_kwnames
[] = { "self", NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1113 wxPy_BEGIN_ALLOW_THREADS
;
1114 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1116 wxPy_END_ALLOW_THREADS
;
1118 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1126 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1127 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1128 PyObject
* _resultobj
;
1131 PyObject
* _argo0
= 0;
1132 PyObject
* _obj1
= 0;
1133 char *_kwnames
[] = { "self","label", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1146 if (!PyString_Check(_obj1
)) {
1147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1150 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1153 wxPy_BEGIN_ALLOW_THREADS
;
1154 wxWindow_SetLabel(_arg0
,*_arg1
);
1156 wxPy_END_ALLOW_THREADS
;
1157 } Py_INCREF(Py_None
);
1158 _resultobj
= Py_None
;
1166 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1167 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1171 PyObject
* _argo0
= 0;
1172 char *_kwnames
[] = { "self", NULL
};
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1185 wxPy_BEGIN_ALLOW_THREADS
;
1186 _result
= new wxString (wxWindow_GetName(_arg0
));
1188 wxPy_END_ALLOW_THREADS
;
1190 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1198 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1199 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1203 PyObject
* _argo0
= 0;
1204 char *_kwnames
[] = { "self", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1218 wxPy_BEGIN_ALLOW_THREADS
;
1219 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1221 wxPy_END_ALLOW_THREADS
;
1223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1224 _resultobj
= Py_BuildValue("s",_ptemp
);
1227 _resultobj
= Py_None
;
1232 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1233 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
* _resultobj
;
1240 PyObject
* _argo0
= 0;
1241 char *_kwnames
[] = { "self", NULL
};
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1260 wxPy_BEGIN_ALLOW_THREADS
;
1261 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1263 wxPy_END_ALLOW_THREADS
;
1264 } Py_INCREF(Py_None
);
1265 _resultobj
= Py_None
;
1268 o
= PyInt_FromLong((long) (*_arg1
));
1269 _resultobj
= t_output_helper(_resultobj
, o
);
1273 o
= PyInt_FromLong((long) (*_arg2
));
1274 _resultobj
= t_output_helper(_resultobj
, o
);
1279 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1280 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
* _resultobj
;
1284 PyObject
* _argo0
= 0;
1285 char *_kwnames
[] = { "self", NULL
};
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1299 wxPy_BEGIN_ALLOW_THREADS
;
1300 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1302 wxPy_END_ALLOW_THREADS
;
1303 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1304 _resultobj
= Py_BuildValue("s",_ptemp
);
1308 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1309 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1313 PyObject
* _argo0
= 0;
1314 char *_kwnames
[] = { "self", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1331 wxPy_END_ALLOW_THREADS
;
1332 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1333 _resultobj
= Py_BuildValue("s",_ptemp
);
1337 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1338 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1343 PyObject
* _argo0
= 0;
1344 char *_kwnames
[] = { "self","orientation", NULL
};
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
1350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1357 wxPy_BEGIN_ALLOW_THREADS
;
1358 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1360 wxPy_END_ALLOW_THREADS
;
1361 } _resultobj
= Py_BuildValue("i",_result
);
1365 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1366 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1371 PyObject
* _argo0
= 0;
1372 char *_kwnames
[] = { "self","orientation", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1388 wxPy_END_ALLOW_THREADS
;
1389 } _resultobj
= Py_BuildValue("i",_result
);
1393 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1394 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1399 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "self","orientation", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1413 wxPy_BEGIN_ALLOW_THREADS
;
1414 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1416 wxPy_END_ALLOW_THREADS
;
1417 } _resultobj
= Py_BuildValue("i",_result
);
1421 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1422 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1429 PyObject
* _argo0
= 0;
1430 char *_kwnames
[] = { "self", NULL
};
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
1442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1449 wxPy_BEGIN_ALLOW_THREADS
;
1450 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1452 wxPy_END_ALLOW_THREADS
;
1453 } Py_INCREF(Py_None
);
1454 _resultobj
= Py_None
;
1457 o
= PyInt_FromLong((long) (*_arg1
));
1458 _resultobj
= t_output_helper(_resultobj
, o
);
1462 o
= PyInt_FromLong((long) (*_arg2
));
1463 _resultobj
= t_output_helper(_resultobj
, o
);
1468 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1469 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
* _resultobj
;
1473 PyObject
* _argo0
= 0;
1474 char *_kwnames
[] = { "self", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1488 wxPy_BEGIN_ALLOW_THREADS
;
1489 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1491 wxPy_END_ALLOW_THREADS
;
1492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1493 _resultobj
= Py_BuildValue("s",_ptemp
);
1497 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1498 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1506 PyObject
* _argo0
= 0;
1507 PyObject
* _obj1
= 0;
1508 char *_kwnames
[] = { "self","string", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1527 if (!PyString_Check(_obj1
)) {
1528 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1531 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1534 wxPy_BEGIN_ALLOW_THREADS
;
1535 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1537 wxPy_END_ALLOW_THREADS
;
1538 } Py_INCREF(Py_None
);
1539 _resultobj
= Py_None
;
1542 o
= PyInt_FromLong((long) (*_arg2
));
1543 _resultobj
= t_output_helper(_resultobj
, o
);
1547 o
= PyInt_FromLong((long) (*_arg3
));
1548 _resultobj
= t_output_helper(_resultobj
, o
);
1557 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1558 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
* _resultobj
;
1570 wxFont
* _arg6
= (wxFont
*) NULL
;
1571 PyObject
* _argo0
= 0;
1572 PyObject
* _obj1
= 0;
1573 PyObject
* _argo6
= 0;
1574 char *_kwnames
[] = { "self","string","font", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
1592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1599 if (!PyString_Check(_obj1
)) {
1600 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1603 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1606 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1613 wxPy_BEGIN_ALLOW_THREADS
;
1614 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1616 wxPy_END_ALLOW_THREADS
;
1617 } Py_INCREF(Py_None
);
1618 _resultobj
= Py_None
;
1621 o
= PyInt_FromLong((long) (*_arg2
));
1622 _resultobj
= t_output_helper(_resultobj
, o
);
1626 o
= PyInt_FromLong((long) (*_arg3
));
1627 _resultobj
= t_output_helper(_resultobj
, o
);
1631 o
= PyInt_FromLong((long) (*_arg4
));
1632 _resultobj
= t_output_helper(_resultobj
, o
);
1636 o
= PyInt_FromLong((long) (*_arg5
));
1637 _resultobj
= t_output_helper(_resultobj
, o
);
1646 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1647 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
* _resultobj
;
1651 PyObject
* _argo0
= 0;
1652 char *_kwnames
[] = { "self", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
1658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1665 wxPy_BEGIN_ALLOW_THREADS
;
1666 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1668 wxPy_END_ALLOW_THREADS
;
1670 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1678 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
1679 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1683 PyObject
* _argo0
= 0;
1684 char *_kwnames
[] = { "self", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
1701 wxPy_END_ALLOW_THREADS
;
1702 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
1703 _resultobj
= Py_BuildValue("s",_ptemp
);
1707 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1708 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1726 wxPy_BEGIN_ALLOW_THREADS
;
1727 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1729 wxPy_END_ALLOW_THREADS
;
1730 } _resultobj
= Py_BuildValue("l",_result
);
1734 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1735 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1739 PyObject
* _argo0
= 0;
1740 char *_kwnames
[] = { "self", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1753 wxPy_BEGIN_ALLOW_THREADS
;
1754 _result
= (bool )wxWindow_Hide(_arg0
);
1756 wxPy_END_ALLOW_THREADS
;
1757 } _resultobj
= Py_BuildValue("i",_result
);
1761 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1762 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1765 PyObject
* _argo0
= 0;
1766 char *_kwnames
[] = { "self", NULL
};
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
1772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1779 wxPy_BEGIN_ALLOW_THREADS
;
1780 wxWindow_InitDialog(_arg0
);
1782 wxPy_END_ALLOW_THREADS
;
1783 } Py_INCREF(Py_None
);
1784 _resultobj
= Py_None
;
1788 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1789 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1793 PyObject
* _argo0
= 0;
1794 char *_kwnames
[] = { "self", NULL
};
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
1800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1807 wxPy_BEGIN_ALLOW_THREADS
;
1808 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1810 wxPy_END_ALLOW_THREADS
;
1811 } _resultobj
= Py_BuildValue("i",_result
);
1815 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1816 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
* _resultobj
;
1820 PyObject
* _argo0
= 0;
1821 char *_kwnames
[] = { "self", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
1827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1834 wxPy_BEGIN_ALLOW_THREADS
;
1835 _result
= (bool )wxWindow_IsRetained(_arg0
);
1837 wxPy_END_ALLOW_THREADS
;
1838 } _resultobj
= Py_BuildValue("i",_result
);
1842 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1843 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1847 PyObject
* _argo0
= 0;
1848 char *_kwnames
[] = { "self", NULL
};
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
1854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1861 wxPy_BEGIN_ALLOW_THREADS
;
1862 _result
= (bool )wxWindow_IsShown(_arg0
);
1864 wxPy_END_ALLOW_THREADS
;
1865 } _resultobj
= Py_BuildValue("i",_result
);
1869 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1870 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1874 PyObject
* _argo0
= 0;
1875 char *_kwnames
[] = { "self", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1888 wxPy_BEGIN_ALLOW_THREADS
;
1889 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
1891 wxPy_END_ALLOW_THREADS
;
1892 } _resultobj
= Py_BuildValue("i",_result
);
1896 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1897 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1900 PyObject
* _argo0
= 0;
1901 char *_kwnames
[] = { "self", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
1907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1914 wxPy_BEGIN_ALLOW_THREADS
;
1915 wxWindow_Layout(_arg0
);
1917 wxPy_END_ALLOW_THREADS
;
1918 } Py_INCREF(Py_None
);
1919 _resultobj
= Py_None
;
1923 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1924 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
* _resultobj
;
1930 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
1931 PyObject
* _argo0
= 0;
1932 PyObject
* _argo1
= 0;
1933 PyObject
* _obj2
= 0;
1934 PyObject
* _argo3
= 0;
1935 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1955 if (!PyString_Check(_obj2
)) {
1956 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1959 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1962 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1963 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1969 wxPy_BEGIN_ALLOW_THREADS
;
1970 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1972 wxPy_END_ALLOW_THREADS
;
1973 } _resultobj
= Py_BuildValue("i",_result
);
1981 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1982 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1985 PyObject
* _argo0
= 0;
1986 char *_kwnames
[] = { "self", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1999 wxPy_BEGIN_ALLOW_THREADS
;
2000 wxWindow_Lower(_arg0
);
2002 wxPy_END_ALLOW_THREADS
;
2003 } Py_INCREF(Py_None
);
2004 _resultobj
= Py_None
;
2008 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2009 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
* _resultobj
;
2013 PyObject
* _argo0
= 0;
2015 char *_kwnames
[] = { "self","flag", NULL
};
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2027 _arg1
= (bool ) tempbool1
;
2029 wxPy_BEGIN_ALLOW_THREADS
;
2030 wxWindow_MakeModal(_arg0
,_arg1
);
2032 wxPy_END_ALLOW_THREADS
;
2033 } Py_INCREF(Py_None
);
2034 _resultobj
= Py_None
;
2038 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2039 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2044 PyObject
* _argo0
= 0;
2045 char *_kwnames
[] = { "self","x","y", NULL
};
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2058 wxPy_BEGIN_ALLOW_THREADS
;
2059 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2061 wxPy_END_ALLOW_THREADS
;
2062 } Py_INCREF(Py_None
);
2063 _resultobj
= Py_None
;
2067 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2068 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
* _resultobj
;
2072 PyObject
* _argo0
= 0;
2073 PyObject
* _argo1
= 0;
2074 char *_kwnames
[] = { "self","point", NULL
};
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_argo1
))
2080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2087 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2088 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
2094 wxPy_BEGIN_ALLOW_THREADS
;
2095 wxWindow_Move(_arg0
,*_arg1
);
2097 wxPy_END_ALLOW_THREADS
;
2098 } Py_INCREF(Py_None
);
2099 _resultobj
= Py_None
;
2103 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2104 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
* _resultobj
;
2106 wxEvtHandler
* _result
;
2108 bool _arg1
= (bool ) FALSE
;
2109 PyObject
* _argo0
= 0;
2110 int tempbool1
= (int) FALSE
;
2111 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2124 _arg1
= (bool ) tempbool1
;
2126 wxPy_BEGIN_ALLOW_THREADS
;
2127 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2129 wxPy_END_ALLOW_THREADS
;
2131 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2132 _resultobj
= Py_BuildValue("s",_ptemp
);
2135 _resultobj
= Py_None
;
2140 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2141 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2144 wxEvtHandler
* _arg1
;
2145 PyObject
* _argo0
= 0;
2146 PyObject
* _argo1
= 0;
2147 char *_kwnames
[] = { "self","handler", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2160 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 wxWindow_PushEventHandler(_arg0
,_arg1
);
2170 wxPy_END_ALLOW_THREADS
;
2171 } Py_INCREF(Py_None
);
2172 _resultobj
= Py_None
;
2176 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2177 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2184 PyObject
* _argo0
= 0;
2185 PyObject
* _argo1
= 0;
2186 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2209 wxPy_END_ALLOW_THREADS
;
2210 } _resultobj
= Py_BuildValue("i",_result
);
2214 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2215 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2221 PyObject
* _argo0
= 0;
2222 PyObject
* _argo1
= 0;
2223 PyObject
* _argo2
= 0;
2224 char *_kwnames
[] = { "self","menu","pos", NULL
};
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2244 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2245 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
2246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_PopupMenu. Expected _wxPoint_p.");
2251 wxPy_BEGIN_ALLOW_THREADS
;
2252 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2254 wxPy_END_ALLOW_THREADS
;
2255 } _resultobj
= Py_BuildValue("i",_result
);
2259 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2260 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
* _resultobj
;
2263 PyObject
* _argo0
= 0;
2264 char *_kwnames
[] = { "self", NULL
};
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2277 wxPy_BEGIN_ALLOW_THREADS
;
2278 wxWindow_Raise(_arg0
);
2280 wxPy_END_ALLOW_THREADS
;
2281 } Py_INCREF(Py_None
);
2282 _resultobj
= Py_None
;
2286 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2287 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
* _resultobj
;
2290 bool _arg1
= (bool ) TRUE
;
2291 wxRect
* _arg2
= (wxRect
*) NULL
;
2292 PyObject
* _argo0
= 0;
2293 int tempbool1
= (int) TRUE
;
2294 PyObject
* _argo2
= 0;
2295 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2307 _arg1
= (bool ) tempbool1
;
2309 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2310 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxRect_p")) {
2311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
2316 wxPy_BEGIN_ALLOW_THREADS
;
2317 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2319 wxPy_END_ALLOW_THREADS
;
2320 } Py_INCREF(Py_None
);
2321 _resultobj
= Py_None
;
2325 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2326 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
* _resultobj
;
2329 PyObject
* _argo0
= 0;
2330 char *_kwnames
[] = { "self", NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
2336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2343 wxPy_BEGIN_ALLOW_THREADS
;
2344 wxWindow_ReleaseMouse(_arg0
);
2346 wxPy_END_ALLOW_THREADS
;
2347 } Py_INCREF(Py_None
);
2348 _resultobj
= Py_None
;
2352 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2353 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
* _resultobj
;
2358 PyObject
* _argo0
= 0;
2359 PyObject
* _argo1
= 0;
2360 char *_kwnames
[] = { "self","newParent", NULL
};
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
2366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2380 wxPy_BEGIN_ALLOW_THREADS
;
2381 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2383 wxPy_END_ALLOW_THREADS
;
2384 } _resultobj
= Py_BuildValue("i",_result
);
2388 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2389 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2394 PyObject
* _argo0
= 0;
2396 PyObject
* _obj1
= 0;
2398 PyObject
* _obj2
= 0;
2399 char *_kwnames
[] = { "self","x","y", NULL
};
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2412 temp
= (int) PyInt_AsLong(_obj1
);
2416 temp0
= (int) PyInt_AsLong(_obj2
);
2420 wxPy_BEGIN_ALLOW_THREADS
;
2421 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2423 wxPy_END_ALLOW_THREADS
;
2424 } Py_INCREF(Py_None
);
2425 _resultobj
= Py_None
;
2428 o
= PyInt_FromLong((long) (*_arg1
));
2429 _resultobj
= t_output_helper(_resultobj
, o
);
2433 o
= PyInt_FromLong((long) (*_arg2
));
2434 _resultobj
= t_output_helper(_resultobj
, o
);
2439 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2440 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2445 PyObject
* _argo0
= 0;
2446 PyObject
* _argo1
= 0;
2447 char *_kwnames
[] = { "self","pt", NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_argo1
))
2454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2461 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2468 wxPy_BEGIN_ALLOW_THREADS
;
2469 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2471 wxPy_END_ALLOW_THREADS
;
2472 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2473 _resultobj
= Py_BuildValue("s",_ptemp
);
2477 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2478 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
* _resultobj
;
2483 wxRect
* _arg3
= (wxRect
*) NULL
;
2484 PyObject
* _argo0
= 0;
2485 PyObject
* _argo3
= 0;
2486 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2499 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2500 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxRect_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2506 wxPy_BEGIN_ALLOW_THREADS
;
2507 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2509 wxPy_END_ALLOW_THREADS
;
2510 } Py_INCREF(Py_None
);
2511 _resultobj
= Py_None
;
2515 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2516 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
* _resultobj
;
2519 wxAcceleratorTable
* _arg1
;
2520 PyObject
* _argo0
= 0;
2521 PyObject
* _argo1
= 0;
2522 char *_kwnames
[] = { "self","accel", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
2537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2542 wxPy_BEGIN_ALLOW_THREADS
;
2543 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
2545 wxPy_END_ALLOW_THREADS
;
2546 } Py_INCREF(Py_None
);
2547 _resultobj
= Py_None
;
2551 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2552 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2556 PyObject
* _argo0
= 0;
2558 char *_kwnames
[] = { "self","autoLayout", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2570 _arg1
= (bool ) tempbool1
;
2572 wxPy_BEGIN_ALLOW_THREADS
;
2573 wxWindow_SetAutoLayout(_arg0
,_arg1
);
2575 wxPy_END_ALLOW_THREADS
;
2576 } Py_INCREF(Py_None
);
2577 _resultobj
= Py_None
;
2581 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2582 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2586 PyObject
* _argo0
= 0;
2587 PyObject
* _argo1
= 0;
2588 char *_kwnames
[] = { "self","colour", NULL
};
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2601 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2608 wxPy_BEGIN_ALLOW_THREADS
;
2609 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
2611 wxPy_END_ALLOW_THREADS
;
2612 } Py_INCREF(Py_None
);
2613 _resultobj
= Py_None
;
2617 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2618 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2621 wxLayoutConstraints
* _arg1
;
2622 PyObject
* _argo0
= 0;
2623 PyObject
* _argo1
= 0;
2624 char *_kwnames
[] = { "self","constraints", NULL
};
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
2630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2637 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2644 wxPy_BEGIN_ALLOW_THREADS
;
2645 wxWindow_SetConstraints(_arg0
,_arg1
);
2647 wxPy_END_ALLOW_THREADS
;
2648 } Py_INCREF(Py_None
);
2649 _resultobj
= Py_None
;
2653 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2654 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
* _resultobj
;
2657 PyObject
* _argo0
= 0;
2658 char *_kwnames
[] = { "self", NULL
};
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
2664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2671 wxPy_BEGIN_ALLOW_THREADS
;
2672 wxWindow_SetFocus(_arg0
);
2674 wxPy_END_ALLOW_THREADS
;
2675 } Py_INCREF(Py_None
);
2676 _resultobj
= Py_None
;
2680 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2681 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2685 PyObject
* _argo0
= 0;
2686 PyObject
* _argo1
= 0;
2687 char *_kwnames
[] = { "self","font", NULL
};
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
2693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2700 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2707 wxPy_BEGIN_ALLOW_THREADS
;
2708 wxWindow_SetFont(_arg0
,*_arg1
);
2710 wxPy_END_ALLOW_THREADS
;
2711 } Py_INCREF(Py_None
);
2712 _resultobj
= Py_None
;
2716 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2717 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2721 PyObject
* _argo0
= 0;
2722 PyObject
* _argo1
= 0;
2723 char *_kwnames
[] = { "self","colour", NULL
};
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
2729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2743 wxPy_BEGIN_ALLOW_THREADS
;
2744 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2746 wxPy_END_ALLOW_THREADS
;
2747 } Py_INCREF(Py_None
);
2748 _resultobj
= Py_None
;
2752 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2753 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
* _resultobj
;
2757 PyObject
* _argo0
= 0;
2758 char *_kwnames
[] = { "self","id", NULL
};
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
2764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2771 wxPy_BEGIN_ALLOW_THREADS
;
2772 wxWindow_SetId(_arg0
,_arg1
);
2774 wxPy_END_ALLOW_THREADS
;
2775 } Py_INCREF(Py_None
);
2776 _resultobj
= Py_None
;
2780 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2781 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2785 PyObject
* _argo0
= 0;
2786 PyObject
* _obj1
= 0;
2787 char *_kwnames
[] = { "self","name", NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
2793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2800 if (!PyString_Check(_obj1
)) {
2801 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2804 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2807 wxPy_BEGIN_ALLOW_THREADS
;
2808 wxWindow_SetName(_arg0
,*_arg1
);
2810 wxPy_END_ALLOW_THREADS
;
2811 } Py_INCREF(Py_None
);
2812 _resultobj
= Py_None
;
2820 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2821 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
* _resultobj
;
2828 bool _arg5
= (bool ) TRUE
;
2829 PyObject
* _argo0
= 0;
2830 int tempbool5
= (int) TRUE
;
2831 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2843 _arg5
= (bool ) tempbool5
;
2845 wxPy_BEGIN_ALLOW_THREADS
;
2846 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2848 wxPy_END_ALLOW_THREADS
;
2849 } Py_INCREF(Py_None
);
2850 _resultobj
= Py_None
;
2854 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2855 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
* _resultobj
;
2860 bool _arg3
= (bool ) TRUE
;
2861 PyObject
* _argo0
= 0;
2862 int tempbool3
= (int) TRUE
;
2863 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2875 _arg3
= (bool ) tempbool3
;
2877 wxPy_BEGIN_ALLOW_THREADS
;
2878 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2880 wxPy_END_ALLOW_THREADS
;
2881 } Py_INCREF(Py_None
);
2882 _resultobj
= Py_None
;
2886 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2887 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2894 int _arg5
= (int ) wxSIZE_AUTO
;
2895 PyObject
* _argo0
= 0;
2896 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2909 wxPy_BEGIN_ALLOW_THREADS
;
2910 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2912 wxPy_END_ALLOW_THREADS
;
2913 } Py_INCREF(Py_None
);
2914 _resultobj
= Py_None
;
2918 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2919 self
->SetSize(size
.x
, size
.y
);
2921 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2925 PyObject
* _argo0
= 0;
2926 PyObject
* _argo1
= 0;
2927 char *_kwnames
[] = { "self","size", NULL
};
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_argo1
))
2933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
2942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2947 wxPy_BEGIN_ALLOW_THREADS
;
2948 wxWindow_SetSize(_arg0
,*_arg1
);
2950 wxPy_END_ALLOW_THREADS
;
2951 } Py_INCREF(Py_None
);
2952 _resultobj
= Py_None
;
2956 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2957 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2959 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
* _resultobj
;
2963 PyObject
* _argo0
= 0;
2964 PyObject
* _argo1
= 0;
2965 char *_kwnames
[] = { "self","pos", NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_argo1
))
2971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2985 wxPy_BEGIN_ALLOW_THREADS
;
2986 wxWindow_SetPosition(_arg0
,*_arg1
);
2988 wxPy_END_ALLOW_THREADS
;
2989 } Py_INCREF(Py_None
);
2990 _resultobj
= Py_None
;
2994 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2995 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
* _resultobj
;
2998 int _arg1
= (int ) -1;
2999 int _arg2
= (int ) -1;
3000 int _arg3
= (int ) -1;
3001 int _arg4
= (int ) -1;
3002 int _arg5
= (int ) -1;
3003 int _arg6
= (int ) -1;
3004 PyObject
* _argo0
= 0;
3005 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3018 wxPy_BEGIN_ALLOW_THREADS
;
3019 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3021 wxPy_END_ALLOW_THREADS
;
3022 } Py_INCREF(Py_None
);
3023 _resultobj
= Py_None
;
3027 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3028 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
* _resultobj
;
3033 PyObject
* _argo0
= 0;
3034 char *_kwnames
[] = { "self","width","height", NULL
};
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3047 wxPy_BEGIN_ALLOW_THREADS
;
3048 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3050 wxPy_END_ALLOW_THREADS
;
3051 } Py_INCREF(Py_None
);
3052 _resultobj
= Py_None
;
3056 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3057 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
* _resultobj
;
3061 PyObject
* _argo0
= 0;
3062 PyObject
* _argo1
= 0;
3063 char *_kwnames
[] = { "self","size", NULL
};
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_argo1
))
3069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3076 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
3083 wxPy_BEGIN_ALLOW_THREADS
;
3084 wxWindow_SetClientSize(_arg0
,*_arg1
);
3086 wxPy_END_ALLOW_THREADS
;
3087 } Py_INCREF(Py_None
);
3088 _resultobj
= Py_None
;
3092 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3093 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
* _resultobj
;
3097 PyObject
* _argo0
= 0;
3098 PyObject
* _argo1
= 0;
3099 char *_kwnames
[] = { "self","cursor", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3112 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3113 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3119 wxPy_BEGIN_ALLOW_THREADS
;
3120 wxWindow_SetCursor(_arg0
,*_arg1
);
3122 wxPy_END_ALLOW_THREADS
;
3123 } Py_INCREF(Py_None
);
3124 _resultobj
= Py_None
;
3128 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3129 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
* _resultobj
;
3132 wxEvtHandler
* _arg1
;
3133 PyObject
* _argo0
= 0;
3134 PyObject
* _argo1
= 0;
3135 char *_kwnames
[] = { "self","handler", NULL
};
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3155 wxPy_BEGIN_ALLOW_THREADS
;
3156 wxWindow_SetEventHandler(_arg0
,_arg1
);
3158 wxPy_END_ALLOW_THREADS
;
3159 } Py_INCREF(Py_None
);
3160 _resultobj
= Py_None
;
3164 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3165 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3169 PyObject
* _argo0
= 0;
3170 PyObject
* _obj1
= 0;
3171 char *_kwnames
[] = { "self","title", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3184 if (!PyString_Check(_obj1
)) {
3185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3188 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3191 wxPy_BEGIN_ALLOW_THREADS
;
3192 wxWindow_SetTitle(_arg0
,*_arg1
);
3194 wxPy_END_ALLOW_THREADS
;
3195 } Py_INCREF(Py_None
);
3196 _resultobj
= Py_None
;
3204 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3205 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3210 PyObject
* _argo0
= 0;
3212 char *_kwnames
[] = { "self","show", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3224 _arg1
= (bool ) tempbool1
;
3226 wxPy_BEGIN_ALLOW_THREADS
;
3227 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3229 wxPy_END_ALLOW_THREADS
;
3230 } _resultobj
= Py_BuildValue("i",_result
);
3234 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3235 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3239 PyObject
* _argo0
= 0;
3240 char *_kwnames
[] = { "self", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3253 wxPy_BEGIN_ALLOW_THREADS
;
3254 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3256 wxPy_END_ALLOW_THREADS
;
3257 } _resultobj
= Py_BuildValue("i",_result
);
3261 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3262 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
* _resultobj
;
3266 PyObject
* _argo0
= 0;
3267 char *_kwnames
[] = { "self", NULL
};
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
3273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3280 wxPy_BEGIN_ALLOW_THREADS
;
3281 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3283 wxPy_END_ALLOW_THREADS
;
3284 } _resultobj
= Py_BuildValue("i",_result
);
3288 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3289 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
* _resultobj
;
3293 PyObject
* _argo0
= 0;
3294 char *_kwnames
[] = { "self", NULL
};
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
3300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3307 wxPy_BEGIN_ALLOW_THREADS
;
3308 _result
= (bool )wxWindow_Validate(_arg0
);
3310 wxPy_END_ALLOW_THREADS
;
3311 } _resultobj
= Py_BuildValue("i",_result
);
3315 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3316 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3321 PyObject
* _argo0
= 0;
3322 char *_kwnames
[] = { "self","x","y", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3335 wxPy_BEGIN_ALLOW_THREADS
;
3336 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
3338 wxPy_END_ALLOW_THREADS
;
3339 } Py_INCREF(Py_None
);
3340 _resultobj
= Py_None
;
3344 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3345 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
* _resultobj
;
3350 PyObject
* _argo0
= 0;
3351 PyObject
* _argo1
= 0;
3352 char *_kwnames
[] = { "self","pt", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_argo1
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
3373 wxPy_BEGIN_ALLOW_THREADS
;
3374 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
3376 wxPy_END_ALLOW_THREADS
;
3377 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3378 _resultobj
= Py_BuildValue("s",_ptemp
);
3382 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3383 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3388 PyObject
* _argo0
= 0;
3389 PyObject
* _argo1
= 0;
3390 char *_kwnames
[] = { "self","sz", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_argo1
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
3404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
3411 wxPy_BEGIN_ALLOW_THREADS
;
3412 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
3414 wxPy_END_ALLOW_THREADS
;
3415 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3416 _resultobj
= Py_BuildValue("s",_ptemp
);
3420 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3421 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3426 PyObject
* _argo0
= 0;
3427 PyObject
* _argo1
= 0;
3428 char *_kwnames
[] = { "self","pt", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_argo1
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
3442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
3449 wxPy_BEGIN_ALLOW_THREADS
;
3450 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
3452 wxPy_END_ALLOW_THREADS
;
3453 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3454 _resultobj
= Py_BuildValue("s",_ptemp
);
3458 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3459 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3464 PyObject
* _argo0
= 0;
3465 PyObject
* _argo1
= 0;
3466 char *_kwnames
[] = { "self","sz", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_argo1
))
3473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
3480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3487 wxPy_BEGIN_ALLOW_THREADS
;
3488 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
3490 wxPy_END_ALLOW_THREADS
;
3491 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3492 _resultobj
= Py_BuildValue("s",_ptemp
);
3496 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3497 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
* _resultobj
;
3501 PyObject
* _argo0
= 0;
3502 PyObject
* _obj1
= 0;
3503 char *_kwnames
[] = { "self","tip", NULL
};
3506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
3509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3516 if (!PyString_Check(_obj1
)) {
3517 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3520 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3523 wxPy_BEGIN_ALLOW_THREADS
;
3524 wxWindow_SetToolTipString(_arg0
,*_arg1
);
3526 wxPy_END_ALLOW_THREADS
;
3527 } Py_INCREF(Py_None
);
3528 _resultobj
= Py_None
;
3536 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3537 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3541 PyObject
* _argo0
= 0;
3542 PyObject
* _argo1
= 0;
3543 char *_kwnames
[] = { "self","tooltip", NULL
};
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
3549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3563 wxPy_BEGIN_ALLOW_THREADS
;
3564 wxWindow_SetToolTip(_arg0
,_arg1
);
3566 wxPy_END_ALLOW_THREADS
;
3567 } Py_INCREF(Py_None
);
3568 _resultobj
= Py_None
;
3572 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3573 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
* _resultobj
;
3575 wxToolTip
* _result
;
3577 PyObject
* _argo0
= 0;
3578 char *_kwnames
[] = { "self", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
3585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3592 wxPy_BEGIN_ALLOW_THREADS
;
3593 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
3595 wxPy_END_ALLOW_THREADS
;
3597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
3598 _resultobj
= Py_BuildValue("s",_ptemp
);
3601 _resultobj
= Py_None
;
3606 static void *SwigwxPanelTowxWindow(void *ptr
) {
3609 src
= (wxPanel
*) ptr
;
3610 dest
= (wxWindow
*) src
;
3611 return (void *) dest
;
3614 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
3617 src
= (wxPanel
*) ptr
;
3618 dest
= (wxEvtHandler
*) src
;
3619 return (void *) dest
;
3622 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3623 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
* _resultobj
;
3628 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3629 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3630 long _arg4
= (long ) wxTAB_TRAVERSAL
;
3631 char * _arg5
= (char *) "panel";
3632 PyObject
* _argo0
= 0;
3633 PyObject
* _argo2
= 0;
3634 PyObject
* _argo3
= 0;
3635 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3649 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3656 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3657 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3663 wxPy_BEGIN_ALLOW_THREADS
;
3664 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3666 wxPy_END_ALLOW_THREADS
;
3668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
3669 _resultobj
= Py_BuildValue("s",_ptemp
);
3672 _resultobj
= Py_None
;
3677 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3678 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
* _resultobj
;
3681 PyObject
* _argo0
= 0;
3682 char *_kwnames
[] = { "self", NULL
};
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
3688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3695 wxPy_BEGIN_ALLOW_THREADS
;
3696 wxPanel_InitDialog(_arg0
);
3698 wxPy_END_ALLOW_THREADS
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3704 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3705 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3709 PyObject
* _argo0
= 0;
3710 char *_kwnames
[] = { "self", NULL
};
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
3717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3724 wxPy_BEGIN_ALLOW_THREADS
;
3725 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
3727 wxPy_END_ALLOW_THREADS
;
3729 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
3730 _resultobj
= Py_BuildValue("s",_ptemp
);
3733 _resultobj
= Py_None
;
3738 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3739 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
* _resultobj
;
3743 PyObject
* _argo0
= 0;
3744 PyObject
* _argo1
= 0;
3745 char *_kwnames
[] = { "self","btn", NULL
};
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
3751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3758 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3765 wxPy_BEGIN_ALLOW_THREADS
;
3766 wxPanel_SetDefaultItem(_arg0
,_arg1
);
3768 wxPy_END_ALLOW_THREADS
;
3769 } Py_INCREF(Py_None
);
3770 _resultobj
= Py_None
;
3774 static void *SwigwxDialogTowxPanel(void *ptr
) {
3777 src
= (wxDialog
*) ptr
;
3778 dest
= (wxPanel
*) src
;
3779 return (void *) dest
;
3782 static void *SwigwxDialogTowxWindow(void *ptr
) {
3785 src
= (wxDialog
*) ptr
;
3786 dest
= (wxWindow
*) src
;
3787 return (void *) dest
;
3790 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
3793 src
= (wxDialog
*) ptr
;
3794 dest
= (wxEvtHandler
*) src
;
3795 return (void *) dest
;
3798 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3799 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
* _resultobj
;
3805 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
3806 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
3807 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
3808 char * _arg6
= (char *) "dialogBox";
3809 PyObject
* _argo0
= 0;
3810 PyObject
* _obj2
= 0;
3811 PyObject
* _argo3
= 0;
3812 PyObject
* _argo4
= 0;
3813 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3827 if (!PyString_Check(_obj2
)) {
3828 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3831 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3834 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3835 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
3836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3841 if (_argo4
== Py_None
) { _arg4
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3848 wxPy_BEGIN_ALLOW_THREADS
;
3849 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3851 wxPy_END_ALLOW_THREADS
;
3853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3854 _resultobj
= Py_BuildValue("s",_ptemp
);
3857 _resultobj
= Py_None
;
3866 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3867 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3870 int _arg1
= (int ) wxBOTH
;
3871 PyObject
* _argo0
= 0;
3872 char *_kwnames
[] = { "self","direction", NULL
};
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
3878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3885 wxPy_BEGIN_ALLOW_THREADS
;
3886 wxDialog_Centre(_arg0
,_arg1
);
3888 wxPy_END_ALLOW_THREADS
;
3889 } Py_INCREF(Py_None
);
3890 _resultobj
= Py_None
;
3894 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3895 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
* _resultobj
;
3899 PyObject
* _argo0
= 0;
3900 char *_kwnames
[] = { "self","retCode", NULL
};
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
3906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3913 wxPy_BEGIN_ALLOW_THREADS
;
3914 wxDialog_EndModal(_arg0
,_arg1
);
3916 wxPy_END_ALLOW_THREADS
;
3917 } Py_INCREF(Py_None
);
3918 _resultobj
= Py_None
;
3922 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3923 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
* _resultobj
;
3927 PyObject
* _argo0
= 0;
3928 char *_kwnames
[] = { "self", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3941 wxPy_BEGIN_ALLOW_THREADS
;
3942 _result
= new wxString (wxDialog_GetTitle(_arg0
));
3944 wxPy_END_ALLOW_THREADS
;
3946 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3954 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3955 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
* _resultobj
;
3959 PyObject
* _argo0
= 0;
3961 char *_kwnames
[] = { "self","iconize", NULL
};
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
3967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3973 _arg1
= (bool ) tempbool1
;
3975 wxPy_BEGIN_ALLOW_THREADS
;
3976 wxDialog_Iconize(_arg0
,_arg1
);
3978 wxPy_END_ALLOW_THREADS
;
3979 } Py_INCREF(Py_None
);
3980 _resultobj
= Py_None
;
3984 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3985 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
* _resultobj
;
3989 PyObject
* _argo0
= 0;
3990 char *_kwnames
[] = { "self", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
3996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4003 wxPy_BEGIN_ALLOW_THREADS
;
4004 _result
= (bool )wxDialog_IsIconized(_arg0
);
4006 wxPy_END_ALLOW_THREADS
;
4007 } _resultobj
= Py_BuildValue("i",_result
);
4011 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4012 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
* _resultobj
;
4016 PyObject
* _argo0
= 0;
4018 char *_kwnames
[] = { "self","flag", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4030 _arg1
= (bool ) tempbool1
;
4032 wxPy_BEGIN_ALLOW_THREADS
;
4033 wxDialog_SetModal(_arg0
,_arg1
);
4035 wxPy_END_ALLOW_THREADS
;
4036 } Py_INCREF(Py_None
);
4037 _resultobj
= Py_None
;
4041 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4042 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
* _resultobj
;
4046 PyObject
* _argo0
= 0;
4047 char *_kwnames
[] = { "self", NULL
};
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
4053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
4060 wxPy_BEGIN_ALLOW_THREADS
;
4061 _result
= (bool )wxDialog_IsModal(_arg0
);
4063 wxPy_END_ALLOW_THREADS
;
4064 } _resultobj
= Py_BuildValue("i",_result
);
4068 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4069 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4073 PyObject
* _argo0
= 0;
4074 PyObject
* _obj1
= 0;
4075 char *_kwnames
[] = { "self","title", NULL
};
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4088 if (!PyString_Check(_obj1
)) {
4089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4092 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4095 wxPy_BEGIN_ALLOW_THREADS
;
4096 wxDialog_SetTitle(_arg0
,*_arg1
);
4098 wxPy_END_ALLOW_THREADS
;
4099 } Py_INCREF(Py_None
);
4100 _resultobj
= Py_None
;
4108 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4109 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4114 PyObject
* _argo0
= 0;
4116 char *_kwnames
[] = { "self","show", NULL
};
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
4122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
4128 _arg1
= (bool ) tempbool1
;
4130 wxPy_BEGIN_ALLOW_THREADS
;
4131 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
4133 wxPy_END_ALLOW_THREADS
;
4134 } _resultobj
= Py_BuildValue("i",_result
);
4138 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4139 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4143 PyObject
* _argo0
= 0;
4144 char *_kwnames
[] = { "self", NULL
};
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
4150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
4157 wxPy_BEGIN_ALLOW_THREADS
;
4158 _result
= (int )wxDialog_ShowModal(_arg0
);
4160 wxPy_END_ALLOW_THREADS
;
4161 } _resultobj
= Py_BuildValue("i",_result
);
4165 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
4166 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
* _resultobj
;
4170 PyObject
* _argo0
= 0;
4171 char *_kwnames
[] = { "self", NULL
};
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
4177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
4184 wxPy_BEGIN_ALLOW_THREADS
;
4185 _result
= (int )wxDialog_GetReturnCode(_arg0
);
4187 wxPy_END_ALLOW_THREADS
;
4188 } _resultobj
= Py_BuildValue("i",_result
);
4192 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
4193 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
* _resultobj
;
4197 PyObject
* _argo0
= 0;
4198 char *_kwnames
[] = { "self","retCode", NULL
};
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
4204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
4211 wxPy_BEGIN_ALLOW_THREADS
;
4212 wxDialog_SetReturnCode(_arg0
,_arg1
);
4214 wxPy_END_ALLOW_THREADS
;
4215 } Py_INCREF(Py_None
);
4216 _resultobj
= Py_None
;
4220 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
4221 wxScrolledWindow
*src
;
4223 src
= (wxScrolledWindow
*) ptr
;
4224 dest
= (wxPanel
*) src
;
4225 return (void *) dest
;
4228 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
4229 wxScrolledWindow
*src
;
4231 src
= (wxScrolledWindow
*) ptr
;
4232 dest
= (wxWindow
*) src
;
4233 return (void *) dest
;
4236 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
4237 wxScrolledWindow
*src
;
4239 src
= (wxScrolledWindow
*) ptr
;
4240 dest
= (wxEvtHandler
*) src
;
4241 return (void *) dest
;
4244 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4245 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4247 wxScrolledWindow
* _result
;
4249 wxWindowID _arg1
= (wxWindowID
) -1;
4250 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4251 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4252 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
4253 char * _arg5
= (char *) "scrolledWindow";
4254 PyObject
* _argo0
= 0;
4255 PyObject
* _argo2
= 0;
4256 PyObject
* _argo3
= 0;
4257 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
4264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
4271 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4272 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
4273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
4278 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4279 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
4280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
4285 wxPy_BEGIN_ALLOW_THREADS
;
4286 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4288 wxPy_END_ALLOW_THREADS
;
4290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
4291 _resultobj
= Py_BuildValue("s",_ptemp
);
4294 _resultobj
= Py_None
;
4299 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
4300 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4302 wxScrolledWindow
* _arg0
;
4305 PyObject
* _argo0
= 0;
4308 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
4314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
4320 _arg1
= (bool ) tempbool1
;
4321 _arg2
= (bool ) tempbool2
;
4323 wxPy_BEGIN_ALLOW_THREADS
;
4324 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
4326 wxPy_END_ALLOW_THREADS
;
4327 } Py_INCREF(Py_None
);
4328 _resultobj
= Py_None
;
4332 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
4333 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4335 wxScrolledWindow
* _arg0
;
4340 PyObject
* _argo0
= 0;
4341 char *_kwnames
[] = { "self", NULL
};
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
4353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
4360 wxPy_BEGIN_ALLOW_THREADS
;
4361 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
4363 wxPy_END_ALLOW_THREADS
;
4364 } Py_INCREF(Py_None
);
4365 _resultobj
= Py_None
;
4368 o
= PyInt_FromLong((long) (*_arg1
));
4369 _resultobj
= t_output_helper(_resultobj
, o
);
4373 o
= PyInt_FromLong((long) (*_arg2
));
4374 _resultobj
= t_output_helper(_resultobj
, o
);
4379 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4380 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
* _resultobj
;
4382 wxScrolledWindow
* _arg0
;
4387 PyObject
* _argo0
= 0;
4388 char *_kwnames
[] = { "self", NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
4400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
4407 wxPy_BEGIN_ALLOW_THREADS
;
4408 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
4410 wxPy_END_ALLOW_THREADS
;
4411 } Py_INCREF(Py_None
);
4412 _resultobj
= Py_None
;
4415 o
= PyInt_FromLong((long) (*_arg1
));
4416 _resultobj
= t_output_helper(_resultobj
, o
);
4420 o
= PyInt_FromLong((long) (*_arg2
));
4421 _resultobj
= t_output_helper(_resultobj
, o
);
4426 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
4427 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4430 wxScrolledWindow
* _arg0
;
4431 PyObject
* _argo0
= 0;
4432 char *_kwnames
[] = { "self", NULL
};
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
4438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
4445 wxPy_BEGIN_ALLOW_THREADS
;
4446 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
4448 wxPy_END_ALLOW_THREADS
;
4449 } _resultobj
= Py_BuildValue("i",_result
);
4453 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
4454 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
* _resultobj
;
4456 wxScrolledWindow
* _arg0
;
4458 PyObject
* _argo0
= 0;
4459 PyObject
* _argo1
= 0;
4460 char *_kwnames
[] = { "self","dc", NULL
};
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
4466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
4473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
4480 wxPy_BEGIN_ALLOW_THREADS
;
4481 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
4483 wxPy_END_ALLOW_THREADS
;
4484 } Py_INCREF(Py_None
);
4485 _resultobj
= Py_None
;
4489 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
4490 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
* _resultobj
;
4492 wxScrolledWindow
* _arg0
;
4495 PyObject
* _argo0
= 0;
4496 char *_kwnames
[] = { "self","x","y", NULL
};
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
4509 wxPy_BEGIN_ALLOW_THREADS
;
4510 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
4512 wxPy_END_ALLOW_THREADS
;
4513 } Py_INCREF(Py_None
);
4514 _resultobj
= Py_None
;
4518 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4519 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
* _resultobj
;
4521 wxScrolledWindow
* _arg0
;
4526 int _arg5
= (int ) 0;
4527 int _arg6
= (int ) 0;
4528 PyObject
* _argo0
= 0;
4529 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
4542 wxPy_BEGIN_ALLOW_THREADS
;
4543 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4545 wxPy_END_ALLOW_THREADS
;
4546 } Py_INCREF(Py_None
);
4547 _resultobj
= Py_None
;
4551 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
4552 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
* _resultobj
;
4554 wxScrolledWindow
* _arg0
;
4559 PyObject
* _argo0
= 0;
4560 char *_kwnames
[] = { "self", NULL
};
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
4572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
4579 wxPy_BEGIN_ALLOW_THREADS
;
4580 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
4582 wxPy_END_ALLOW_THREADS
;
4583 } Py_INCREF(Py_None
);
4584 _resultobj
= Py_None
;
4587 o
= PyInt_FromLong((long) (*_arg1
));
4588 _resultobj
= t_output_helper(_resultobj
, o
);
4592 o
= PyInt_FromLong((long) (*_arg2
));
4593 _resultobj
= t_output_helper(_resultobj
, o
);
4598 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
4601 src
= (wxMenu
*) ptr
;
4602 dest
= (wxEvtHandler
*) src
;
4603 return (void *) dest
;
4606 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
4607 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
* _resultobj
;
4610 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
4611 long _arg1
= (long ) 0;
4612 PyObject
* _obj0
= 0;
4613 char *_kwnames
[] = { "title","style", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
4621 if (!PyString_Check(_obj0
)) {
4622 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4625 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4628 wxPy_BEGIN_ALLOW_THREADS
;
4629 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
4631 wxPy_END_ALLOW_THREADS
;
4633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4634 _resultobj
= Py_BuildValue("s",_ptemp
);
4637 _resultobj
= Py_None
;
4646 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4647 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
* _resultobj
;
4652 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
4653 int _arg4
= (int ) FALSE
;
4654 PyObject
* _argo0
= 0;
4655 PyObject
* _obj2
= 0;
4656 PyObject
* _obj3
= 0;
4657 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
4663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4670 if (!PyString_Check(_obj2
)) {
4671 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4674 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4678 if (!PyString_Check(_obj3
)) {
4679 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4682 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4685 wxPy_BEGIN_ALLOW_THREADS
;
4686 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
4688 wxPy_END_ALLOW_THREADS
;
4689 } Py_INCREF(Py_None
);
4690 _resultobj
= Py_None
;
4702 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4703 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
* _resultobj
;
4709 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
4710 PyObject
* _argo0
= 0;
4711 PyObject
* _obj2
= 0;
4712 PyObject
* _argo3
= 0;
4713 PyObject
* _obj4
= 0;
4714 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
4720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4727 if (!PyString_Check(_obj2
)) {
4728 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4731 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4734 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4735 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
4736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4742 if (!PyString_Check(_obj4
)) {
4743 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4746 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
4749 wxPy_BEGIN_ALLOW_THREADS
;
4750 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
4752 wxPy_END_ALLOW_THREADS
;
4753 } Py_INCREF(Py_None
);
4754 _resultobj
= Py_None
;
4766 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
4767 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4771 PyObject
* _argo0
= 0;
4772 PyObject
* _argo1
= 0;
4773 char *_kwnames
[] = { "self","item", NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
4779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
4786 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4787 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
4788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
4793 wxPy_BEGIN_ALLOW_THREADS
;
4794 wxMenu_AppendItem(_arg0
,_arg1
);
4796 wxPy_END_ALLOW_THREADS
;
4797 } Py_INCREF(Py_None
);
4798 _resultobj
= Py_None
;
4802 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4803 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
* _resultobj
;
4806 PyObject
* _argo0
= 0;
4807 char *_kwnames
[] = { "self", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4820 wxPy_BEGIN_ALLOW_THREADS
;
4821 wxMenu_AppendSeparator(_arg0
);
4823 wxPy_END_ALLOW_THREADS
;
4824 } Py_INCREF(Py_None
);
4825 _resultobj
= Py_None
;
4829 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4830 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
* _resultobj
;
4833 PyObject
* _argo0
= 0;
4834 char *_kwnames
[] = { "self", NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
4840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4847 wxPy_BEGIN_ALLOW_THREADS
;
4848 wxMenu_Break(_arg0
);
4850 wxPy_END_ALLOW_THREADS
;
4851 } Py_INCREF(Py_None
);
4852 _resultobj
= Py_None
;
4856 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4857 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4862 PyObject
* _argo0
= 0;
4864 char *_kwnames
[] = { "self","id","flag", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4876 _arg2
= (bool ) tempbool2
;
4878 wxPy_BEGIN_ALLOW_THREADS
;
4879 wxMenu_Check(_arg0
,_arg1
,_arg2
);
4881 wxPy_END_ALLOW_THREADS
;
4882 } Py_INCREF(Py_None
);
4883 _resultobj
= Py_None
;
4887 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4888 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
* _resultobj
;
4893 PyObject
* _argo0
= 0;
4895 char *_kwnames
[] = { "self","id","enable", NULL
};
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4907 _arg2
= (bool ) tempbool2
;
4909 wxPy_BEGIN_ALLOW_THREADS
;
4910 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
4912 wxPy_END_ALLOW_THREADS
;
4913 } Py_INCREF(Py_None
);
4914 _resultobj
= Py_None
;
4918 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4919 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
* _resultobj
;
4924 PyObject
* _argo0
= 0;
4925 PyObject
* _obj1
= 0;
4926 char *_kwnames
[] = { "self","itemString", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
4932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4939 if (!PyString_Check(_obj1
)) {
4940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4943 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4946 wxPy_BEGIN_ALLOW_THREADS
;
4947 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
4949 wxPy_END_ALLOW_THREADS
;
4950 } _resultobj
= Py_BuildValue("i",_result
);
4958 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4959 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4963 PyObject
* _argo0
= 0;
4964 char *_kwnames
[] = { "self", NULL
};
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
4970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4977 wxPy_BEGIN_ALLOW_THREADS
;
4978 _result
= new wxString (wxMenu_GetTitle(_arg0
));
4980 wxPy_END_ALLOW_THREADS
;
4982 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4990 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4991 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4995 PyObject
* _argo0
= 0;
4996 PyObject
* _obj1
= 0;
4997 char *_kwnames
[] = { "self","title", NULL
};
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
5010 if (!PyString_Check(_obj1
)) {
5011 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5014 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5017 wxPy_BEGIN_ALLOW_THREADS
;
5018 wxMenu_SetTitle(_arg0
,*_arg1
);
5020 wxPy_END_ALLOW_THREADS
;
5021 } Py_INCREF(Py_None
);
5022 _resultobj
= Py_None
;
5030 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5031 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5033 wxMenuItem
* _result
;
5036 PyObject
* _argo0
= 0;
5037 char *_kwnames
[] = { "self","id", NULL
};
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
5044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
5051 wxPy_BEGIN_ALLOW_THREADS
;
5052 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
5054 wxPy_END_ALLOW_THREADS
;
5056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5057 _resultobj
= Py_BuildValue("s",_ptemp
);
5060 _resultobj
= Py_None
;
5065 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5066 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
* _resultobj
;
5071 PyObject
* _argo0
= 0;
5072 char *_kwnames
[] = { "self","id", NULL
};
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
5078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
5085 wxPy_BEGIN_ALLOW_THREADS
;
5086 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
5088 wxPy_END_ALLOW_THREADS
;
5090 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5098 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5099 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
* _resultobj
;
5104 PyObject
* _argo0
= 0;
5105 char *_kwnames
[] = { "self","id", NULL
};
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
5111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
5118 wxPy_BEGIN_ALLOW_THREADS
;
5119 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
5121 wxPy_END_ALLOW_THREADS
;
5123 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5131 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5132 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
* _resultobj
;
5137 PyObject
* _argo0
= 0;
5138 PyObject
* _obj2
= 0;
5139 char *_kwnames
[] = { "self","id","helpString", NULL
};
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
5152 if (!PyString_Check(_obj2
)) {
5153 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5156 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5159 wxPy_BEGIN_ALLOW_THREADS
;
5160 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
5162 wxPy_END_ALLOW_THREADS
;
5163 } Py_INCREF(Py_None
);
5164 _resultobj
= Py_None
;
5172 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5173 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
* _resultobj
;
5178 PyObject
* _argo0
= 0;
5179 char *_kwnames
[] = { "self","id", NULL
};
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5192 wxPy_BEGIN_ALLOW_THREADS
;
5193 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
5195 wxPy_END_ALLOW_THREADS
;
5196 } _resultobj
= Py_BuildValue("i",_result
);
5200 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
5201 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
* _resultobj
;
5206 PyObject
* _argo0
= 0;
5207 char *_kwnames
[] = { "self","id", NULL
};
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
5213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
5220 wxPy_BEGIN_ALLOW_THREADS
;
5221 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
5223 wxPy_END_ALLOW_THREADS
;
5224 } _resultobj
= Py_BuildValue("i",_result
);
5228 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5229 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
* _resultobj
;
5234 PyObject
* _argo0
= 0;
5235 PyObject
* _obj2
= 0;
5236 char *_kwnames
[] = { "self","id","label", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
5249 if (!PyString_Check(_obj2
)) {
5250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5253 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5256 wxPy_BEGIN_ALLOW_THREADS
;
5257 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
5259 wxPy_END_ALLOW_THREADS
;
5260 } Py_INCREF(Py_None
);
5261 _resultobj
= Py_None
;
5269 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
5270 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
* _resultobj
;
5273 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
5274 PyObject
* _argo0
= 0;
5275 PyObject
* _argo1
= 0;
5276 char *_kwnames
[] = { "self","source", NULL
};
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
5282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
5289 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5290 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
5291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
5296 wxPy_BEGIN_ALLOW_THREADS
;
5297 wxMenu_UpdateUI(_arg0
,_arg1
);
5299 wxPy_END_ALLOW_THREADS
;
5300 } Py_INCREF(Py_None
);
5301 _resultobj
= Py_None
;
5305 static void wxMenu_Destroy(wxMenu
*self
) {
5308 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
* _resultobj
;
5311 PyObject
* _argo0
= 0;
5312 char *_kwnames
[] = { "self", NULL
};
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
5318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
5325 wxPy_BEGIN_ALLOW_THREADS
;
5326 wxMenu_Destroy(_arg0
);
5328 wxPy_END_ALLOW_THREADS
;
5329 } Py_INCREF(Py_None
);
5330 _resultobj
= Py_None
;
5334 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
5337 src
= (wxMenuBar
*) ptr
;
5338 dest
= (wxEvtHandler
*) src
;
5339 return (void *) dest
;
5342 #define new_wxMenuBar() (new wxMenuBar())
5343 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
* _resultobj
;
5345 wxMenuBar
* _result
;
5346 char *_kwnames
[] = { NULL
};
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
5353 wxPy_BEGIN_ALLOW_THREADS
;
5354 _result
= (wxMenuBar
*)new_wxMenuBar();
5356 wxPy_END_ALLOW_THREADS
;
5358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
5359 _resultobj
= Py_BuildValue("s",_ptemp
);
5362 _resultobj
= Py_None
;
5367 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
5368 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
* _resultobj
;
5373 PyObject
* _argo0
= 0;
5374 PyObject
* _argo1
= 0;
5375 PyObject
* _obj2
= 0;
5376 char *_kwnames
[] = { "self","menu","title", NULL
};
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
5389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
5391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
5396 if (!PyString_Check(_obj2
)) {
5397 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5400 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5403 wxPy_BEGIN_ALLOW_THREADS
;
5404 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
5406 wxPy_END_ALLOW_THREADS
;
5407 } Py_INCREF(Py_None
);
5408 _resultobj
= Py_None
;
5416 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5417 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
* _resultobj
;
5422 PyObject
* _argo0
= 0;
5424 char *_kwnames
[] = { "self","id","flag", NULL
};
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
5436 _arg2
= (bool ) tempbool2
;
5438 wxPy_BEGIN_ALLOW_THREADS
;
5439 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
5441 wxPy_END_ALLOW_THREADS
;
5442 } Py_INCREF(Py_None
);
5443 _resultobj
= Py_None
;
5447 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
5448 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
* _resultobj
;
5453 PyObject
* _argo0
= 0;
5454 char *_kwnames
[] = { "self","id", NULL
};
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Checked",_kwnames
,&_argo0
,&_arg1
))
5460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
5467 wxPy_BEGIN_ALLOW_THREADS
;
5468 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
5470 wxPy_END_ALLOW_THREADS
;
5471 } _resultobj
= Py_BuildValue("i",_result
);
5475 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5476 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
* _resultobj
;
5481 PyObject
* _argo0
= 0;
5483 char *_kwnames
[] = { "self","id","enable", NULL
};
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
5495 _arg2
= (bool ) tempbool2
;
5497 wxPy_BEGIN_ALLOW_THREADS
;
5498 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
5500 wxPy_END_ALLOW_THREADS
;
5501 } Py_INCREF(Py_None
);
5502 _resultobj
= Py_None
;
5506 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
5507 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
* _resultobj
;
5512 PyObject
* _argo0
= 0;
5513 char *_kwnames
[] = { "self","id", NULL
};
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Enabled",_kwnames
,&_argo0
,&_arg1
))
5519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
5526 wxPy_BEGIN_ALLOW_THREADS
;
5527 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
5529 wxPy_END_ALLOW_THREADS
;
5530 } _resultobj
= Py_BuildValue("i",_result
);
5534 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
5535 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5541 PyObject
* _argo0
= 0;
5542 PyObject
* _obj1
= 0;
5543 PyObject
* _obj2
= 0;
5544 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
5557 if (!PyString_Check(_obj1
)) {
5558 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5561 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5564 if (!PyString_Check(_obj2
)) {
5565 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5568 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5571 wxPy_BEGIN_ALLOW_THREADS
;
5572 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
5574 wxPy_END_ALLOW_THREADS
;
5575 } _resultobj
= Py_BuildValue("i",_result
);
5587 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5588 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
* _resultobj
;
5590 wxMenuItem
* _result
;
5593 PyObject
* _argo0
= 0;
5594 char *_kwnames
[] = { "self","id", NULL
};
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
5601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
5608 wxPy_BEGIN_ALLOW_THREADS
;
5609 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
5611 wxPy_END_ALLOW_THREADS
;
5613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5614 _resultobj
= Py_BuildValue("s",_ptemp
);
5617 _resultobj
= Py_None
;
5622 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5623 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
* _resultobj
;
5628 PyObject
* _argo0
= 0;
5629 PyObject
* _obj2
= 0;
5630 char *_kwnames
[] = { "self","id","label", NULL
};
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
5643 if (!PyString_Check(_obj2
)) {
5644 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5647 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5650 wxPy_BEGIN_ALLOW_THREADS
;
5651 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
5653 wxPy_END_ALLOW_THREADS
;
5654 } Py_INCREF(Py_None
);
5655 _resultobj
= Py_None
;
5663 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
5664 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5669 PyObject
* _argo0
= 0;
5671 char *_kwnames
[] = { "self","pos","enable", NULL
};
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
5683 _arg2
= (bool ) tempbool2
;
5685 wxPy_BEGIN_ALLOW_THREADS
;
5686 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
5688 wxPy_END_ALLOW_THREADS
;
5689 } Py_INCREF(Py_None
);
5690 _resultobj
= Py_None
;
5694 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5695 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
* _resultobj
;
5700 PyObject
* _argo0
= 0;
5701 char *_kwnames
[] = { "self","id", NULL
};
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
5707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
5714 wxPy_BEGIN_ALLOW_THREADS
;
5715 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
5717 wxPy_END_ALLOW_THREADS
;
5719 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5727 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5728 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
* _resultobj
;
5733 PyObject
* _argo0
= 0;
5734 char *_kwnames
[] = { "self","id", NULL
};
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
5740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
5747 wxPy_BEGIN_ALLOW_THREADS
;
5748 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
5750 wxPy_END_ALLOW_THREADS
;
5752 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5760 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5761 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
* _resultobj
;
5766 PyObject
* _argo0
= 0;
5767 PyObject
* _obj2
= 0;
5768 char *_kwnames
[] = { "self","id","helpString", NULL
};
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
5781 if (!PyString_Check(_obj2
)) {
5782 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5785 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5788 wxPy_BEGIN_ALLOW_THREADS
;
5789 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
5791 wxPy_END_ALLOW_THREADS
;
5792 } Py_INCREF(Py_None
);
5793 _resultobj
= Py_None
;
5801 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
5802 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
* _resultobj
;
5807 PyObject
* _argo0
= 0;
5808 char *_kwnames
[] = { "self","pos", NULL
};
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
5814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
5821 wxPy_BEGIN_ALLOW_THREADS
;
5822 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
5824 wxPy_END_ALLOW_THREADS
;
5826 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5834 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
5835 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
* _resultobj
;
5840 PyObject
* _argo0
= 0;
5841 PyObject
* _obj2
= 0;
5842 char *_kwnames
[] = { "self","pos","label", NULL
};
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
5855 if (!PyString_Check(_obj2
)) {
5856 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5859 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5862 wxPy_BEGIN_ALLOW_THREADS
;
5863 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
5865 wxPy_END_ALLOW_THREADS
;
5866 } Py_INCREF(Py_None
);
5867 _resultobj
= Py_None
;
5875 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
5876 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
* _resultobj
;
5880 PyObject
* _argo0
= 0;
5881 char *_kwnames
[] = { "self", NULL
};
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
5887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
5894 wxPy_BEGIN_ALLOW_THREADS
;
5895 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
5897 wxPy_END_ALLOW_THREADS
;
5898 } _resultobj
= Py_BuildValue("i",_result
);
5902 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
5903 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
* _resultobj
;
5908 PyObject
* _argo0
= 0;
5909 char *_kwnames
[] = { "self","i", NULL
};
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
5916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
5923 wxPy_BEGIN_ALLOW_THREADS
;
5924 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
5926 wxPy_END_ALLOW_THREADS
;
5928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5929 _resultobj
= Py_BuildValue("s",_ptemp
);
5932 _resultobj
= Py_None
;
5937 #define new_wxMenuItem() (new wxMenuItem())
5938 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
* _resultobj
;
5940 wxMenuItem
* _result
;
5941 char *_kwnames
[] = { NULL
};
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuItem",_kwnames
))
5948 wxPy_BEGIN_ALLOW_THREADS
;
5949 _result
= (wxMenuItem
*)new_wxMenuItem();
5951 wxPy_END_ALLOW_THREADS
;
5953 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5954 _resultobj
= Py_BuildValue("s",_ptemp
);
5957 _resultobj
= Py_None
;
5962 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5963 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
* _resultobj
;
5967 PyObject
* _argo0
= 0;
5968 char *_kwnames
[] = { "self", NULL
};
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
5974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5981 wxPy_BEGIN_ALLOW_THREADS
;
5982 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
5984 wxPy_END_ALLOW_THREADS
;
5985 } _resultobj
= Py_BuildValue("i",_result
);
5989 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5990 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
* _resultobj
;
5994 PyObject
* _argo0
= 0;
5995 char *_kwnames
[] = { "self", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
6001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
6008 wxPy_BEGIN_ALLOW_THREADS
;
6009 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
6011 wxPy_END_ALLOW_THREADS
;
6012 } _resultobj
= Py_BuildValue("i",_result
);
6016 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
6017 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
* _resultobj
;
6021 PyObject
* _argo0
= 0;
6022 char *_kwnames
[] = { "self", NULL
};
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
6028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
6035 wxPy_BEGIN_ALLOW_THREADS
;
6036 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
6038 wxPy_END_ALLOW_THREADS
;
6039 } _resultobj
= Py_BuildValue("i",_result
);
6043 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
6044 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
* _resultobj
;
6048 PyObject
* _argo0
= 0;
6049 char *_kwnames
[] = { "self", NULL
};
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
6055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
6062 wxPy_BEGIN_ALLOW_THREADS
;
6063 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
6065 wxPy_END_ALLOW_THREADS
;
6066 } _resultobj
= Py_BuildValue("i",_result
);
6070 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
6071 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
* _resultobj
;
6075 PyObject
* _argo0
= 0;
6076 char *_kwnames
[] = { "self", NULL
};
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
6082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
6089 wxPy_BEGIN_ALLOW_THREADS
;
6090 _result
= (int )wxMenuItem_GetId(_arg0
);
6092 wxPy_END_ALLOW_THREADS
;
6093 } _resultobj
= Py_BuildValue("i",_result
);
6097 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
6098 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6102 PyObject
* _argo0
= 0;
6103 char *_kwnames
[] = { "self", NULL
};
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
6110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
6117 wxPy_BEGIN_ALLOW_THREADS
;
6118 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
6120 wxPy_END_ALLOW_THREADS
;
6122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6123 _resultobj
= Py_BuildValue("s",_ptemp
);
6126 _resultobj
= Py_None
;
6131 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
6132 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
* _resultobj
;
6136 PyObject
* _argo0
= 0;
6137 PyObject
* _obj1
= 0;
6138 char *_kwnames
[] = { "self","strName", NULL
};
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetName",_kwnames
,&_argo0
,&_obj1
))
6144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
6151 if (!PyString_Check(_obj1
)) {
6152 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6155 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6158 wxPy_BEGIN_ALLOW_THREADS
;
6159 wxMenuItem_SetName(_arg0
,*_arg1
);
6161 wxPy_END_ALLOW_THREADS
;
6162 } Py_INCREF(Py_None
);
6163 _resultobj
= Py_None
;
6171 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
6172 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
* _resultobj
;
6176 PyObject
* _argo0
= 0;
6177 char *_kwnames
[] = { "self", NULL
};
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetName",_kwnames
,&_argo0
))
6183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
6190 wxPy_BEGIN_ALLOW_THREADS
;
6191 _result
= new wxString (wxMenuItem_GetName(_arg0
));
6193 wxPy_END_ALLOW_THREADS
;
6195 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6203 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
6204 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
* _resultobj
;
6208 PyObject
* _argo0
= 0;
6209 char *_kwnames
[] = { "self", NULL
};
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
6215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
6222 wxPy_BEGIN_ALLOW_THREADS
;
6223 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
6225 wxPy_END_ALLOW_THREADS
;
6227 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6235 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
6236 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
* _resultobj
;
6240 PyObject
* _argo0
= 0;
6241 PyObject
* _obj1
= 0;
6242 char *_kwnames
[] = { "self","strHelp", NULL
};
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
6248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
6255 if (!PyString_Check(_obj1
)) {
6256 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6259 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6262 wxPy_BEGIN_ALLOW_THREADS
;
6263 wxMenuItem_SetHelp(_arg0
,*_arg1
);
6265 wxPy_END_ALLOW_THREADS
;
6266 } Py_INCREF(Py_None
);
6267 _resultobj
= Py_None
;
6275 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
6276 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
* _resultobj
;
6279 bool _arg1
= (bool ) TRUE
;
6280 PyObject
* _argo0
= 0;
6281 int tempbool1
= (int) TRUE
;
6282 char *_kwnames
[] = { "self","bDoEnable", NULL
};
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
6288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
6294 _arg1
= (bool ) tempbool1
;
6296 wxPy_BEGIN_ALLOW_THREADS
;
6297 wxMenuItem_Enable(_arg0
,_arg1
);
6299 wxPy_END_ALLOW_THREADS
;
6300 } Py_INCREF(Py_None
);
6301 _resultobj
= Py_None
;
6305 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
6306 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
* _resultobj
;
6309 bool _arg1
= (bool ) TRUE
;
6310 PyObject
* _argo0
= 0;
6311 int tempbool1
= (int) TRUE
;
6312 char *_kwnames
[] = { "self","bDoCheck", NULL
};
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
6318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
6324 _arg1
= (bool ) tempbool1
;
6326 wxPy_BEGIN_ALLOW_THREADS
;
6327 wxMenuItem_Check(_arg0
,_arg1
);
6329 wxPy_END_ALLOW_THREADS
;
6330 } Py_INCREF(Py_None
);
6331 _resultobj
= Py_None
;
6335 static PyMethodDef windowscMethods
[] = {
6336 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
6337 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6338 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
6339 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
6340 { "wxMenuItem_GetName", (PyCFunction
) _wrap_wxMenuItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6341 { "wxMenuItem_SetName", (PyCFunction
) _wrap_wxMenuItem_SetName
, METH_VARARGS
| METH_KEYWORDS
},
6342 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
6343 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6344 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
6345 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6346 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6347 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
6348 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
6349 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
6350 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
6351 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
6352 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
6353 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
6354 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6355 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
6356 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
6357 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6358 { "wxMenuBar_FindItemForId", (PyCFunction
) _wrap_wxMenuBar_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
6359 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
6360 { "wxMenuBar_Enabled", (PyCFunction
) _wrap_wxMenuBar_Enabled
, METH_VARARGS
| METH_KEYWORDS
},
6361 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6362 { "wxMenuBar_Checked", (PyCFunction
) _wrap_wxMenuBar_Checked
, METH_VARARGS
| METH_KEYWORDS
},
6363 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
6364 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
6365 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
6366 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
6367 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
6368 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6369 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6370 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6371 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
6372 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6373 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
6374 { "wxMenu_FindItemForId", (PyCFunction
) _wrap_wxMenu_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
6375 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6376 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6377 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
6378 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6379 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
6380 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
6381 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
6382 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
6383 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
6384 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
6385 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
6386 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
6387 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
6388 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
6389 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
6390 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
6391 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
6392 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
6393 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
6394 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
6395 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
6396 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
6397 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
6398 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
6399 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6400 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
6401 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
6402 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
6403 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
6404 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6405 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
6406 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
6407 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
6408 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
6409 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
6410 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
6411 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
6412 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
6413 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
6414 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
6415 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
6416 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
6417 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
6418 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
6419 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
6420 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
6421 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
6422 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
6423 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
6424 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
6425 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
6426 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6427 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
6428 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
6429 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
6430 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
6431 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
6432 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6433 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6434 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
6435 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
6436 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
6437 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
6438 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
6439 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6440 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
6441 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
6442 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
6443 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6444 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
6445 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
6446 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
6447 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
6448 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
6449 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
6450 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
6451 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
6452 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
6453 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
6454 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
6455 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
6456 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
6457 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
6458 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
6459 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
6460 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
6461 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
6462 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6463 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
6464 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
6465 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
6466 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6467 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
6468 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6469 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
6470 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
6471 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6472 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6473 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6474 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6475 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6476 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
6477 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
6478 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
6479 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
6480 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6481 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6482 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6483 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6484 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6485 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6486 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6487 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
6488 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6489 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
6490 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
6491 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
6492 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
6493 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6494 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6495 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6496 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
6497 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6498 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
6499 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
6500 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
6501 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6502 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
6503 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
6504 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
6505 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
6506 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
6507 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
6508 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
6509 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
6510 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
6511 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
6512 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
6513 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
6514 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
6521 * This table is used by the pointer type-checker
6523 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6524 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6525 { "_signed_long","_long",0},
6526 { "_wxPrintQuality","_int",0},
6527 { "_wxPrintQuality","_signed_int",0},
6528 { "_wxPrintQuality","_unsigned_int",0},
6529 { "_wxPrintQuality","_wxWindowID",0},
6530 { "_wxPrintQuality","_uint",0},
6531 { "_wxPrintQuality","_EBool",0},
6532 { "_wxPrintQuality","_size_t",0},
6533 { "_class_wxRegionIterator","_wxRegionIterator",0},
6534 { "_class_wxMenuBar","_wxMenuBar",0},
6535 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6536 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6537 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
6538 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
6539 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6540 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6541 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
6542 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
6543 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
6544 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
6545 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
6546 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
6547 { "_class_wxEvtHandler","_wxEvtHandler",0},
6548 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6549 { "_wxCursor","_class_wxCursor",0},
6550 { "_wxMask","_class_wxMask",0},
6551 { "_wxPen","_class_wxPen",0},
6552 { "_byte","_unsigned_char",0},
6553 { "_long","_wxDash",0},
6554 { "_long","_unsigned_long",0},
6555 { "_long","_signed_long",0},
6556 { "_wxImageList","_class_wxImageList",0},
6557 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6558 { "_wxDC","_class_wxDC",0},
6559 { "_size_t","_wxPrintQuality",0},
6560 { "_size_t","_unsigned_int",0},
6561 { "_size_t","_int",0},
6562 { "_size_t","_wxWindowID",0},
6563 { "_size_t","_uint",0},
6564 { "_class_wxRealPoint","_wxRealPoint",0},
6565 { "_class_wxMenuItem","_wxMenuItem",0},
6566 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
6567 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6568 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6569 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
6570 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
6571 { "_wxPanel","_class_wxPanel",0},
6572 { "_class_wxMask","_wxMask",0},
6573 { "_wxColour","_class_wxColour",0},
6574 { "_class_wxDialog","_wxDialog",0},
6575 { "_wxBrush","_class_wxBrush",0},
6576 { "_uint","_wxPrintQuality",0},
6577 { "_uint","_size_t",0},
6578 { "_uint","_unsigned_int",0},
6579 { "_uint","_int",0},
6580 { "_uint","_wxWindowID",0},
6581 { "_wxRect","_class_wxRect",0},
6582 { "_wxPoint","_class_wxPoint",0},
6583 { "_wxBitmap","_class_wxBitmap",0},
6584 { "_wxPyTimer","_class_wxPyTimer",0},
6585 { "_wxWindowDC","_class_wxWindowDC",0},
6586 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6587 { "_EBool","_wxPrintQuality",0},
6588 { "_EBool","_signed_int",0},
6589 { "_EBool","_int",0},
6590 { "_EBool","_wxWindowID",0},
6591 { "_class_wxRegion","_wxRegion",0},
6592 { "_wxFont","_class_wxFont",0},
6593 { "_unsigned_long","_wxDash",0},
6594 { "_unsigned_long","_long",0},
6595 { "_class_wxRect","_wxRect",0},
6596 { "_class_wxDC","_wxDC",0},
6597 { "_class_wxPyTimer","_wxPyTimer",0},
6598 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6599 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6600 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6601 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
6602 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
6603 { "_class_wxPanel","_wxPanel",0},
6604 { "_signed_int","_wxPrintQuality",0},
6605 { "_signed_int","_EBool",0},
6606 { "_signed_int","_wxWindowID",0},
6607 { "_signed_int","_int",0},
6608 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6609 { "_wxMenu","_class_wxMenu",0},
6610 { "_wxScreenDC","_class_wxScreenDC",0},
6611 { "_WXTYPE","_short",0},
6612 { "_WXTYPE","_signed_short",0},
6613 { "_WXTYPE","_unsigned_short",0},
6614 { "_class_wxBrush","_wxBrush",0},
6615 { "_unsigned_short","_WXTYPE",0},
6616 { "_unsigned_short","_short",0},
6617 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6618 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6619 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
6620 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
6621 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
6622 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
6623 { "_class_wxWindow","_wxWindow",0},
6624 { "_class_wxFont","_wxFont",0},
6625 { "_wxClientDC","_class_wxClientDC",0},
6626 { "_class_wxPoint","_wxPoint",0},
6627 { "_wxRealPoint","_class_wxRealPoint",0},
6628 { "_signed_short","_WXTYPE",0},
6629 { "_signed_short","_short",0},
6630 { "_wxMemoryDC","_class_wxMemoryDC",0},
6631 { "_wxPaintDC","_class_wxPaintDC",0},
6632 { "_class_wxWindowDC","_wxWindowDC",0},
6633 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6634 { "_class_wxCursor","_wxCursor",0},
6635 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
6636 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6637 { "_unsigned_char","_byte",0},
6638 { "_class_wxMenu","_wxMenu",0},
6639 { "_unsigned_int","_wxPrintQuality",0},
6640 { "_unsigned_int","_size_t",0},
6641 { "_unsigned_int","_uint",0},
6642 { "_unsigned_int","_wxWindowID",0},
6643 { "_unsigned_int","_int",0},
6644 { "_wxIcon","_class_wxIcon",0},
6645 { "_wxDialog","_class_wxDialog",0},
6646 { "_class_wxPen","_wxPen",0},
6647 { "_short","_WXTYPE",0},
6648 { "_short","_unsigned_short",0},
6649 { "_short","_signed_short",0},
6650 { "_class_wxImageList","_wxImageList",0},
6651 { "_wxWindowID","_wxPrintQuality",0},
6652 { "_wxWindowID","_size_t",0},
6653 { "_wxWindowID","_EBool",0},
6654 { "_wxWindowID","_uint",0},
6655 { "_wxWindowID","_int",0},
6656 { "_wxWindowID","_signed_int",0},
6657 { "_wxWindowID","_unsigned_int",0},
6658 { "_int","_wxPrintQuality",0},
6659 { "_int","_size_t",0},
6660 { "_int","_EBool",0},
6661 { "_int","_uint",0},
6662 { "_int","_wxWindowID",0},
6663 { "_int","_unsigned_int",0},
6664 { "_int","_signed_int",0},
6665 { "_wxSize","_class_wxSize",0},
6666 { "_wxRegionIterator","_class_wxRegionIterator",0},
6667 { "_class_wxPaintDC","_wxPaintDC",0},
6668 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6669 { "_class_wxIcon","_wxIcon",0},
6670 { "_class_wxColour","_wxColour",0},
6671 { "_class_wxScreenDC","_wxScreenDC",0},
6672 { "_wxPalette","_class_wxPalette",0},
6673 { "_wxRegion","_class_wxRegion",0},
6674 { "_class_wxClientDC","_wxClientDC",0},
6675 { "_class_wxSize","_wxSize",0},
6676 { "_class_wxBitmap","_wxBitmap",0},
6677 { "_class_wxMemoryDC","_wxMemoryDC",0},
6678 { "_wxMenuBar","_class_wxMenuBar",0},
6679 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6680 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6681 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
6682 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
6683 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6684 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6685 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
6686 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
6687 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
6688 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
6689 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
6690 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
6691 { "_wxEvtHandler","_class_wxEvtHandler",0},
6692 { "_wxMenuItem","_class_wxMenuItem",0},
6693 { "_wxDash","_unsigned_long",0},
6694 { "_wxDash","_long",0},
6695 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6696 { "_class_wxPalette","_wxPalette",0},
6697 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6698 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6699 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
6700 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
6701 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
6702 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
6703 { "_wxWindow","_class_wxWindow",0},
6706 static PyObject
*SWIG_globals
;
6710 SWIGEXPORT(void) initwindowsc() {
6712 SWIG_globals
= SWIG_newvarlink();
6713 m
= Py_InitModule("windowsc", windowscMethods
);
6714 d
= PyModule_GetDict(m
);
6717 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6718 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);