2 * FILE : gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
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 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern 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
) {
123 PyObject
* _resultobj
;
125 wxEvtHandler
* _arg0
;
127 PyObject
* _argo0
= 0;
128 PyObject
* _argo1
= 0;
131 if(!PyArg_ParseTuple(args
,"OO:wxEvtHandler_ProcessEvent",&_argo0
,&_argo1
))
134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
148 wxPy_BEGIN_ALLOW_THREADS
;
149 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
151 wxPy_END_ALLOW_THREADS
;
152 } _resultobj
= Py_BuildValue("i",_result
);
156 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
157 if (PyCallable_Check(func
)) {
158 self
->Connect(id
, lastId
, eventType
,
159 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
160 new wxPyCallback(func
));
163 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
164 PyObject
* _resultobj
;
165 wxEvtHandler
* _arg0
;
170 PyObject
* _argo0
= 0;
171 PyObject
* _obj4
= 0;
174 if(!PyArg_ParseTuple(args
,"OiiiO:wxEvtHandler_Connect",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
187 wxPy_BEGIN_ALLOW_THREADS
;
188 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
190 wxPy_END_ALLOW_THREADS
;
191 } Py_INCREF(Py_None
);
192 _resultobj
= Py_None
;
196 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
199 src
= (wxWindow
*) ptr
;
200 dest
= (wxEvtHandler
*) src
;
201 return (void *) dest
;
204 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
205 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
206 PyObject
* _resultobj
;
210 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
211 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
212 long _arg4
= (long ) 0;
213 char * _arg5
= (char *) "panel";
214 PyObject
* _argo0
= 0;
215 PyObject
* _argo2
= 0;
216 PyObject
* _argo3
= 0;
220 if(!PyArg_ParseTuple(args
,"Oi|OOls:new_wxWindow",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
230 if (_argo2
== Py_None
) { _arg2
= NULL
; }
231 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
237 if (_argo3
== Py_None
) { _arg3
= NULL
; }
238 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
244 wxPy_BEGIN_ALLOW_THREADS
;
245 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
247 wxPy_END_ALLOW_THREADS
;
249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
250 _resultobj
= Py_BuildValue("s",_ptemp
);
253 _resultobj
= Py_None
;
258 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
259 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
260 PyObject
* _resultobj
;
262 PyObject
* _argo0
= 0;
265 if(!PyArg_ParseTuple(args
,"O:wxWindow_CaptureMouse",&_argo0
))
268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
275 wxPy_BEGIN_ALLOW_THREADS
;
276 wxWindow_CaptureMouse(_arg0
);
278 wxPy_END_ALLOW_THREADS
;
279 } Py_INCREF(Py_None
);
280 _resultobj
= Py_None
;
284 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
285 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
286 PyObject
* _resultobj
;
288 int _arg1
= (int ) wxBOTH
;
289 PyObject
* _argo0
= 0;
292 if(!PyArg_ParseTuple(args
,"O|i:wxWindow_Center",&_argo0
,&_arg1
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
302 wxPy_BEGIN_ALLOW_THREADS
;
303 wxWindow_Center(_arg0
,_arg1
);
305 wxPy_END_ALLOW_THREADS
;
306 } Py_INCREF(Py_None
);
307 _resultobj
= Py_None
;
311 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
312 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
313 PyObject
* _resultobj
;
315 int _arg1
= (int ) wxBOTH
;
316 PyObject
* _argo0
= 0;
319 if(!PyArg_ParseTuple(args
,"O|i:wxWindow_Centre",&_argo0
,&_arg1
))
322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
329 wxPy_BEGIN_ALLOW_THREADS
;
330 wxWindow_Centre(_arg0
,_arg1
);
332 wxPy_END_ALLOW_THREADS
;
333 } Py_INCREF(Py_None
);
334 _resultobj
= Py_None
;
338 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
339 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
) {
340 PyObject
* _resultobj
;
342 int _arg1
= (int ) wxBOTH
;
343 PyObject
* _argo0
= 0;
346 if(!PyArg_ParseTuple(args
,"O|i:wxWindow_CentreOnParent",&_argo0
,&_arg1
))
349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
356 wxPy_BEGIN_ALLOW_THREADS
;
357 wxWindow_CentreOnParent(_arg0
,_arg1
);
359 wxPy_END_ALLOW_THREADS
;
360 } Py_INCREF(Py_None
);
361 _resultobj
= Py_None
;
365 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
366 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
) {
367 PyObject
* _resultobj
;
369 int _arg1
= (int ) wxBOTH
;
370 PyObject
* _argo0
= 0;
373 if(!PyArg_ParseTuple(args
,"O|i:wxWindow_CenterOnParent",&_argo0
,&_arg1
))
376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
383 wxPy_BEGIN_ALLOW_THREADS
;
384 wxWindow_CenterOnParent(_arg0
,_arg1
);
386 wxPy_END_ALLOW_THREADS
;
387 } Py_INCREF(Py_None
);
388 _resultobj
= Py_None
;
392 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
393 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
) {
394 PyObject
* _resultobj
;
398 PyObject
* _argo0
= 0;
400 PyObject
* _obj1
= 0;
402 PyObject
* _obj2
= 0;
405 if(!PyArg_ParseTuple(args
,"OOO:wxWindow_ClientToScreenXY",&_argo0
,&_obj1
,&_obj2
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
415 temp
= (int) PyInt_AsLong(_obj1
);
419 temp0
= (int) PyInt_AsLong(_obj2
);
423 wxPy_BEGIN_ALLOW_THREADS
;
424 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
426 wxPy_END_ALLOW_THREADS
;
427 } Py_INCREF(Py_None
);
428 _resultobj
= Py_None
;
431 o
= PyInt_FromLong((long) (*_arg1
));
432 _resultobj
= t_output_helper(_resultobj
, o
);
436 o
= PyInt_FromLong((long) (*_arg2
));
437 _resultobj
= t_output_helper(_resultobj
, o
);
442 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
443 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
444 PyObject
* _resultobj
;
448 PyObject
* _argo0
= 0;
449 PyObject
* _argo1
= 0;
453 if(!PyArg_ParseTuple(args
,"OO:wxWindow_ClientToScreen",&_argo0
,&_argo1
))
456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
463 if (_argo1
== Py_None
) { _arg1
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
470 wxPy_BEGIN_ALLOW_THREADS
;
471 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
473 wxPy_END_ALLOW_THREADS
;
474 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
475 _resultobj
= Py_BuildValue("s",_ptemp
);
479 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
480 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
481 PyObject
* _resultobj
;
484 int _arg1
= (int ) FALSE
;
485 PyObject
* _argo0
= 0;
488 if(!PyArg_ParseTuple(args
,"O|i:wxWindow_Close",&_argo0
,&_arg1
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
498 wxPy_BEGIN_ALLOW_THREADS
;
499 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
501 wxPy_END_ALLOW_THREADS
;
502 } _resultobj
= Py_BuildValue("i",_result
);
506 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
507 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
508 PyObject
* _resultobj
;
511 PyObject
* _argo0
= 0;
514 if(!PyArg_ParseTuple(args
,"O:wxWindow_Destroy",&_argo0
))
517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
524 wxPy_BEGIN_ALLOW_THREADS
;
525 _result
= (bool )wxWindow_Destroy(_arg0
);
527 wxPy_END_ALLOW_THREADS
;
528 } _resultobj
= Py_BuildValue("i",_result
);
532 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
533 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
534 PyObject
* _resultobj
;
536 PyObject
* _argo0
= 0;
539 if(!PyArg_ParseTuple(args
,"O:wxWindow_DestroyChildren",&_argo0
))
542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
549 wxPy_BEGIN_ALLOW_THREADS
;
550 wxWindow_DestroyChildren(_arg0
);
552 wxPy_END_ALLOW_THREADS
;
553 } Py_INCREF(Py_None
);
554 _resultobj
= Py_None
;
558 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
559 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
560 PyObject
* _resultobj
;
563 PyObject
* _argo0
= 0;
567 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_Enable",&_argo0
,&tempbool1
))
570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
576 _arg1
= (bool ) tempbool1
;
578 wxPy_BEGIN_ALLOW_THREADS
;
579 wxWindow_Enable(_arg0
,_arg1
);
581 wxPy_END_ALLOW_THREADS
;
582 } Py_INCREF(Py_None
);
583 _resultobj
= Py_None
;
587 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
588 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
) {
589 PyObject
* _resultobj
;
593 PyObject
* _argo0
= 0;
597 if(!PyArg_ParseTuple(args
,"Ol:wxWindow_FindWindowById",&_argo0
,&_arg1
))
600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
607 wxPy_BEGIN_ALLOW_THREADS
;
608 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
610 wxPy_END_ALLOW_THREADS
;
612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
613 _resultobj
= Py_BuildValue("s",_ptemp
);
616 _resultobj
= Py_None
;
621 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
622 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
623 PyObject
* _resultobj
;
627 PyObject
* _argo0
= 0;
628 PyObject
* _obj1
= 0;
632 if(!PyArg_ParseTuple(args
,"OO:wxWindow_FindWindowByName",&_argo0
,&_obj1
))
635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
642 if (!PyString_Check(_obj1
)) {
643 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
646 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
649 wxPy_BEGIN_ALLOW_THREADS
;
650 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
652 wxPy_END_ALLOW_THREADS
;
654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
655 _resultobj
= Py_BuildValue("s",_ptemp
);
658 _resultobj
= Py_None
;
667 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
668 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
669 PyObject
* _resultobj
;
671 PyObject
* _argo0
= 0;
674 if(!PyArg_ParseTuple(args
,"O:wxWindow_Fit",&_argo0
))
677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
684 wxPy_BEGIN_ALLOW_THREADS
;
687 wxPy_END_ALLOW_THREADS
;
688 } Py_INCREF(Py_None
);
689 _resultobj
= Py_None
;
693 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
694 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
695 PyObject
* _resultobj
;
698 PyObject
* _argo0
= 0;
702 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetBackgroundColour",&_argo0
))
705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
712 wxPy_BEGIN_ALLOW_THREADS
;
713 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
715 wxPy_END_ALLOW_THREADS
;
716 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
717 _resultobj
= Py_BuildValue("s",_ptemp
);
721 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
722 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
723 PyObject
* _resultobj
;
726 PyObject
* _argo0
= 0;
729 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetCharHeight",&_argo0
))
732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
739 wxPy_BEGIN_ALLOW_THREADS
;
740 _result
= (int )wxWindow_GetCharHeight(_arg0
);
742 wxPy_END_ALLOW_THREADS
;
743 } _resultobj
= Py_BuildValue("i",_result
);
747 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
748 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
749 PyObject
* _resultobj
;
752 PyObject
* _argo0
= 0;
755 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetCharWidth",&_argo0
))
758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
765 wxPy_BEGIN_ALLOW_THREADS
;
766 _result
= (int )wxWindow_GetCharWidth(_arg0
);
768 wxPy_END_ALLOW_THREADS
;
769 } _resultobj
= Py_BuildValue("i",_result
);
773 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
774 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
) {
775 PyObject
* _resultobj
;
781 PyObject
* _argo0
= 0;
790 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetClientSizeTuple",&_argo0
))
793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
800 wxPy_BEGIN_ALLOW_THREADS
;
801 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
803 wxPy_END_ALLOW_THREADS
;
804 } Py_INCREF(Py_None
);
805 _resultobj
= Py_None
;
808 o
= PyInt_FromLong((long) (*_arg1
));
809 _resultobj
= t_output_helper(_resultobj
, o
);
813 o
= PyInt_FromLong((long) (*_arg2
));
814 _resultobj
= t_output_helper(_resultobj
, o
);
819 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
820 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
821 PyObject
* _resultobj
;
824 PyObject
* _argo0
= 0;
828 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetClientSize",&_argo0
))
831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
838 wxPy_BEGIN_ALLOW_THREADS
;
839 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
841 wxPy_END_ALLOW_THREADS
;
842 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
843 _resultobj
= Py_BuildValue("s",_ptemp
);
847 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
848 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
849 PyObject
* _resultobj
;
850 wxLayoutConstraints
* _result
;
852 PyObject
* _argo0
= 0;
856 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetConstraints",&_argo0
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
866 wxPy_BEGIN_ALLOW_THREADS
;
867 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
869 wxPy_END_ALLOW_THREADS
;
871 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
872 _resultobj
= Py_BuildValue("s",_ptemp
);
875 _resultobj
= Py_None
;
880 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
881 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
882 PyObject
* _resultobj
;
885 PyObject
* _argo0
= 0;
889 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetFont",&_argo0
))
892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
899 wxPy_BEGIN_ALLOW_THREADS
;
900 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
901 _result
= (wxFont
*) &_result_ref
;
903 wxPy_END_ALLOW_THREADS
;
905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
906 _resultobj
= Py_BuildValue("s",_ptemp
);
909 _resultobj
= Py_None
;
914 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
915 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
916 PyObject
* _resultobj
;
919 PyObject
* _argo0
= 0;
923 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetForegroundColour",&_argo0
))
926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
933 wxPy_BEGIN_ALLOW_THREADS
;
934 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
936 wxPy_END_ALLOW_THREADS
;
937 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
938 _resultobj
= Py_BuildValue("s",_ptemp
);
942 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
943 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
944 PyObject
* _resultobj
;
947 PyObject
* _argo0
= 0;
951 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetGrandParent",&_argo0
))
954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
961 wxPy_BEGIN_ALLOW_THREADS
;
962 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
964 wxPy_END_ALLOW_THREADS
;
966 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
967 _resultobj
= Py_BuildValue("s",_ptemp
);
970 _resultobj
= Py_None
;
975 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
976 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
977 PyObject
* _resultobj
;
980 PyObject
* _argo0
= 0;
983 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetId",&_argo0
))
986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
993 wxPy_BEGIN_ALLOW_THREADS
;
994 _result
= (int )wxWindow_GetId(_arg0
);
996 wxPy_END_ALLOW_THREADS
;
997 } _resultobj
= Py_BuildValue("i",_result
);
1001 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1002 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
1003 PyObject
* _resultobj
;
1006 PyObject
* _argo0
= 0;
1009 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetLabel",&_argo0
))
1012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1019 wxPy_BEGIN_ALLOW_THREADS
;
1020 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1022 wxPy_END_ALLOW_THREADS
;
1024 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1032 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1033 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
) {
1034 PyObject
* _resultobj
;
1037 PyObject
* _argo0
= 0;
1038 PyObject
* _obj1
= 0;
1041 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetLabel",&_argo0
,&_obj1
))
1044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1051 if (!PyString_Check(_obj1
)) {
1052 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1055 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1058 wxPy_BEGIN_ALLOW_THREADS
;
1059 wxWindow_SetLabel(_arg0
,*_arg1
);
1061 wxPy_END_ALLOW_THREADS
;
1062 } Py_INCREF(Py_None
);
1063 _resultobj
= Py_None
;
1071 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1072 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
1073 PyObject
* _resultobj
;
1076 PyObject
* _argo0
= 0;
1079 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetName",&_argo0
))
1082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1089 wxPy_BEGIN_ALLOW_THREADS
;
1090 _result
= new wxString (wxWindow_GetName(_arg0
));
1092 wxPy_END_ALLOW_THREADS
;
1094 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1102 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1103 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
1104 PyObject
* _resultobj
;
1107 PyObject
* _argo0
= 0;
1111 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetParent",&_argo0
))
1114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1121 wxPy_BEGIN_ALLOW_THREADS
;
1122 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1124 wxPy_END_ALLOW_THREADS
;
1126 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1127 _resultobj
= Py_BuildValue("s",_ptemp
);
1130 _resultobj
= Py_None
;
1135 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1136 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
) {
1137 PyObject
* _resultobj
;
1143 PyObject
* _argo0
= 0;
1152 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetPositionTuple",&_argo0
))
1155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1162 wxPy_BEGIN_ALLOW_THREADS
;
1163 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1165 wxPy_END_ALLOW_THREADS
;
1166 } Py_INCREF(Py_None
);
1167 _resultobj
= Py_None
;
1170 o
= PyInt_FromLong((long) (*_arg1
));
1171 _resultobj
= t_output_helper(_resultobj
, o
);
1175 o
= PyInt_FromLong((long) (*_arg2
));
1176 _resultobj
= t_output_helper(_resultobj
, o
);
1181 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1182 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
1183 PyObject
* _resultobj
;
1186 PyObject
* _argo0
= 0;
1190 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetPosition",&_argo0
))
1193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1200 wxPy_BEGIN_ALLOW_THREADS
;
1201 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1203 wxPy_END_ALLOW_THREADS
;
1204 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1205 _resultobj
= Py_BuildValue("s",_ptemp
);
1209 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1210 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
) {
1211 PyObject
* _resultobj
;
1214 PyObject
* _argo0
= 0;
1218 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetRect",&_argo0
))
1221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1228 wxPy_BEGIN_ALLOW_THREADS
;
1229 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1231 wxPy_END_ALLOW_THREADS
;
1232 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1233 _resultobj
= Py_BuildValue("s",_ptemp
);
1237 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1238 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
1239 PyObject
* _resultobj
;
1243 PyObject
* _argo0
= 0;
1246 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_GetScrollThumb",&_argo0
,&_arg1
))
1249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1256 wxPy_BEGIN_ALLOW_THREADS
;
1257 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1259 wxPy_END_ALLOW_THREADS
;
1260 } _resultobj
= Py_BuildValue("i",_result
);
1264 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1265 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
1266 PyObject
* _resultobj
;
1270 PyObject
* _argo0
= 0;
1273 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_GetScrollPos",&_argo0
,&_arg1
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1286 wxPy_END_ALLOW_THREADS
;
1287 } _resultobj
= Py_BuildValue("i",_result
);
1291 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1292 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
1293 PyObject
* _resultobj
;
1297 PyObject
* _argo0
= 0;
1300 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_GetScrollRange",&_argo0
,&_arg1
))
1303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1310 wxPy_BEGIN_ALLOW_THREADS
;
1311 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1313 wxPy_END_ALLOW_THREADS
;
1314 } _resultobj
= Py_BuildValue("i",_result
);
1318 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1319 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
1320 PyObject
* _resultobj
;
1326 PyObject
* _argo0
= 0;
1335 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetSizeTuple",&_argo0
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1345 wxPy_BEGIN_ALLOW_THREADS
;
1346 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1348 wxPy_END_ALLOW_THREADS
;
1349 } Py_INCREF(Py_None
);
1350 _resultobj
= Py_None
;
1353 o
= PyInt_FromLong((long) (*_arg1
));
1354 _resultobj
= t_output_helper(_resultobj
, o
);
1358 o
= PyInt_FromLong((long) (*_arg2
));
1359 _resultobj
= t_output_helper(_resultobj
, o
);
1364 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1365 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
1366 PyObject
* _resultobj
;
1369 PyObject
* _argo0
= 0;
1373 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetSize",&_argo0
))
1376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1383 wxPy_BEGIN_ALLOW_THREADS
;
1384 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1386 wxPy_END_ALLOW_THREADS
;
1387 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1388 _resultobj
= Py_BuildValue("s",_ptemp
);
1392 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1393 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1394 PyObject
* _resultobj
;
1401 PyObject
* _argo0
= 0;
1402 PyObject
* _obj1
= 0;
1411 if(!PyArg_ParseTuple(args
,"OO:wxWindow_GetTextExtent",&_argo0
,&_obj1
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1421 if (!PyString_Check(_obj1
)) {
1422 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1425 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1428 wxPy_BEGIN_ALLOW_THREADS
;
1429 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1431 wxPy_END_ALLOW_THREADS
;
1432 } Py_INCREF(Py_None
);
1433 _resultobj
= Py_None
;
1436 o
= PyInt_FromLong((long) (*_arg2
));
1437 _resultobj
= t_output_helper(_resultobj
, o
);
1441 o
= PyInt_FromLong((long) (*_arg3
));
1442 _resultobj
= t_output_helper(_resultobj
, o
);
1451 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1452 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
1453 PyObject
* _resultobj
;
1464 wxFont
* _arg6
= (wxFont
*) NULL
;
1465 PyObject
* _argo0
= 0;
1466 PyObject
* _obj1
= 0;
1467 PyObject
* _argo6
= 0;
1482 if(!PyArg_ParseTuple(args
,"OO|O:wxWindow_GetFullTextExtent",&_argo0
,&_obj1
,&_argo6
))
1485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1492 if (!PyString_Check(_obj1
)) {
1493 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1496 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1499 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1500 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1509 wxPy_END_ALLOW_THREADS
;
1510 } Py_INCREF(Py_None
);
1511 _resultobj
= Py_None
;
1514 o
= PyInt_FromLong((long) (*_arg2
));
1515 _resultobj
= t_output_helper(_resultobj
, o
);
1519 o
= PyInt_FromLong((long) (*_arg3
));
1520 _resultobj
= t_output_helper(_resultobj
, o
);
1524 o
= PyInt_FromLong((long) (*_arg4
));
1525 _resultobj
= t_output_helper(_resultobj
, o
);
1529 o
= PyInt_FromLong((long) (*_arg5
));
1530 _resultobj
= t_output_helper(_resultobj
, o
);
1539 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1540 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1541 PyObject
* _resultobj
;
1544 PyObject
* _argo0
= 0;
1547 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetTitle",&_argo0
))
1550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1557 wxPy_BEGIN_ALLOW_THREADS
;
1558 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1560 wxPy_END_ALLOW_THREADS
;
1562 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1570 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
1571 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
) {
1572 PyObject
* _resultobj
;
1575 PyObject
* _argo0
= 0;
1579 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetUpdateRegion",&_argo0
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
1592 wxPy_END_ALLOW_THREADS
;
1593 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
1594 _resultobj
= Py_BuildValue("s",_ptemp
);
1598 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1599 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1600 PyObject
* _resultobj
;
1603 PyObject
* _argo0
= 0;
1606 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetWindowStyleFlag",&_argo0
))
1609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1616 wxPy_BEGIN_ALLOW_THREADS
;
1617 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1619 wxPy_END_ALLOW_THREADS
;
1620 } _resultobj
= Py_BuildValue("l",_result
);
1624 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1625 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
) {
1626 PyObject
* _resultobj
;
1629 PyObject
* _argo0
= 0;
1632 if(!PyArg_ParseTuple(args
,"O:wxWindow_Hide",&_argo0
))
1635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1642 wxPy_BEGIN_ALLOW_THREADS
;
1643 _result
= (bool )wxWindow_Hide(_arg0
);
1645 wxPy_END_ALLOW_THREADS
;
1646 } _resultobj
= Py_BuildValue("i",_result
);
1650 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1651 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1652 PyObject
* _resultobj
;
1654 PyObject
* _argo0
= 0;
1657 if(!PyArg_ParseTuple(args
,"O:wxWindow_InitDialog",&_argo0
))
1660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1667 wxPy_BEGIN_ALLOW_THREADS
;
1668 wxWindow_InitDialog(_arg0
);
1670 wxPy_END_ALLOW_THREADS
;
1671 } Py_INCREF(Py_None
);
1672 _resultobj
= Py_None
;
1676 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1677 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1678 PyObject
* _resultobj
;
1681 PyObject
* _argo0
= 0;
1684 if(!PyArg_ParseTuple(args
,"O:wxWindow_IsEnabled",&_argo0
))
1687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1694 wxPy_BEGIN_ALLOW_THREADS
;
1695 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1697 wxPy_END_ALLOW_THREADS
;
1698 } _resultobj
= Py_BuildValue("i",_result
);
1702 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1703 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1704 PyObject
* _resultobj
;
1707 PyObject
* _argo0
= 0;
1710 if(!PyArg_ParseTuple(args
,"O:wxWindow_IsRetained",&_argo0
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1720 wxPy_BEGIN_ALLOW_THREADS
;
1721 _result
= (bool )wxWindow_IsRetained(_arg0
);
1723 wxPy_END_ALLOW_THREADS
;
1724 } _resultobj
= Py_BuildValue("i",_result
);
1728 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1729 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1730 PyObject
* _resultobj
;
1733 PyObject
* _argo0
= 0;
1736 if(!PyArg_ParseTuple(args
,"O:wxWindow_IsShown",&_argo0
))
1739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1746 wxPy_BEGIN_ALLOW_THREADS
;
1747 _result
= (bool )wxWindow_IsShown(_arg0
);
1749 wxPy_END_ALLOW_THREADS
;
1750 } _resultobj
= Py_BuildValue("i",_result
);
1754 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1755 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
) {
1756 PyObject
* _resultobj
;
1759 PyObject
* _argo0
= 0;
1762 if(!PyArg_ParseTuple(args
,"O:wxWindow_IsTopLevel",&_argo0
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
1775 wxPy_END_ALLOW_THREADS
;
1776 } _resultobj
= Py_BuildValue("i",_result
);
1780 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1781 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1782 PyObject
* _resultobj
;
1784 PyObject
* _argo0
= 0;
1787 if(!PyArg_ParseTuple(args
,"O:wxWindow_Layout",&_argo0
))
1790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1797 wxPy_BEGIN_ALLOW_THREADS
;
1798 wxWindow_Layout(_arg0
);
1800 wxPy_END_ALLOW_THREADS
;
1801 } Py_INCREF(Py_None
);
1802 _resultobj
= Py_None
;
1806 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1807 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1808 PyObject
* _resultobj
;
1813 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
1814 PyObject
* _argo0
= 0;
1815 PyObject
* _argo1
= 0;
1816 PyObject
* _obj2
= 0;
1817 PyObject
* _argo3
= 0;
1820 if(!PyArg_ParseTuple(args
,"OOO|O:wxWindow_LoadFromResource",&_argo0
,&_argo1
,&_obj2
,&_argo3
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1830 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1831 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1837 if (!PyString_Check(_obj2
)) {
1838 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1841 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1844 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1854 wxPy_END_ALLOW_THREADS
;
1855 } _resultobj
= Py_BuildValue("i",_result
);
1863 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1864 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1865 PyObject
* _resultobj
;
1867 PyObject
* _argo0
= 0;
1870 if(!PyArg_ParseTuple(args
,"O:wxWindow_Lower",&_argo0
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1880 wxPy_BEGIN_ALLOW_THREADS
;
1881 wxWindow_Lower(_arg0
);
1883 wxPy_END_ALLOW_THREADS
;
1884 } Py_INCREF(Py_None
);
1885 _resultobj
= Py_None
;
1889 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1890 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1891 PyObject
* _resultobj
;
1894 PyObject
* _argo0
= 0;
1898 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_MakeModal",&_argo0
,&tempbool1
))
1901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1907 _arg1
= (bool ) tempbool1
;
1909 wxPy_BEGIN_ALLOW_THREADS
;
1910 wxWindow_MakeModal(_arg0
,_arg1
);
1912 wxPy_END_ALLOW_THREADS
;
1913 } Py_INCREF(Py_None
);
1914 _resultobj
= Py_None
;
1918 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1919 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
) {
1920 PyObject
* _resultobj
;
1924 PyObject
* _argo0
= 0;
1927 if(!PyArg_ParseTuple(args
,"Oii:wxWindow_MoveXY",&_argo0
,&_arg1
,&_arg2
))
1930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1937 wxPy_BEGIN_ALLOW_THREADS
;
1938 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
1940 wxPy_END_ALLOW_THREADS
;
1941 } Py_INCREF(Py_None
);
1942 _resultobj
= Py_None
;
1946 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1947 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1948 PyObject
* _resultobj
;
1951 PyObject
* _argo0
= 0;
1952 PyObject
* _argo1
= 0;
1955 if(!PyArg_ParseTuple(args
,"OO:wxWindow_Move",&_argo0
,&_argo1
))
1958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1965 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
1972 wxPy_BEGIN_ALLOW_THREADS
;
1973 wxWindow_Move(_arg0
,*_arg1
);
1975 wxPy_END_ALLOW_THREADS
;
1976 } Py_INCREF(Py_None
);
1977 _resultobj
= Py_None
;
1981 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1982 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
) {
1983 PyObject
* _resultobj
;
1989 PyObject
* _argo0
= 0;
1990 PyObject
* _argo1
= 0;
1993 if(!PyArg_ParseTuple(args
,"OOii:wxWindow_PopupMenuXY",&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2010 wxPy_BEGIN_ALLOW_THREADS
;
2011 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2013 wxPy_END_ALLOW_THREADS
;
2014 } _resultobj
= Py_BuildValue("i",_result
);
2018 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2019 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
2020 PyObject
* _resultobj
;
2025 PyObject
* _argo0
= 0;
2026 PyObject
* _argo1
= 0;
2027 PyObject
* _argo2
= 0;
2030 if(!PyArg_ParseTuple(args
,"OOO:wxWindow_PopupMenu",&_argo0
,&_argo1
,&_argo2
))
2033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2040 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2047 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2048 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_PopupMenu. Expected _wxPoint_p.");
2054 wxPy_BEGIN_ALLOW_THREADS
;
2055 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2057 wxPy_END_ALLOW_THREADS
;
2058 } _resultobj
= Py_BuildValue("i",_result
);
2062 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2063 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
2064 PyObject
* _resultobj
;
2066 PyObject
* _argo0
= 0;
2069 if(!PyArg_ParseTuple(args
,"O:wxWindow_Raise",&_argo0
))
2072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2079 wxPy_BEGIN_ALLOW_THREADS
;
2080 wxWindow_Raise(_arg0
);
2082 wxPy_END_ALLOW_THREADS
;
2083 } Py_INCREF(Py_None
);
2084 _resultobj
= Py_None
;
2088 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2089 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
2090 PyObject
* _resultobj
;
2092 bool _arg1
= (bool ) TRUE
;
2093 wxRect
* _arg2
= (wxRect
*) NULL
;
2094 PyObject
* _argo0
= 0;
2095 int tempbool1
= (int) TRUE
;
2096 PyObject
* _argo2
= 0;
2099 if(!PyArg_ParseTuple(args
,"O|iO:wxWindow_Refresh",&_argo0
,&tempbool1
,&_argo2
))
2102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2108 _arg1
= (bool ) tempbool1
;
2110 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxRect_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2120 wxPy_END_ALLOW_THREADS
;
2121 } Py_INCREF(Py_None
);
2122 _resultobj
= Py_None
;
2126 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2127 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
2128 PyObject
* _resultobj
;
2130 PyObject
* _argo0
= 0;
2133 if(!PyArg_ParseTuple(args
,"O:wxWindow_ReleaseMouse",&_argo0
))
2136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2143 wxPy_BEGIN_ALLOW_THREADS
;
2144 wxWindow_ReleaseMouse(_arg0
);
2146 wxPy_END_ALLOW_THREADS
;
2147 } Py_INCREF(Py_None
);
2148 _resultobj
= Py_None
;
2152 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2153 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
) {
2154 PyObject
* _resultobj
;
2158 PyObject
* _argo0
= 0;
2159 PyObject
* _argo1
= 0;
2162 if(!PyArg_ParseTuple(args
,"OO:wxWindow_Reparent",&_argo0
,&_argo1
))
2165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2182 wxPy_END_ALLOW_THREADS
;
2183 } _resultobj
= Py_BuildValue("i",_result
);
2187 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2188 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
) {
2189 PyObject
* _resultobj
;
2193 PyObject
* _argo0
= 0;
2195 PyObject
* _obj1
= 0;
2197 PyObject
* _obj2
= 0;
2200 if(!PyArg_ParseTuple(args
,"OOO:wxWindow_ScreenToClientXY",&_argo0
,&_obj1
,&_obj2
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2210 temp
= (int) PyInt_AsLong(_obj1
);
2214 temp0
= (int) PyInt_AsLong(_obj2
);
2218 wxPy_BEGIN_ALLOW_THREADS
;
2219 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2221 wxPy_END_ALLOW_THREADS
;
2222 } Py_INCREF(Py_None
);
2223 _resultobj
= Py_None
;
2226 o
= PyInt_FromLong((long) (*_arg1
));
2227 _resultobj
= t_output_helper(_resultobj
, o
);
2231 o
= PyInt_FromLong((long) (*_arg2
));
2232 _resultobj
= t_output_helper(_resultobj
, o
);
2237 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2238 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
2239 PyObject
* _resultobj
;
2243 PyObject
* _argo0
= 0;
2244 PyObject
* _argo1
= 0;
2248 if(!PyArg_ParseTuple(args
,"OO:wxWindow_ScreenToClient",&_argo0
,&_argo1
))
2251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2258 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2259 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2265 wxPy_BEGIN_ALLOW_THREADS
;
2266 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2268 wxPy_END_ALLOW_THREADS
;
2269 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2270 _resultobj
= Py_BuildValue("s",_ptemp
);
2274 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2275 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
2276 PyObject
* _resultobj
;
2280 wxRect
* _arg3
= (wxRect
*) NULL
;
2281 PyObject
* _argo0
= 0;
2282 PyObject
* _argo3
= 0;
2285 if(!PyArg_ParseTuple(args
,"Oii|O:wxWindow_ScrollWindow",&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2295 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxRect_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2302 wxPy_BEGIN_ALLOW_THREADS
;
2303 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2305 wxPy_END_ALLOW_THREADS
;
2306 } Py_INCREF(Py_None
);
2307 _resultobj
= Py_None
;
2311 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2312 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
2313 PyObject
* _resultobj
;
2315 wxAcceleratorTable
* _arg1
;
2316 PyObject
* _argo0
= 0;
2317 PyObject
* _argo1
= 0;
2320 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetAcceleratorTable",&_argo0
,&_argo1
))
2323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
2332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2337 wxPy_BEGIN_ALLOW_THREADS
;
2338 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
2340 wxPy_END_ALLOW_THREADS
;
2341 } Py_INCREF(Py_None
);
2342 _resultobj
= Py_None
;
2346 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2347 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
2348 PyObject
* _resultobj
;
2351 PyObject
* _argo0
= 0;
2355 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_SetAutoLayout",&_argo0
,&tempbool1
))
2358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2364 _arg1
= (bool ) tempbool1
;
2366 wxPy_BEGIN_ALLOW_THREADS
;
2367 wxWindow_SetAutoLayout(_arg0
,_arg1
);
2369 wxPy_END_ALLOW_THREADS
;
2370 } Py_INCREF(Py_None
);
2371 _resultobj
= Py_None
;
2375 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2376 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2377 PyObject
* _resultobj
;
2380 PyObject
* _argo0
= 0;
2381 PyObject
* _argo1
= 0;
2384 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetBackgroundColour",&_argo0
,&_argo1
))
2387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2394 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2401 wxPy_BEGIN_ALLOW_THREADS
;
2402 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
2404 wxPy_END_ALLOW_THREADS
;
2405 } Py_INCREF(Py_None
);
2406 _resultobj
= Py_None
;
2410 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2411 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
2412 PyObject
* _resultobj
;
2414 wxLayoutConstraints
* _arg1
;
2415 PyObject
* _argo0
= 0;
2416 PyObject
* _argo1
= 0;
2419 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetConstraints",&_argo0
,&_argo1
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 wxWindow_SetConstraints(_arg0
,_arg1
);
2439 wxPy_END_ALLOW_THREADS
;
2440 } Py_INCREF(Py_None
);
2441 _resultobj
= Py_None
;
2445 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2446 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
2447 PyObject
* _resultobj
;
2449 PyObject
* _argo0
= 0;
2452 if(!PyArg_ParseTuple(args
,"O:wxWindow_SetFocus",&_argo0
))
2455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2462 wxPy_BEGIN_ALLOW_THREADS
;
2463 wxWindow_SetFocus(_arg0
);
2465 wxPy_END_ALLOW_THREADS
;
2466 } Py_INCREF(Py_None
);
2467 _resultobj
= Py_None
;
2471 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2472 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
2473 PyObject
* _resultobj
;
2476 PyObject
* _argo0
= 0;
2477 PyObject
* _argo1
= 0;
2480 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetFont",&_argo0
,&_argo1
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2497 wxPy_BEGIN_ALLOW_THREADS
;
2498 wxWindow_SetFont(_arg0
,*_arg1
);
2500 wxPy_END_ALLOW_THREADS
;
2501 } Py_INCREF(Py_None
);
2502 _resultobj
= Py_None
;
2506 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2507 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
2508 PyObject
* _resultobj
;
2511 PyObject
* _argo0
= 0;
2512 PyObject
* _argo1
= 0;
2515 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetForegroundColour",&_argo0
,&_argo1
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2525 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2532 wxPy_BEGIN_ALLOW_THREADS
;
2533 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2535 wxPy_END_ALLOW_THREADS
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2541 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2542 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
2543 PyObject
* _resultobj
;
2546 PyObject
* _argo0
= 0;
2549 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_SetId",&_argo0
,&_arg1
))
2552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2559 wxPy_BEGIN_ALLOW_THREADS
;
2560 wxWindow_SetId(_arg0
,_arg1
);
2562 wxPy_END_ALLOW_THREADS
;
2563 } Py_INCREF(Py_None
);
2564 _resultobj
= Py_None
;
2568 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2569 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
2570 PyObject
* _resultobj
;
2573 PyObject
* _argo0
= 0;
2574 PyObject
* _obj1
= 0;
2577 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetName",&_argo0
,&_obj1
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2587 if (!PyString_Check(_obj1
)) {
2588 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2591 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2594 wxPy_BEGIN_ALLOW_THREADS
;
2595 wxWindow_SetName(_arg0
,*_arg1
);
2597 wxPy_END_ALLOW_THREADS
;
2598 } Py_INCREF(Py_None
);
2599 _resultobj
= Py_None
;
2607 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2608 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
2609 PyObject
* _resultobj
;
2615 bool _arg5
= (bool ) TRUE
;
2616 PyObject
* _argo0
= 0;
2617 int tempbool5
= (int) TRUE
;
2620 if(!PyArg_ParseTuple(args
,"Oiiii|i:wxWindow_SetScrollbar",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2629 _arg5
= (bool ) tempbool5
;
2631 wxPy_BEGIN_ALLOW_THREADS
;
2632 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2634 wxPy_END_ALLOW_THREADS
;
2635 } Py_INCREF(Py_None
);
2636 _resultobj
= Py_None
;
2640 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2641 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
2642 PyObject
* _resultobj
;
2646 bool _arg3
= (bool ) TRUE
;
2647 PyObject
* _argo0
= 0;
2648 int tempbool3
= (int) TRUE
;
2651 if(!PyArg_ParseTuple(args
,"Oii|i:wxWindow_SetScrollPos",&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2660 _arg3
= (bool ) tempbool3
;
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2665 wxPy_END_ALLOW_THREADS
;
2666 } Py_INCREF(Py_None
);
2667 _resultobj
= Py_None
;
2671 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2672 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
2673 PyObject
* _resultobj
;
2679 int _arg5
= (int ) wxSIZE_AUTO
;
2680 PyObject
* _argo0
= 0;
2683 if(!PyArg_ParseTuple(args
,"Oiiii|i:wxWindow_SetDimensions",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2693 wxPy_BEGIN_ALLOW_THREADS
;
2694 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2696 wxPy_END_ALLOW_THREADS
;
2697 } Py_INCREF(Py_None
);
2698 _resultobj
= Py_None
;
2702 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2703 self
->SetSize(size
.x
, size
.y
);
2705 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
2706 PyObject
* _resultobj
;
2709 PyObject
* _argo0
= 0;
2710 PyObject
* _argo1
= 0;
2713 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetSize",&_argo0
,&_argo1
))
2716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
2725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2730 wxPy_BEGIN_ALLOW_THREADS
;
2731 wxWindow_SetSize(_arg0
,*_arg1
);
2733 wxPy_END_ALLOW_THREADS
;
2734 } Py_INCREF(Py_None
);
2735 _resultobj
= Py_None
;
2739 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2740 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2742 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2743 PyObject
* _resultobj
;
2746 PyObject
* _argo0
= 0;
2747 PyObject
* _argo1
= 0;
2750 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetPosition",&_argo0
,&_argo1
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2760 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2761 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2767 wxPy_BEGIN_ALLOW_THREADS
;
2768 wxWindow_SetPosition(_arg0
,*_arg1
);
2770 wxPy_END_ALLOW_THREADS
;
2771 } Py_INCREF(Py_None
);
2772 _resultobj
= Py_None
;
2776 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2777 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2778 PyObject
* _resultobj
;
2780 int _arg1
= (int ) -1;
2781 int _arg2
= (int ) -1;
2782 int _arg3
= (int ) -1;
2783 int _arg4
= (int ) -1;
2784 int _arg5
= (int ) -1;
2785 int _arg6
= (int ) -1;
2786 PyObject
* _argo0
= 0;
2789 if(!PyArg_ParseTuple(args
,"O|iiiiii:wxWindow_SetSizeHints",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2799 wxPy_BEGIN_ALLOW_THREADS
;
2800 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2802 wxPy_END_ALLOW_THREADS
;
2803 } Py_INCREF(Py_None
);
2804 _resultobj
= Py_None
;
2808 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2809 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
) {
2810 PyObject
* _resultobj
;
2814 PyObject
* _argo0
= 0;
2817 if(!PyArg_ParseTuple(args
,"Oii:wxWindow_SetClientSizeWH",&_argo0
,&_arg1
,&_arg2
))
2820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2827 wxPy_BEGIN_ALLOW_THREADS
;
2828 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2830 wxPy_END_ALLOW_THREADS
;
2831 } Py_INCREF(Py_None
);
2832 _resultobj
= Py_None
;
2836 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2837 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2838 PyObject
* _resultobj
;
2841 PyObject
* _argo0
= 0;
2842 PyObject
* _argo1
= 0;
2845 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetClientSize",&_argo0
,&_argo1
))
2848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2855 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2862 wxPy_BEGIN_ALLOW_THREADS
;
2863 wxWindow_SetClientSize(_arg0
,*_arg1
);
2865 wxPy_END_ALLOW_THREADS
;
2866 } Py_INCREF(Py_None
);
2867 _resultobj
= Py_None
;
2871 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2872 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2873 PyObject
* _resultobj
;
2876 PyObject
* _argo0
= 0;
2877 PyObject
* _argo1
= 0;
2880 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetCursor",&_argo0
,&_argo1
))
2883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2890 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2891 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2897 wxPy_BEGIN_ALLOW_THREADS
;
2898 wxWindow_SetCursor(_arg0
,*_arg1
);
2900 wxPy_END_ALLOW_THREADS
;
2901 } Py_INCREF(Py_None
);
2902 _resultobj
= Py_None
;
2906 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2907 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2908 PyObject
* _resultobj
;
2911 PyObject
* _argo0
= 0;
2912 PyObject
* _obj1
= 0;
2915 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetTitle",&_argo0
,&_obj1
))
2918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2925 if (!PyString_Check(_obj1
)) {
2926 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2929 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2932 wxPy_BEGIN_ALLOW_THREADS
;
2933 wxWindow_SetTitle(_arg0
,*_arg1
);
2935 wxPy_END_ALLOW_THREADS
;
2936 } Py_INCREF(Py_None
);
2937 _resultobj
= Py_None
;
2945 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2946 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2947 PyObject
* _resultobj
;
2951 PyObject
* _argo0
= 0;
2955 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_Show",&_argo0
,&tempbool1
))
2958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2964 _arg1
= (bool ) tempbool1
;
2966 wxPy_BEGIN_ALLOW_THREADS
;
2967 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2969 wxPy_END_ALLOW_THREADS
;
2970 } _resultobj
= Py_BuildValue("i",_result
);
2974 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2975 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2976 PyObject
* _resultobj
;
2979 PyObject
* _argo0
= 0;
2982 if(!PyArg_ParseTuple(args
,"O:wxWindow_TransferDataFromWindow",&_argo0
))
2985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2992 wxPy_BEGIN_ALLOW_THREADS
;
2993 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2995 wxPy_END_ALLOW_THREADS
;
2996 } _resultobj
= Py_BuildValue("i",_result
);
3000 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3001 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
3002 PyObject
* _resultobj
;
3005 PyObject
* _argo0
= 0;
3008 if(!PyArg_ParseTuple(args
,"O:wxWindow_TransferDataToWindow",&_argo0
))
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_TransferDataToWindow. Expected _wxWindow_p.");
3018 wxPy_BEGIN_ALLOW_THREADS
;
3019 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3021 wxPy_END_ALLOW_THREADS
;
3022 } _resultobj
= Py_BuildValue("i",_result
);
3026 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3027 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
3028 PyObject
* _resultobj
;
3031 PyObject
* _argo0
= 0;
3034 if(!PyArg_ParseTuple(args
,"O:wxWindow_Validate",&_argo0
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3044 wxPy_BEGIN_ALLOW_THREADS
;
3045 _result
= (bool )wxWindow_Validate(_arg0
);
3047 wxPy_END_ALLOW_THREADS
;
3048 } _resultobj
= Py_BuildValue("i",_result
);
3052 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3053 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
3054 PyObject
* _resultobj
;
3058 PyObject
* _argo0
= 0;
3061 if(!PyArg_ParseTuple(args
,"Oii:wxWindow_WarpPointer",&_argo0
,&_arg1
,&_arg2
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3071 wxPy_BEGIN_ALLOW_THREADS
;
3072 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
3074 wxPy_END_ALLOW_THREADS
;
3075 } Py_INCREF(Py_None
);
3076 _resultobj
= Py_None
;
3080 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3081 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
3082 PyObject
* _resultobj
;
3086 PyObject
* _argo0
= 0;
3087 PyObject
* _argo1
= 0;
3091 if(!PyArg_ParseTuple(args
,"OO:wxWindow_ConvertDialogPointToPixels",&_argo0
,&_argo1
))
3094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3101 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
3108 wxPy_BEGIN_ALLOW_THREADS
;
3109 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
3111 wxPy_END_ALLOW_THREADS
;
3112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3113 _resultobj
= Py_BuildValue("s",_ptemp
);
3117 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3118 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
3119 PyObject
* _resultobj
;
3123 PyObject
* _argo0
= 0;
3124 PyObject
* _argo1
= 0;
3128 if(!PyArg_ParseTuple(args
,"OO:wxWindow_ConvertDialogSizeToPixels",&_argo0
,&_argo1
))
3131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
3138 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
3145 wxPy_BEGIN_ALLOW_THREADS
;
3146 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
3148 wxPy_END_ALLOW_THREADS
;
3149 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3150 _resultobj
= Py_BuildValue("s",_ptemp
);
3154 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3155 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
3156 PyObject
* _resultobj
;
3160 PyObject
* _argo0
= 0;
3161 PyObject
* _argo1
= 0;
3165 if(!PyArg_ParseTuple(args
,"OO:wxWindow_ConvertPixelPointToDialog",&_argo0
,&_argo1
))
3168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
3175 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3176 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
3182 wxPy_BEGIN_ALLOW_THREADS
;
3183 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
3185 wxPy_END_ALLOW_THREADS
;
3186 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3187 _resultobj
= Py_BuildValue("s",_ptemp
);
3191 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3192 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
3193 PyObject
* _resultobj
;
3197 PyObject
* _argo0
= 0;
3198 PyObject
* _argo1
= 0;
3202 if(!PyArg_ParseTuple(args
,"OO:wxWindow_ConvertPixelSizeToDialog",&_argo0
,&_argo1
))
3205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
3212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3219 wxPy_BEGIN_ALLOW_THREADS
;
3220 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
3222 wxPy_END_ALLOW_THREADS
;
3223 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3224 _resultobj
= Py_BuildValue("s",_ptemp
);
3228 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3229 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
) {
3230 PyObject
* _resultobj
;
3233 PyObject
* _argo0
= 0;
3234 PyObject
* _obj1
= 0;
3237 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetToolTipString",&_argo0
,&_obj1
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3247 if (!PyString_Check(_obj1
)) {
3248 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3251 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3254 wxPy_BEGIN_ALLOW_THREADS
;
3255 wxWindow_SetToolTipString(_arg0
,*_arg1
);
3257 wxPy_END_ALLOW_THREADS
;
3258 } Py_INCREF(Py_None
);
3259 _resultobj
= Py_None
;
3267 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3268 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
) {
3269 PyObject
* _resultobj
;
3272 PyObject
* _argo0
= 0;
3273 PyObject
* _argo1
= 0;
3276 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetToolTip",&_argo0
,&_argo1
))
3279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3286 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3293 wxPy_BEGIN_ALLOW_THREADS
;
3294 wxWindow_SetToolTip(_arg0
,_arg1
);
3296 wxPy_END_ALLOW_THREADS
;
3297 } Py_INCREF(Py_None
);
3298 _resultobj
= Py_None
;
3302 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3303 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
) {
3304 PyObject
* _resultobj
;
3305 wxToolTip
* _result
;
3307 PyObject
* _argo0
= 0;
3311 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetToolTip",&_argo0
))
3314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3321 wxPy_BEGIN_ALLOW_THREADS
;
3322 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
3324 wxPy_END_ALLOW_THREADS
;
3326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
3327 _resultobj
= Py_BuildValue("s",_ptemp
);
3330 _resultobj
= Py_None
;
3335 static void *SwigwxPanelTowxWindow(void *ptr
) {
3338 src
= (wxPanel
*) ptr
;
3339 dest
= (wxWindow
*) src
;
3340 return (void *) dest
;
3343 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
3346 src
= (wxPanel
*) ptr
;
3347 dest
= (wxEvtHandler
*) src
;
3348 return (void *) dest
;
3351 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3352 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
3353 PyObject
* _resultobj
;
3357 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3358 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3359 long _arg4
= (long ) wxTAB_TRAVERSAL
;
3360 char * _arg5
= (char *) "panel";
3361 PyObject
* _argo0
= 0;
3362 PyObject
* _argo2
= 0;
3363 PyObject
* _argo3
= 0;
3367 if(!PyArg_ParseTuple(args
,"Oi|OOls:new_wxPanel",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3377 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3378 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3384 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3391 wxPy_BEGIN_ALLOW_THREADS
;
3392 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3394 wxPy_END_ALLOW_THREADS
;
3396 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
3397 _resultobj
= Py_BuildValue("s",_ptemp
);
3400 _resultobj
= Py_None
;
3405 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3406 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
3407 PyObject
* _resultobj
;
3409 PyObject
* _argo0
= 0;
3412 if(!PyArg_ParseTuple(args
,"O:wxPanel_InitDialog",&_argo0
))
3415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3422 wxPy_BEGIN_ALLOW_THREADS
;
3423 wxPanel_InitDialog(_arg0
);
3425 wxPy_END_ALLOW_THREADS
;
3426 } Py_INCREF(Py_None
);
3427 _resultobj
= Py_None
;
3431 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3432 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
) {
3433 PyObject
* _resultobj
;
3436 PyObject
* _argo0
= 0;
3440 if(!PyArg_ParseTuple(args
,"O:wxPanel_GetDefaultItem",&_argo0
))
3443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3450 wxPy_BEGIN_ALLOW_THREADS
;
3451 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
3453 wxPy_END_ALLOW_THREADS
;
3455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
3456 _resultobj
= Py_BuildValue("s",_ptemp
);
3459 _resultobj
= Py_None
;
3464 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3465 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
) {
3466 PyObject
* _resultobj
;
3469 PyObject
* _argo0
= 0;
3470 PyObject
* _argo1
= 0;
3473 if(!PyArg_ParseTuple(args
,"OO:wxPanel_SetDefaultItem",&_argo0
,&_argo1
))
3476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3483 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3490 wxPy_BEGIN_ALLOW_THREADS
;
3491 wxPanel_SetDefaultItem(_arg0
,_arg1
);
3493 wxPy_END_ALLOW_THREADS
;
3494 } Py_INCREF(Py_None
);
3495 _resultobj
= Py_None
;
3499 static void *SwigwxDialogTowxPanel(void *ptr
) {
3502 src
= (wxDialog
*) ptr
;
3503 dest
= (wxPanel
*) src
;
3504 return (void *) dest
;
3507 static void *SwigwxDialogTowxWindow(void *ptr
) {
3510 src
= (wxDialog
*) ptr
;
3511 dest
= (wxWindow
*) src
;
3512 return (void *) dest
;
3515 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
3518 src
= (wxDialog
*) ptr
;
3519 dest
= (wxEvtHandler
*) src
;
3520 return (void *) dest
;
3523 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3524 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
3525 PyObject
* _resultobj
;
3530 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
3531 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
3532 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
3533 char * _arg6
= (char *) "dialogBox";
3534 PyObject
* _argo0
= 0;
3535 PyObject
* _obj2
= 0;
3536 PyObject
* _argo3
= 0;
3537 PyObject
* _argo4
= 0;
3541 if(!PyArg_ParseTuple(args
,"OiO|OOls:new_wxDialog",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
3544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3551 if (!PyString_Check(_obj2
)) {
3552 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3555 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3558 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3565 if (_argo4
== Py_None
) { _arg4
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3572 wxPy_BEGIN_ALLOW_THREADS
;
3573 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3575 wxPy_END_ALLOW_THREADS
;
3577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3578 _resultobj
= Py_BuildValue("s",_ptemp
);
3581 _resultobj
= Py_None
;
3590 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3591 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
3592 PyObject
* _resultobj
;
3594 int _arg1
= (int ) wxBOTH
;
3595 PyObject
* _argo0
= 0;
3598 if(!PyArg_ParseTuple(args
,"O|i:wxDialog_Centre",&_argo0
,&_arg1
))
3601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3608 wxPy_BEGIN_ALLOW_THREADS
;
3609 wxDialog_Centre(_arg0
,_arg1
);
3611 wxPy_END_ALLOW_THREADS
;
3612 } Py_INCREF(Py_None
);
3613 _resultobj
= Py_None
;
3617 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3618 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
3619 PyObject
* _resultobj
;
3622 PyObject
* _argo0
= 0;
3625 if(!PyArg_ParseTuple(args
,"Oi:wxDialog_EndModal",&_argo0
,&_arg1
))
3628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3635 wxPy_BEGIN_ALLOW_THREADS
;
3636 wxDialog_EndModal(_arg0
,_arg1
);
3638 wxPy_END_ALLOW_THREADS
;
3639 } Py_INCREF(Py_None
);
3640 _resultobj
= Py_None
;
3644 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3645 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
3646 PyObject
* _resultobj
;
3649 PyObject
* _argo0
= 0;
3652 if(!PyArg_ParseTuple(args
,"O:wxDialog_GetTitle",&_argo0
))
3655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3662 wxPy_BEGIN_ALLOW_THREADS
;
3663 _result
= new wxString (wxDialog_GetTitle(_arg0
));
3665 wxPy_END_ALLOW_THREADS
;
3667 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3675 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3676 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
3677 PyObject
* _resultobj
;
3680 PyObject
* _argo0
= 0;
3684 if(!PyArg_ParseTuple(args
,"Oi:wxDialog_Iconize",&_argo0
,&tempbool1
))
3687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3693 _arg1
= (bool ) tempbool1
;
3695 wxPy_BEGIN_ALLOW_THREADS
;
3696 wxDialog_Iconize(_arg0
,_arg1
);
3698 wxPy_END_ALLOW_THREADS
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3704 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3705 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
3706 PyObject
* _resultobj
;
3709 PyObject
* _argo0
= 0;
3712 if(!PyArg_ParseTuple(args
,"O:wxDialog_IsIconized",&_argo0
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3722 wxPy_BEGIN_ALLOW_THREADS
;
3723 _result
= (bool )wxDialog_IsIconized(_arg0
);
3725 wxPy_END_ALLOW_THREADS
;
3726 } _resultobj
= Py_BuildValue("i",_result
);
3730 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3731 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
3732 PyObject
* _resultobj
;
3735 PyObject
* _argo0
= 0;
3739 if(!PyArg_ParseTuple(args
,"Oi:wxDialog_SetModal",&_argo0
,&tempbool1
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3748 _arg1
= (bool ) tempbool1
;
3750 wxPy_BEGIN_ALLOW_THREADS
;
3751 wxDialog_SetModal(_arg0
,_arg1
);
3753 wxPy_END_ALLOW_THREADS
;
3754 } Py_INCREF(Py_None
);
3755 _resultobj
= Py_None
;
3759 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3760 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
3761 PyObject
* _resultobj
;
3764 PyObject
* _argo0
= 0;
3767 if(!PyArg_ParseTuple(args
,"O:wxDialog_IsModal",&_argo0
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3777 wxPy_BEGIN_ALLOW_THREADS
;
3778 _result
= (bool )wxDialog_IsModal(_arg0
);
3780 wxPy_END_ALLOW_THREADS
;
3781 } _resultobj
= Py_BuildValue("i",_result
);
3785 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3786 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
3787 PyObject
* _resultobj
;
3790 PyObject
* _argo0
= 0;
3791 PyObject
* _obj1
= 0;
3794 if(!PyArg_ParseTuple(args
,"OO:wxDialog_SetTitle",&_argo0
,&_obj1
))
3797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3804 if (!PyString_Check(_obj1
)) {
3805 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3808 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3811 wxPy_BEGIN_ALLOW_THREADS
;
3812 wxDialog_SetTitle(_arg0
,*_arg1
);
3814 wxPy_END_ALLOW_THREADS
;
3815 } Py_INCREF(Py_None
);
3816 _resultobj
= Py_None
;
3824 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3825 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
3826 PyObject
* _resultobj
;
3830 PyObject
* _argo0
= 0;
3834 if(!PyArg_ParseTuple(args
,"Oi:wxDialog_Show",&_argo0
,&tempbool1
))
3837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3843 _arg1
= (bool ) tempbool1
;
3845 wxPy_BEGIN_ALLOW_THREADS
;
3846 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
3848 wxPy_END_ALLOW_THREADS
;
3849 } _resultobj
= Py_BuildValue("i",_result
);
3853 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3854 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
3855 PyObject
* _resultobj
;
3858 PyObject
* _argo0
= 0;
3861 if(!PyArg_ParseTuple(args
,"O:wxDialog_ShowModal",&_argo0
))
3864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3871 wxPy_BEGIN_ALLOW_THREADS
;
3872 _result
= (int )wxDialog_ShowModal(_arg0
);
3874 wxPy_END_ALLOW_THREADS
;
3875 } _resultobj
= Py_BuildValue("i",_result
);
3879 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
3880 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
) {
3881 PyObject
* _resultobj
;
3884 PyObject
* _argo0
= 0;
3887 if(!PyArg_ParseTuple(args
,"O:wxDialog_GetReturnCode",&_argo0
))
3890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
3897 wxPy_BEGIN_ALLOW_THREADS
;
3898 _result
= (int )wxDialog_GetReturnCode(_arg0
);
3900 wxPy_END_ALLOW_THREADS
;
3901 } _resultobj
= Py_BuildValue("i",_result
);
3905 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
3906 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
) {
3907 PyObject
* _resultobj
;
3910 PyObject
* _argo0
= 0;
3913 if(!PyArg_ParseTuple(args
,"Oi:wxDialog_SetReturnCode",&_argo0
,&_arg1
))
3916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
3923 wxPy_BEGIN_ALLOW_THREADS
;
3924 wxDialog_SetReturnCode(_arg0
,_arg1
);
3926 wxPy_END_ALLOW_THREADS
;
3927 } Py_INCREF(Py_None
);
3928 _resultobj
= Py_None
;
3932 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
3933 wxScrolledWindow
*src
;
3935 src
= (wxScrolledWindow
*) ptr
;
3936 dest
= (wxPanel
*) src
;
3937 return (void *) dest
;
3940 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
3941 wxScrolledWindow
*src
;
3943 src
= (wxScrolledWindow
*) ptr
;
3944 dest
= (wxWindow
*) src
;
3945 return (void *) dest
;
3948 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
3949 wxScrolledWindow
*src
;
3951 src
= (wxScrolledWindow
*) ptr
;
3952 dest
= (wxEvtHandler
*) src
;
3953 return (void *) dest
;
3956 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3957 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
3958 PyObject
* _resultobj
;
3959 wxScrolledWindow
* _result
;
3961 wxWindowID _arg1
= (wxWindowID
) -1;
3962 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3963 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3964 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
3965 char * _arg5
= (char *) "scrolledWindow";
3966 PyObject
* _argo0
= 0;
3967 PyObject
* _argo2
= 0;
3968 PyObject
* _argo3
= 0;
3972 if(!PyArg_ParseTuple(args
,"O|iOOls:new_wxScrolledWindow",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
3982 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3983 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
3989 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3990 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
3996 wxPy_BEGIN_ALLOW_THREADS
;
3997 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3999 wxPy_END_ALLOW_THREADS
;
4001 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
4002 _resultobj
= Py_BuildValue("s",_ptemp
);
4005 _resultobj
= Py_None
;
4010 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
4011 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
4012 PyObject
* _resultobj
;
4013 wxScrolledWindow
* _arg0
;
4016 PyObject
* _argo0
= 0;
4021 if(!PyArg_ParseTuple(args
,"Oii:wxScrolledWindow_EnableScrolling",&_argo0
,&tempbool1
,&tempbool2
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
4030 _arg1
= (bool ) tempbool1
;
4031 _arg2
= (bool ) tempbool2
;
4033 wxPy_BEGIN_ALLOW_THREADS
;
4034 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
4036 wxPy_END_ALLOW_THREADS
;
4037 } Py_INCREF(Py_None
);
4038 _resultobj
= Py_None
;
4042 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
4043 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
4044 PyObject
* _resultobj
;
4045 wxScrolledWindow
* _arg0
;
4050 PyObject
* _argo0
= 0;
4059 if(!PyArg_ParseTuple(args
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",&_argo0
))
4062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
4069 wxPy_BEGIN_ALLOW_THREADS
;
4070 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
4072 wxPy_END_ALLOW_THREADS
;
4073 } Py_INCREF(Py_None
);
4074 _resultobj
= Py_None
;
4077 o
= PyInt_FromLong((long) (*_arg1
));
4078 _resultobj
= t_output_helper(_resultobj
, o
);
4082 o
= PyInt_FromLong((long) (*_arg2
));
4083 _resultobj
= t_output_helper(_resultobj
, o
);
4088 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4089 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
4090 PyObject
* _resultobj
;
4091 wxScrolledWindow
* _arg0
;
4096 PyObject
* _argo0
= 0;
4105 if(!PyArg_ParseTuple(args
,"O:wxScrolledWindow_GetVirtualSize",&_argo0
))
4108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
4115 wxPy_BEGIN_ALLOW_THREADS
;
4116 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
4118 wxPy_END_ALLOW_THREADS
;
4119 } Py_INCREF(Py_None
);
4120 _resultobj
= Py_None
;
4123 o
= PyInt_FromLong((long) (*_arg1
));
4124 _resultobj
= t_output_helper(_resultobj
, o
);
4128 o
= PyInt_FromLong((long) (*_arg2
));
4129 _resultobj
= t_output_helper(_resultobj
, o
);
4134 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
4135 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
4136 PyObject
* _resultobj
;
4138 wxScrolledWindow
* _arg0
;
4139 PyObject
* _argo0
= 0;
4142 if(!PyArg_ParseTuple(args
,"O:wxScrolledWindow_IsRetained",&_argo0
))
4145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
4152 wxPy_BEGIN_ALLOW_THREADS
;
4153 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
4155 wxPy_END_ALLOW_THREADS
;
4156 } _resultobj
= Py_BuildValue("i",_result
);
4160 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
4161 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
4162 PyObject
* _resultobj
;
4163 wxScrolledWindow
* _arg0
;
4165 PyObject
* _argo0
= 0;
4166 PyObject
* _argo1
= 0;
4169 if(!PyArg_ParseTuple(args
,"OO:wxScrolledWindow_PrepareDC",&_argo0
,&_argo1
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
4179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
4186 wxPy_BEGIN_ALLOW_THREADS
;
4187 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
4189 wxPy_END_ALLOW_THREADS
;
4190 } Py_INCREF(Py_None
);
4191 _resultobj
= Py_None
;
4195 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
4196 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
4197 PyObject
* _resultobj
;
4198 wxScrolledWindow
* _arg0
;
4201 PyObject
* _argo0
= 0;
4204 if(!PyArg_ParseTuple(args
,"Oii:wxScrolledWindow_Scroll",&_argo0
,&_arg1
,&_arg2
))
4207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
4214 wxPy_BEGIN_ALLOW_THREADS
;
4215 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
4217 wxPy_END_ALLOW_THREADS
;
4218 } Py_INCREF(Py_None
);
4219 _resultobj
= Py_None
;
4223 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4224 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
4225 PyObject
* _resultobj
;
4226 wxScrolledWindow
* _arg0
;
4231 int _arg5
= (int ) 0;
4232 int _arg6
= (int ) 0;
4233 PyObject
* _argo0
= 0;
4236 if(!PyArg_ParseTuple(args
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
4246 wxPy_BEGIN_ALLOW_THREADS
;
4247 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4249 wxPy_END_ALLOW_THREADS
;
4250 } Py_INCREF(Py_None
);
4251 _resultobj
= Py_None
;
4255 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
4256 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
4257 PyObject
* _resultobj
;
4258 wxScrolledWindow
* _arg0
;
4263 PyObject
* _argo0
= 0;
4272 if(!PyArg_ParseTuple(args
,"O:wxScrolledWindow_ViewStart",&_argo0
))
4275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
4282 wxPy_BEGIN_ALLOW_THREADS
;
4283 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
4285 wxPy_END_ALLOW_THREADS
;
4286 } Py_INCREF(Py_None
);
4287 _resultobj
= Py_None
;
4290 o
= PyInt_FromLong((long) (*_arg1
));
4291 _resultobj
= t_output_helper(_resultobj
, o
);
4295 o
= PyInt_FromLong((long) (*_arg2
));
4296 _resultobj
= t_output_helper(_resultobj
, o
);
4301 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
4304 src
= (wxMenu
*) ptr
;
4305 dest
= (wxEvtHandler
*) src
;
4306 return (void *) dest
;
4309 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
4310 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
4311 PyObject
* _resultobj
;
4313 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
4314 long _arg1
= (long ) 0;
4315 PyObject
* _obj0
= 0;
4319 if(!PyArg_ParseTuple(args
,"|Ol:new_wxMenu",&_obj0
,&_arg1
))
4323 if (!PyString_Check(_obj0
)) {
4324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4327 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4330 wxPy_BEGIN_ALLOW_THREADS
;
4331 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
4333 wxPy_END_ALLOW_THREADS
;
4335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4336 _resultobj
= Py_BuildValue("s",_ptemp
);
4339 _resultobj
= Py_None
;
4348 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4349 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
4350 PyObject
* _resultobj
;
4354 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
4355 int _arg4
= (int ) FALSE
;
4356 PyObject
* _argo0
= 0;
4357 PyObject
* _obj2
= 0;
4358 PyObject
* _obj3
= 0;
4361 if(!PyArg_ParseTuple(args
,"OiO|Oi:wxMenu_Append",&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
4364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4371 if (!PyString_Check(_obj2
)) {
4372 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4375 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4379 if (!PyString_Check(_obj3
)) {
4380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4383 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4386 wxPy_BEGIN_ALLOW_THREADS
;
4387 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
4389 wxPy_END_ALLOW_THREADS
;
4390 } Py_INCREF(Py_None
);
4391 _resultobj
= Py_None
;
4403 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4404 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
4405 PyObject
* _resultobj
;
4410 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
4411 PyObject
* _argo0
= 0;
4412 PyObject
* _obj2
= 0;
4413 PyObject
* _argo3
= 0;
4414 PyObject
* _obj4
= 0;
4417 if(!PyArg_ParseTuple(args
,"OiOO|O:wxMenu_AppendMenu",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
4420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4427 if (!PyString_Check(_obj2
)) {
4428 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4431 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4434 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4435 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
4436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4442 if (!PyString_Check(_obj4
)) {
4443 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4446 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
4449 wxPy_BEGIN_ALLOW_THREADS
;
4450 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
4452 wxPy_END_ALLOW_THREADS
;
4453 } Py_INCREF(Py_None
);
4454 _resultobj
= Py_None
;
4466 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4467 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
4468 PyObject
* _resultobj
;
4470 PyObject
* _argo0
= 0;
4473 if(!PyArg_ParseTuple(args
,"O:wxMenu_AppendSeparator",&_argo0
))
4476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4483 wxPy_BEGIN_ALLOW_THREADS
;
4484 wxMenu_AppendSeparator(_arg0
);
4486 wxPy_END_ALLOW_THREADS
;
4487 } Py_INCREF(Py_None
);
4488 _resultobj
= Py_None
;
4492 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4493 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
4494 PyObject
* _resultobj
;
4496 PyObject
* _argo0
= 0;
4499 if(!PyArg_ParseTuple(args
,"O:wxMenu_Break",&_argo0
))
4502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4509 wxPy_BEGIN_ALLOW_THREADS
;
4510 wxMenu_Break(_arg0
);
4512 wxPy_END_ALLOW_THREADS
;
4513 } Py_INCREF(Py_None
);
4514 _resultobj
= Py_None
;
4518 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4519 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
4520 PyObject
* _resultobj
;
4524 PyObject
* _argo0
= 0;
4528 if(!PyArg_ParseTuple(args
,"Oii:wxMenu_Check",&_argo0
,&_arg1
,&tempbool2
))
4531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4537 _arg2
= (bool ) tempbool2
;
4539 wxPy_BEGIN_ALLOW_THREADS
;
4540 wxMenu_Check(_arg0
,_arg1
,_arg2
);
4542 wxPy_END_ALLOW_THREADS
;
4543 } Py_INCREF(Py_None
);
4544 _resultobj
= Py_None
;
4548 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4549 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
4550 PyObject
* _resultobj
;
4554 PyObject
* _argo0
= 0;
4558 if(!PyArg_ParseTuple(args
,"Oii:wxMenu_Enable",&_argo0
,&_arg1
,&tempbool2
))
4561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4567 _arg2
= (bool ) tempbool2
;
4569 wxPy_BEGIN_ALLOW_THREADS
;
4570 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
4572 wxPy_END_ALLOW_THREADS
;
4573 } Py_INCREF(Py_None
);
4574 _resultobj
= Py_None
;
4578 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4579 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
4580 PyObject
* _resultobj
;
4584 PyObject
* _argo0
= 0;
4585 PyObject
* _obj1
= 0;
4588 if(!PyArg_ParseTuple(args
,"OO:wxMenu_FindItem",&_argo0
,&_obj1
))
4591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4598 if (!PyString_Check(_obj1
)) {
4599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4602 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4605 wxPy_BEGIN_ALLOW_THREADS
;
4606 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
4608 wxPy_END_ALLOW_THREADS
;
4609 } _resultobj
= Py_BuildValue("i",_result
);
4617 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4618 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
4619 PyObject
* _resultobj
;
4622 PyObject
* _argo0
= 0;
4625 if(!PyArg_ParseTuple(args
,"O:wxMenu_GetTitle",&_argo0
))
4628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4635 wxPy_BEGIN_ALLOW_THREADS
;
4636 _result
= new wxString (wxMenu_GetTitle(_arg0
));
4638 wxPy_END_ALLOW_THREADS
;
4640 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4648 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4649 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
4650 PyObject
* _resultobj
;
4653 PyObject
* _argo0
= 0;
4654 PyObject
* _obj1
= 0;
4657 if(!PyArg_ParseTuple(args
,"OO:wxMenu_SetTitle",&_argo0
,&_obj1
))
4660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4667 if (!PyString_Check(_obj1
)) {
4668 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4671 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4674 wxPy_BEGIN_ALLOW_THREADS
;
4675 wxMenu_SetTitle(_arg0
,*_arg1
);
4677 wxPy_END_ALLOW_THREADS
;
4678 } Py_INCREF(Py_None
);
4679 _resultobj
= Py_None
;
4687 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4688 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
4689 PyObject
* _resultobj
;
4690 wxMenuItem
* _result
;
4693 PyObject
* _argo0
= 0;
4697 if(!PyArg_ParseTuple(args
,"Oi:wxMenu_FindItemForId",&_argo0
,&_arg1
))
4700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4707 wxPy_BEGIN_ALLOW_THREADS
;
4708 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
4710 wxPy_END_ALLOW_THREADS
;
4712 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4713 _resultobj
= Py_BuildValue("s",_ptemp
);
4716 _resultobj
= Py_None
;
4721 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4722 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
4723 PyObject
* _resultobj
;
4727 PyObject
* _argo0
= 0;
4730 if(!PyArg_ParseTuple(args
,"Oi:wxMenu_GetHelpString",&_argo0
,&_arg1
))
4733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4740 wxPy_BEGIN_ALLOW_THREADS
;
4741 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
4743 wxPy_END_ALLOW_THREADS
;
4745 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4753 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4754 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
4755 PyObject
* _resultobj
;
4759 PyObject
* _argo0
= 0;
4762 if(!PyArg_ParseTuple(args
,"Oi:wxMenu_GetLabel",&_argo0
,&_arg1
))
4765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4772 wxPy_BEGIN_ALLOW_THREADS
;
4773 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
4775 wxPy_END_ALLOW_THREADS
;
4777 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4785 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4786 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
4787 PyObject
* _resultobj
;
4791 PyObject
* _argo0
= 0;
4792 PyObject
* _obj2
= 0;
4795 if(!PyArg_ParseTuple(args
,"OiO:wxMenu_SetHelpString",&_argo0
,&_arg1
,&_obj2
))
4798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4805 if (!PyString_Check(_obj2
)) {
4806 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4809 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4812 wxPy_BEGIN_ALLOW_THREADS
;
4813 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
4815 wxPy_END_ALLOW_THREADS
;
4816 } Py_INCREF(Py_None
);
4817 _resultobj
= Py_None
;
4825 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4826 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
4827 PyObject
* _resultobj
;
4831 PyObject
* _argo0
= 0;
4834 if(!PyArg_ParseTuple(args
,"Oi:wxMenu_IsChecked",&_argo0
,&_arg1
))
4837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4844 wxPy_BEGIN_ALLOW_THREADS
;
4845 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
4847 wxPy_END_ALLOW_THREADS
;
4848 } _resultobj
= Py_BuildValue("i",_result
);
4852 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4853 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
4854 PyObject
* _resultobj
;
4858 PyObject
* _argo0
= 0;
4861 if(!PyArg_ParseTuple(args
,"Oi:wxMenu_IsEnabled",&_argo0
,&_arg1
))
4864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
4871 wxPy_BEGIN_ALLOW_THREADS
;
4872 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
4874 wxPy_END_ALLOW_THREADS
;
4875 } _resultobj
= Py_BuildValue("i",_result
);
4879 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4880 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
4881 PyObject
* _resultobj
;
4885 PyObject
* _argo0
= 0;
4886 PyObject
* _obj2
= 0;
4889 if(!PyArg_ParseTuple(args
,"OiO:wxMenu_SetLabel",&_argo0
,&_arg1
,&_obj2
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
4899 if (!PyString_Check(_obj2
)) {
4900 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4903 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4906 wxPy_BEGIN_ALLOW_THREADS
;
4907 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
4909 wxPy_END_ALLOW_THREADS
;
4910 } Py_INCREF(Py_None
);
4911 _resultobj
= Py_None
;
4919 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
4920 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
) {
4921 PyObject
* _resultobj
;
4923 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
4924 PyObject
* _argo0
= 0;
4925 PyObject
* _argo1
= 0;
4928 if(!PyArg_ParseTuple(args
,"O|O:wxMenu_UpdateUI",&_argo0
,&_argo1
))
4931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
4938 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
4945 wxPy_BEGIN_ALLOW_THREADS
;
4946 wxMenu_UpdateUI(_arg0
,_arg1
);
4948 wxPy_END_ALLOW_THREADS
;
4949 } Py_INCREF(Py_None
);
4950 _resultobj
= Py_None
;
4954 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
4957 src
= (wxMenuBar
*) ptr
;
4958 dest
= (wxEvtHandler
*) src
;
4959 return (void *) dest
;
4962 #define new_wxMenuBar() (new wxMenuBar())
4963 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
4964 PyObject
* _resultobj
;
4965 wxMenuBar
* _result
;
4969 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
4972 wxPy_BEGIN_ALLOW_THREADS
;
4973 _result
= (wxMenuBar
*)new_wxMenuBar();
4975 wxPy_END_ALLOW_THREADS
;
4977 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
4978 _resultobj
= Py_BuildValue("s",_ptemp
);
4981 _resultobj
= Py_None
;
4986 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
4987 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
4988 PyObject
* _resultobj
;
4992 PyObject
* _argo0
= 0;
4993 PyObject
* _argo1
= 0;
4994 PyObject
* _obj2
= 0;
4997 if(!PyArg_ParseTuple(args
,"OOO:wxMenuBar_Append",&_argo0
,&_argo1
,&_obj2
))
5000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
5007 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5008 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
5009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
5014 if (!PyString_Check(_obj2
)) {
5015 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5018 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5021 wxPy_BEGIN_ALLOW_THREADS
;
5022 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
5024 wxPy_END_ALLOW_THREADS
;
5025 } Py_INCREF(Py_None
);
5026 _resultobj
= Py_None
;
5034 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5035 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
5036 PyObject
* _resultobj
;
5040 PyObject
* _argo0
= 0;
5044 if(!PyArg_ParseTuple(args
,"Oii:wxMenuBar_Check",&_argo0
,&_arg1
,&tempbool2
))
5047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
5053 _arg2
= (bool ) tempbool2
;
5055 wxPy_BEGIN_ALLOW_THREADS
;
5056 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
5058 wxPy_END_ALLOW_THREADS
;
5059 } Py_INCREF(Py_None
);
5060 _resultobj
= Py_None
;
5064 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
5065 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
5066 PyObject
* _resultobj
;
5070 PyObject
* _argo0
= 0;
5073 if(!PyArg_ParseTuple(args
,"Oi:wxMenuBar_Checked",&_argo0
,&_arg1
))
5076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
5083 wxPy_BEGIN_ALLOW_THREADS
;
5084 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
5086 wxPy_END_ALLOW_THREADS
;
5087 } _resultobj
= Py_BuildValue("i",_result
);
5091 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5092 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
5093 PyObject
* _resultobj
;
5097 PyObject
* _argo0
= 0;
5101 if(!PyArg_ParseTuple(args
,"Oii:wxMenuBar_Enable",&_argo0
,&_arg1
,&tempbool2
))
5104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
5110 _arg2
= (bool ) tempbool2
;
5112 wxPy_BEGIN_ALLOW_THREADS
;
5113 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
5115 wxPy_END_ALLOW_THREADS
;
5116 } Py_INCREF(Py_None
);
5117 _resultobj
= Py_None
;
5121 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
5122 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
5123 PyObject
* _resultobj
;
5127 PyObject
* _argo0
= 0;
5130 if(!PyArg_ParseTuple(args
,"Oi:wxMenuBar_Enabled",&_argo0
,&_arg1
))
5133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
5140 wxPy_BEGIN_ALLOW_THREADS
;
5141 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
5143 wxPy_END_ALLOW_THREADS
;
5144 } _resultobj
= Py_BuildValue("i",_result
);
5148 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
5149 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
5150 PyObject
* _resultobj
;
5155 PyObject
* _argo0
= 0;
5156 PyObject
* _obj1
= 0;
5157 PyObject
* _obj2
= 0;
5160 if(!PyArg_ParseTuple(args
,"OOO:wxMenuBar_FindMenuItem",&_argo0
,&_obj1
,&_obj2
))
5163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
5170 if (!PyString_Check(_obj1
)) {
5171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5174 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5177 if (!PyString_Check(_obj2
)) {
5178 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5181 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5184 wxPy_BEGIN_ALLOW_THREADS
;
5185 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
5187 wxPy_END_ALLOW_THREADS
;
5188 } _resultobj
= Py_BuildValue("i",_result
);
5200 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5201 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
5202 PyObject
* _resultobj
;
5203 wxMenuItem
* _result
;
5206 PyObject
* _argo0
= 0;
5210 if(!PyArg_ParseTuple(args
,"Oi:wxMenuBar_FindItemForId",&_argo0
,&_arg1
))
5213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
5220 wxPy_BEGIN_ALLOW_THREADS
;
5221 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
5223 wxPy_END_ALLOW_THREADS
;
5225 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5226 _resultobj
= Py_BuildValue("s",_ptemp
);
5229 _resultobj
= Py_None
;
5234 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
5235 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
5236 PyObject
* _resultobj
;
5239 PyObject
* _argo0
= 0;
5242 if(!PyArg_ParseTuple(args
,"O:wxMenuBar_GetMenuCount",&_argo0
))
5245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
5252 wxPy_BEGIN_ALLOW_THREADS
;
5253 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
5255 wxPy_END_ALLOW_THREADS
;
5256 } _resultobj
= Py_BuildValue("i",_result
);
5260 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
5261 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
5262 PyObject
* _resultobj
;
5266 PyObject
* _argo0
= 0;
5270 if(!PyArg_ParseTuple(args
,"Oi:wxMenuBar_GetMenu",&_argo0
,&_arg1
))
5273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
5280 wxPy_BEGIN_ALLOW_THREADS
;
5281 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
5283 wxPy_END_ALLOW_THREADS
;
5285 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5286 _resultobj
= Py_BuildValue("s",_ptemp
);
5289 _resultobj
= Py_None
;
5294 #define new_wxMenuItem() (new wxMenuItem())
5295 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
) {
5296 PyObject
* _resultobj
;
5297 wxMenuItem
* _result
;
5301 if(!PyArg_ParseTuple(args
,":new_wxMenuItem"))
5304 wxPy_BEGIN_ALLOW_THREADS
;
5305 _result
= (wxMenuItem
*)new_wxMenuItem();
5307 wxPy_END_ALLOW_THREADS
;
5309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5310 _resultobj
= Py_BuildValue("s",_ptemp
);
5313 _resultobj
= Py_None
;
5318 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5319 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
5320 PyObject
* _resultobj
;
5323 PyObject
* _argo0
= 0;
5326 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_IsSeparator",&_argo0
))
5329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5336 wxPy_BEGIN_ALLOW_THREADS
;
5337 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
5339 wxPy_END_ALLOW_THREADS
;
5340 } _resultobj
= Py_BuildValue("i",_result
);
5344 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5345 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
5346 PyObject
* _resultobj
;
5349 PyObject
* _argo0
= 0;
5352 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_IsEnabled",&_argo0
))
5355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
5362 wxPy_BEGIN_ALLOW_THREADS
;
5363 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
5365 wxPy_END_ALLOW_THREADS
;
5366 } _resultobj
= Py_BuildValue("i",_result
);
5370 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
5371 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
5372 PyObject
* _resultobj
;
5375 PyObject
* _argo0
= 0;
5378 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_IsChecked",&_argo0
))
5381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
5388 wxPy_BEGIN_ALLOW_THREADS
;
5389 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
5391 wxPy_END_ALLOW_THREADS
;
5392 } _resultobj
= Py_BuildValue("i",_result
);
5396 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
5397 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
5398 PyObject
* _resultobj
;
5401 PyObject
* _argo0
= 0;
5404 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_IsCheckable",&_argo0
))
5407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
5414 wxPy_BEGIN_ALLOW_THREADS
;
5415 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
5417 wxPy_END_ALLOW_THREADS
;
5418 } _resultobj
= Py_BuildValue("i",_result
);
5422 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
5423 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
5424 PyObject
* _resultobj
;
5427 PyObject
* _argo0
= 0;
5430 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_GetId",&_argo0
))
5433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
5440 wxPy_BEGIN_ALLOW_THREADS
;
5441 _result
= (int )wxMenuItem_GetId(_arg0
);
5443 wxPy_END_ALLOW_THREADS
;
5444 } _resultobj
= Py_BuildValue("i",_result
);
5448 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
5449 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
5450 PyObject
* _resultobj
;
5453 PyObject
* _argo0
= 0;
5457 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_GetSubMenu",&_argo0
))
5460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
5467 wxPy_BEGIN_ALLOW_THREADS
;
5468 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
5470 wxPy_END_ALLOW_THREADS
;
5472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5473 _resultobj
= Py_BuildValue("s",_ptemp
);
5476 _resultobj
= Py_None
;
5481 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
5482 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
5483 PyObject
* _resultobj
;
5486 PyObject
* _argo0
= 0;
5487 PyObject
* _obj1
= 0;
5490 if(!PyArg_ParseTuple(args
,"OO:wxMenuItem_SetName",&_argo0
,&_obj1
))
5493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
5500 if (!PyString_Check(_obj1
)) {
5501 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5504 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5507 wxPy_BEGIN_ALLOW_THREADS
;
5508 wxMenuItem_SetName(_arg0
,*_arg1
);
5510 wxPy_END_ALLOW_THREADS
;
5511 } Py_INCREF(Py_None
);
5512 _resultobj
= Py_None
;
5520 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
5521 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
5522 PyObject
* _resultobj
;
5525 PyObject
* _argo0
= 0;
5528 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_GetName",&_argo0
))
5531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
5538 wxPy_BEGIN_ALLOW_THREADS
;
5539 _result
= new wxString (wxMenuItem_GetName(_arg0
));
5541 wxPy_END_ALLOW_THREADS
;
5543 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5551 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
5552 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
5553 PyObject
* _resultobj
;
5556 PyObject
* _argo0
= 0;
5559 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_GetHelp",&_argo0
))
5562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
5569 wxPy_BEGIN_ALLOW_THREADS
;
5570 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
5572 wxPy_END_ALLOW_THREADS
;
5574 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5582 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
5583 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
5584 PyObject
* _resultobj
;
5587 PyObject
* _argo0
= 0;
5588 PyObject
* _obj1
= 0;
5591 if(!PyArg_ParseTuple(args
,"OO:wxMenuItem_SetHelp",&_argo0
,&_obj1
))
5594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
5601 if (!PyString_Check(_obj1
)) {
5602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5605 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5608 wxPy_BEGIN_ALLOW_THREADS
;
5609 wxMenuItem_SetHelp(_arg0
,*_arg1
);
5611 wxPy_END_ALLOW_THREADS
;
5612 } Py_INCREF(Py_None
);
5613 _resultobj
= Py_None
;
5621 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5622 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
5623 PyObject
* _resultobj
;
5625 bool _arg1
= (bool ) TRUE
;
5626 PyObject
* _argo0
= 0;
5627 int tempbool1
= (int) TRUE
;
5630 if(!PyArg_ParseTuple(args
,"O|i:wxMenuItem_Enable",&_argo0
,&tempbool1
))
5633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
5639 _arg1
= (bool ) tempbool1
;
5641 wxPy_BEGIN_ALLOW_THREADS
;
5642 wxMenuItem_Enable(_arg0
,_arg1
);
5644 wxPy_END_ALLOW_THREADS
;
5645 } Py_INCREF(Py_None
);
5646 _resultobj
= Py_None
;
5650 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5651 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
5652 PyObject
* _resultobj
;
5654 bool _arg1
= (bool ) TRUE
;
5655 PyObject
* _argo0
= 0;
5656 int tempbool1
= (int) TRUE
;
5659 if(!PyArg_ParseTuple(args
,"O|i:wxMenuItem_Check",&_argo0
,&tempbool1
))
5662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
5668 _arg1
= (bool ) tempbool1
;
5670 wxPy_BEGIN_ALLOW_THREADS
;
5671 wxMenuItem_Check(_arg0
,_arg1
);
5673 wxPy_END_ALLOW_THREADS
;
5674 } Py_INCREF(Py_None
);
5675 _resultobj
= Py_None
;
5679 static PyMethodDef windowscMethods
[] = {
5680 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, METH_VARARGS
},
5681 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, METH_VARARGS
},
5682 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, METH_VARARGS
},
5683 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, METH_VARARGS
},
5684 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, METH_VARARGS
},
5685 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, METH_VARARGS
},
5686 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
},
5687 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, METH_VARARGS
},
5688 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
},
5689 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, METH_VARARGS
},
5690 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
},
5691 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
},
5692 { "new_wxMenuItem", _wrap_new_wxMenuItem
, METH_VARARGS
},
5693 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, METH_VARARGS
},
5694 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
},
5695 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, METH_VARARGS
},
5696 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
},
5697 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, METH_VARARGS
},
5698 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, METH_VARARGS
},
5699 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, METH_VARARGS
},
5700 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, METH_VARARGS
},
5701 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, METH_VARARGS
},
5702 { "new_wxMenuBar", _wrap_new_wxMenuBar
, METH_VARARGS
},
5703 { "wxMenu_UpdateUI", _wrap_wxMenu_UpdateUI
, METH_VARARGS
},
5704 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, METH_VARARGS
},
5705 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, METH_VARARGS
},
5706 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, METH_VARARGS
},
5707 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, METH_VARARGS
},
5708 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, METH_VARARGS
},
5709 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, METH_VARARGS
},
5710 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, METH_VARARGS
},
5711 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, METH_VARARGS
},
5712 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, METH_VARARGS
},
5713 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, METH_VARARGS
},
5714 { "wxMenu_Enable", _wrap_wxMenu_Enable
, METH_VARARGS
},
5715 { "wxMenu_Check", _wrap_wxMenu_Check
, METH_VARARGS
},
5716 { "wxMenu_Break", _wrap_wxMenu_Break
, METH_VARARGS
},
5717 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, METH_VARARGS
},
5718 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, METH_VARARGS
},
5719 { "wxMenu_Append", _wrap_wxMenu_Append
, METH_VARARGS
},
5720 { "new_wxMenu", _wrap_new_wxMenu
, METH_VARARGS
},
5721 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
},
5722 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
},
5723 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
},
5724 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
},
5725 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
},
5726 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
},
5727 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
},
5728 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
},
5729 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, METH_VARARGS
},
5730 { "wxDialog_SetReturnCode", _wrap_wxDialog_SetReturnCode
, METH_VARARGS
},
5731 { "wxDialog_GetReturnCode", _wrap_wxDialog_GetReturnCode
, METH_VARARGS
},
5732 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, METH_VARARGS
},
5733 { "wxDialog_Show", _wrap_wxDialog_Show
, METH_VARARGS
},
5734 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, METH_VARARGS
},
5735 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, METH_VARARGS
},
5736 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, METH_VARARGS
},
5737 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, METH_VARARGS
},
5738 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, METH_VARARGS
},
5739 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, METH_VARARGS
},
5740 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, METH_VARARGS
},
5741 { "wxDialog_Centre", _wrap_wxDialog_Centre
, METH_VARARGS
},
5742 { "new_wxDialog", _wrap_new_wxDialog
, METH_VARARGS
},
5743 { "wxPanel_SetDefaultItem", _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
},
5744 { "wxPanel_GetDefaultItem", _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
},
5745 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, METH_VARARGS
},
5746 { "new_wxPanel", _wrap_new_wxPanel
, METH_VARARGS
},
5747 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip
, METH_VARARGS
},
5748 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip
, METH_VARARGS
},
5749 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString
, METH_VARARGS
},
5750 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
},
5751 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
},
5752 { "wxWindow_DLG_SZE", _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
},
5753 { "wxWindow_DLG_PNT", _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
},
5754 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
},
5755 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
},
5756 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, METH_VARARGS
},
5757 { "wxWindow_Validate", _wrap_wxWindow_Validate
, METH_VARARGS
},
5758 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
},
5759 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
},
5760 { "wxWindow_Show", _wrap_wxWindow_Show
, METH_VARARGS
},
5761 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, METH_VARARGS
},
5762 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, METH_VARARGS
},
5763 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, METH_VARARGS
},
5764 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
},
5765 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, METH_VARARGS
},
5766 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, METH_VARARGS
},
5767 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, METH_VARARGS
},
5768 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, METH_VARARGS
},
5769 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, METH_VARARGS
},
5770 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, METH_VARARGS
},
5771 { "wxWindow_SetName", _wrap_wxWindow_SetName
, METH_VARARGS
},
5772 { "wxWindow_SetId", _wrap_wxWindow_SetId
, METH_VARARGS
},
5773 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
},
5774 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, METH_VARARGS
},
5775 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, METH_VARARGS
},
5776 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, METH_VARARGS
},
5777 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
},
5778 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
},
5779 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
},
5780 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, METH_VARARGS
},
5781 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, METH_VARARGS
},
5782 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
},
5783 { "wxWindow_Reparent", _wrap_wxWindow_Reparent
, METH_VARARGS
},
5784 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
},
5785 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, METH_VARARGS
},
5786 { "wxWindow_Raise", _wrap_wxWindow_Raise
, METH_VARARGS
},
5787 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, METH_VARARGS
},
5788 { "wxWindow_PopupMenuXY", _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
},
5789 { "wxWindow_Move", _wrap_wxWindow_Move
, METH_VARARGS
},
5790 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY
, METH_VARARGS
},
5791 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, METH_VARARGS
},
5792 { "wxWindow_Lower", _wrap_wxWindow_Lower
, METH_VARARGS
},
5793 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, METH_VARARGS
},
5794 { "wxWindow_Layout", _wrap_wxWindow_Layout
, METH_VARARGS
},
5795 { "wxWindow_IsTopLevel", _wrap_wxWindow_IsTopLevel
, METH_VARARGS
},
5796 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, METH_VARARGS
},
5797 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, METH_VARARGS
},
5798 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, METH_VARARGS
},
5799 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, METH_VARARGS
},
5800 { "wxWindow_Hide", _wrap_wxWindow_Hide
, METH_VARARGS
},
5801 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
},
5802 { "wxWindow_GetUpdateRegion", _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
},
5803 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, METH_VARARGS
},
5804 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
},
5805 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, METH_VARARGS
},
5806 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, METH_VARARGS
},
5807 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
},
5808 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, METH_VARARGS
},
5809 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, METH_VARARGS
},
5810 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
},
5811 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, METH_VARARGS
},
5812 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, METH_VARARGS
},
5813 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
},
5814 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, METH_VARARGS
},
5815 { "wxWindow_GetName", _wrap_wxWindow_GetName
, METH_VARARGS
},
5816 { "wxWindow_SetLabel", _wrap_wxWindow_SetLabel
, METH_VARARGS
},
5817 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, METH_VARARGS
},
5818 { "wxWindow_GetId", _wrap_wxWindow_GetId
, METH_VARARGS
},
5819 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, METH_VARARGS
},
5820 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
},
5821 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, METH_VARARGS
},
5822 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, METH_VARARGS
},
5823 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, METH_VARARGS
},
5824 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
},
5825 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, METH_VARARGS
},
5826 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, METH_VARARGS
},
5827 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
},
5828 { "wxWindow_Fit", _wrap_wxWindow_Fit
, METH_VARARGS
},
5829 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, METH_VARARGS
},
5830 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById
, METH_VARARGS
},
5831 { "wxWindow_Enable", _wrap_wxWindow_Enable
, METH_VARARGS
},
5832 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, METH_VARARGS
},
5833 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, METH_VARARGS
},
5834 { "wxWindow_Close", _wrap_wxWindow_Close
, METH_VARARGS
},
5835 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, METH_VARARGS
},
5836 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
},
5837 { "wxWindow_CenterOnParent", _wrap_wxWindow_CenterOnParent
, METH_VARARGS
},
5838 { "wxWindow_CentreOnParent", _wrap_wxWindow_CentreOnParent
, METH_VARARGS
},
5839 { "wxWindow_Centre", _wrap_wxWindow_Centre
, METH_VARARGS
},
5840 { "wxWindow_Center", _wrap_wxWindow_Center
, METH_VARARGS
},
5841 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, METH_VARARGS
},
5842 { "new_wxWindow", _wrap_new_wxWindow
, METH_VARARGS
},
5843 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, METH_VARARGS
},
5844 { "wxEvtHandler_ProcessEvent", _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
},
5851 * This table is used by the pointer type-checker
5853 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5854 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5855 { "_signed_long","_long",0},
5856 { "_wxPrintQuality","_int",0},
5857 { "_wxPrintQuality","_signed_int",0},
5858 { "_wxPrintQuality","_unsigned_int",0},
5859 { "_wxPrintQuality","_wxWindowID",0},
5860 { "_wxPrintQuality","_uint",0},
5861 { "_wxPrintQuality","_EBool",0},
5862 { "_wxPrintQuality","_size_t",0},
5863 { "_class_wxRegionIterator","_wxRegionIterator",0},
5864 { "_class_wxMenuBar","_wxMenuBar",0},
5865 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
5866 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
5867 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
5868 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
5869 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
5870 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
5871 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
5872 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
5873 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
5874 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
5875 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
5876 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
5877 { "_class_wxEvtHandler","_wxEvtHandler",0},
5878 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5879 { "_wxCursor","_class_wxCursor",0},
5880 { "_wxMask","_class_wxMask",0},
5881 { "_wxPen","_class_wxPen",0},
5882 { "_byte","_unsigned_char",0},
5883 { "_long","_wxDash",0},
5884 { "_long","_unsigned_long",0},
5885 { "_long","_signed_long",0},
5886 { "_wxImageList","_class_wxImageList",0},
5887 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5888 { "_wxDC","_class_wxDC",0},
5889 { "_size_t","_wxPrintQuality",0},
5890 { "_size_t","_unsigned_int",0},
5891 { "_size_t","_int",0},
5892 { "_size_t","_wxWindowID",0},
5893 { "_size_t","_uint",0},
5894 { "_class_wxRealPoint","_wxRealPoint",0},
5895 { "_class_wxMenuItem","_wxMenuItem",0},
5896 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5897 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
5898 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
5899 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
5900 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
5901 { "_wxPanel","_class_wxPanel",0},
5902 { "_class_wxMask","_wxMask",0},
5903 { "_wxColour","_class_wxColour",0},
5904 { "_class_wxDialog","_wxDialog",0},
5905 { "_wxBrush","_class_wxBrush",0},
5906 { "_uint","_wxPrintQuality",0},
5907 { "_uint","_size_t",0},
5908 { "_uint","_unsigned_int",0},
5909 { "_uint","_int",0},
5910 { "_uint","_wxWindowID",0},
5911 { "_wxRect","_class_wxRect",0},
5912 { "_wxPoint","_class_wxPoint",0},
5913 { "_wxBitmap","_class_wxBitmap",0},
5914 { "_wxPyTimer","_class_wxPyTimer",0},
5915 { "_wxWindowDC","_class_wxWindowDC",0},
5916 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5917 { "_EBool","_wxPrintQuality",0},
5918 { "_EBool","_signed_int",0},
5919 { "_EBool","_int",0},
5920 { "_EBool","_wxWindowID",0},
5921 { "_class_wxRegion","_wxRegion",0},
5922 { "_wxFont","_class_wxFont",0},
5923 { "_unsigned_long","_wxDash",0},
5924 { "_unsigned_long","_long",0},
5925 { "_class_wxRect","_wxRect",0},
5926 { "_class_wxDC","_wxDC",0},
5927 { "_class_wxPyTimer","_wxPyTimer",0},
5928 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5929 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
5930 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
5931 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
5932 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
5933 { "_class_wxPanel","_wxPanel",0},
5934 { "_signed_int","_wxPrintQuality",0},
5935 { "_signed_int","_EBool",0},
5936 { "_signed_int","_wxWindowID",0},
5937 { "_signed_int","_int",0},
5938 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5939 { "_wxMenu","_class_wxMenu",0},
5940 { "_wxScreenDC","_class_wxScreenDC",0},
5941 { "_WXTYPE","_short",0},
5942 { "_WXTYPE","_signed_short",0},
5943 { "_WXTYPE","_unsigned_short",0},
5944 { "_class_wxBrush","_wxBrush",0},
5945 { "_unsigned_short","_WXTYPE",0},
5946 { "_unsigned_short","_short",0},
5947 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
5948 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
5949 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
5950 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
5951 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
5952 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
5953 { "_class_wxWindow","_wxWindow",0},
5954 { "_class_wxFont","_wxFont",0},
5955 { "_wxClientDC","_class_wxClientDC",0},
5956 { "_class_wxPoint","_wxPoint",0},
5957 { "_wxRealPoint","_class_wxRealPoint",0},
5958 { "_signed_short","_WXTYPE",0},
5959 { "_signed_short","_short",0},
5960 { "_wxMemoryDC","_class_wxMemoryDC",0},
5961 { "_wxPaintDC","_class_wxPaintDC",0},
5962 { "_class_wxWindowDC","_wxWindowDC",0},
5963 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5964 { "_class_wxCursor","_wxCursor",0},
5965 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5966 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5967 { "_unsigned_char","_byte",0},
5968 { "_class_wxMenu","_wxMenu",0},
5969 { "_unsigned_int","_wxPrintQuality",0},
5970 { "_unsigned_int","_size_t",0},
5971 { "_unsigned_int","_uint",0},
5972 { "_unsigned_int","_wxWindowID",0},
5973 { "_unsigned_int","_int",0},
5974 { "_wxIcon","_class_wxIcon",0},
5975 { "_wxDialog","_class_wxDialog",0},
5976 { "_class_wxPen","_wxPen",0},
5977 { "_short","_WXTYPE",0},
5978 { "_short","_unsigned_short",0},
5979 { "_short","_signed_short",0},
5980 { "_class_wxImageList","_wxImageList",0},
5981 { "_wxWindowID","_wxPrintQuality",0},
5982 { "_wxWindowID","_size_t",0},
5983 { "_wxWindowID","_EBool",0},
5984 { "_wxWindowID","_uint",0},
5985 { "_wxWindowID","_int",0},
5986 { "_wxWindowID","_signed_int",0},
5987 { "_wxWindowID","_unsigned_int",0},
5988 { "_int","_wxPrintQuality",0},
5989 { "_int","_size_t",0},
5990 { "_int","_EBool",0},
5991 { "_int","_uint",0},
5992 { "_int","_wxWindowID",0},
5993 { "_int","_unsigned_int",0},
5994 { "_int","_signed_int",0},
5995 { "_wxSize","_class_wxSize",0},
5996 { "_wxRegionIterator","_class_wxRegionIterator",0},
5997 { "_class_wxPaintDC","_wxPaintDC",0},
5998 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5999 { "_class_wxIcon","_wxIcon",0},
6000 { "_class_wxColour","_wxColour",0},
6001 { "_class_wxScreenDC","_wxScreenDC",0},
6002 { "_wxPalette","_class_wxPalette",0},
6003 { "_wxRegion","_class_wxRegion",0},
6004 { "_class_wxClientDC","_wxClientDC",0},
6005 { "_class_wxSize","_wxSize",0},
6006 { "_class_wxBitmap","_wxBitmap",0},
6007 { "_class_wxMemoryDC","_wxMemoryDC",0},
6008 { "_wxMenuBar","_class_wxMenuBar",0},
6009 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6010 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6011 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
6012 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
6013 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6014 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6015 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
6016 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
6017 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
6018 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
6019 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
6020 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
6021 { "_wxEvtHandler","_class_wxEvtHandler",0},
6022 { "_wxMenuItem","_class_wxMenuItem",0},
6023 { "_wxDash","_unsigned_long",0},
6024 { "_wxDash","_long",0},
6025 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6026 { "_class_wxPalette","_wxPalette",0},
6027 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6028 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6029 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
6030 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
6031 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
6032 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
6033 { "_wxWindow","_class_wxWindow",0},
6036 static PyObject
*SWIG_globals
;
6040 SWIGEXPORT(void) initwindowsc() {
6042 SWIG_globals
= SWIG_newvarlink();
6043 m
= Py_InitModule("windowsc", windowscMethods
);
6044 d
= PyModule_GetDict(m
);
6047 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6048 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);