2 * FILE : src/gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindowsc
56 #define SWIG_name "windowsc"
59 #include <wx/menuitem.h>
60 #include <wx/tooltip.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "string type is required for parameter";
95 static wxString
wxPyEmptyStr("");
97 class wxPyValidator
: public wxValidator
{
98 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
106 wxObject
* wxPyValidator::Clone() const {
107 wxPyValidator
* ptr
= NULL
;
108 wxPyValidator
* self
= (wxPyValidator
*)this;
110 bool doSave
= wxPyRestoreThread();
111 if (self
->m_myInst
.findCallback("Clone")) {
113 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
115 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
119 // This is very dangerous!!! But is the only way I could find
120 // to squash a memory leak. Currently it is okay, but if the
121 // validator architecture in wxWindows ever changes, problems
125 wxPySaveThread(doSave
);
130 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
131 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
132 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
137 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
138 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
139 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
141 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
144 wxWindow
* wxWindow_FindFocus() {
145 return wxWindow::FindFocus();
148 int wxWindow_NewControlId() {
149 return wxWindow::NewControlId();
151 int wxWindow_NextControlId(int id
) {
152 return wxWindow::NextControlId(id
);
154 int wxWindow_PrevControlId(int id
) {
155 return wxWindow::PrevControlId(id
);
160 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
161 PyObject
* _resultobj
;
163 char *_kwnames
[] = { NULL
};
166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
169 wxPy_BEGIN_ALLOW_THREADS
;
170 _result
= (wxWindow
*)wxWindow_FindFocus();
172 wxPy_END_ALLOW_THREADS
;
173 if (PyErr_Occurred()) return NULL
;
174 }{ _resultobj
= wxPyMake_wxObject(_result
); }
178 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
179 PyObject
* _resultobj
;
181 char *_kwnames
[] = { NULL
};
184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
187 wxPy_BEGIN_ALLOW_THREADS
;
188 _result
= (int )wxWindow_NewControlId();
190 wxPy_END_ALLOW_THREADS
;
191 if (PyErr_Occurred()) return NULL
;
192 } _resultobj
= Py_BuildValue("i",_result
);
196 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
200 char *_kwnames
[] = { "id", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
206 wxPy_BEGIN_ALLOW_THREADS
;
207 _result
= (int )wxWindow_NextControlId(_arg0
);
209 wxPy_END_ALLOW_THREADS
;
210 if (PyErr_Occurred()) return NULL
;
211 } _resultobj
= Py_BuildValue("i",_result
);
215 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
216 PyObject
* _resultobj
;
219 char *_kwnames
[] = { "id", NULL
};
222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
225 wxPy_BEGIN_ALLOW_THREADS
;
226 _result
= (int )wxWindow_PrevControlId(_arg0
);
228 wxPy_END_ALLOW_THREADS
;
229 if (PyErr_Occurred()) return NULL
;
230 } _resultobj
= Py_BuildValue("i",_result
);
234 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
237 src
= (wxEvtHandler
*) ptr
;
238 dest
= (wxObject
*) src
;
239 return (void *) dest
;
242 #define new_wxEvtHandler() (new wxEvtHandler())
243 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
245 wxEvtHandler
* _result
;
246 char *_kwnames
[] = { NULL
};
250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
253 wxPy_BEGIN_ALLOW_THREADS
;
254 _result
= (wxEvtHandler
*)new_wxEvtHandler();
256 wxPy_END_ALLOW_THREADS
;
257 if (PyErr_Occurred()) return NULL
;
259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
260 _resultobj
= Py_BuildValue("s",_ptemp
);
263 _resultobj
= Py_None
;
268 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
269 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
270 PyObject
* _resultobj
;
272 wxEvtHandler
* _arg0
;
274 PyObject
* _argo0
= 0;
275 PyObject
* _argo1
= 0;
276 char *_kwnames
[] = { "self","event", NULL
};
279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
289 if (_argo1
== Py_None
) { _arg1
= NULL
; }
290 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
296 wxPy_BEGIN_ALLOW_THREADS
;
297 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
299 wxPy_END_ALLOW_THREADS
;
300 if (PyErr_Occurred()) return NULL
;
301 } _resultobj
= Py_BuildValue("i",_result
);
305 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
306 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
308 wxEvtHandler
* _arg0
;
310 PyObject
* _argo0
= 0;
311 PyObject
* _argo1
= 0;
312 char *_kwnames
[] = { "self","event", NULL
};
315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
325 if (_argo1
== Py_None
) { _arg1
= NULL
; }
326 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
332 wxPy_BEGIN_ALLOW_THREADS
;
333 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
335 wxPy_END_ALLOW_THREADS
;
336 if (PyErr_Occurred()) return NULL
;
337 } Py_INCREF(Py_None
);
338 _resultobj
= Py_None
;
342 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
343 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
344 PyObject
* _resultobj
;
346 wxEvtHandler
* _arg0
;
347 PyObject
* _argo0
= 0;
348 char *_kwnames
[] = { "self", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
361 wxPy_BEGIN_ALLOW_THREADS
;
362 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
364 wxPy_END_ALLOW_THREADS
;
365 if (PyErr_Occurred()) return NULL
;
366 } _resultobj
= Py_BuildValue("i",_result
);
370 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
371 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
372 PyObject
* _resultobj
;
373 wxEvtHandler
* _arg0
;
375 PyObject
* _argo0
= 0;
377 char *_kwnames
[] = { "self","enabled", NULL
};
380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
389 _arg1
= (bool ) tempbool1
;
391 wxPy_BEGIN_ALLOW_THREADS
;
392 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
394 wxPy_END_ALLOW_THREADS
;
395 if (PyErr_Occurred()) return NULL
;
396 } Py_INCREF(Py_None
);
397 _resultobj
= Py_None
;
401 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
402 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
404 wxEvtHandler
* _result
;
405 wxEvtHandler
* _arg0
;
406 PyObject
* _argo0
= 0;
407 char *_kwnames
[] = { "self", NULL
};
410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
420 wxPy_BEGIN_ALLOW_THREADS
;
421 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
423 wxPy_END_ALLOW_THREADS
;
424 if (PyErr_Occurred()) return NULL
;
425 }{ _resultobj
= wxPyMake_wxObject(_result
); }
429 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
430 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
431 PyObject
* _resultobj
;
432 wxEvtHandler
* _result
;
433 wxEvtHandler
* _arg0
;
434 PyObject
* _argo0
= 0;
435 char *_kwnames
[] = { "self", NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
448 wxPy_BEGIN_ALLOW_THREADS
;
449 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
451 wxPy_END_ALLOW_THREADS
;
452 if (PyErr_Occurred()) return NULL
;
453 }{ _resultobj
= wxPyMake_wxObject(_result
); }
457 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
458 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
459 PyObject
* _resultobj
;
460 wxEvtHandler
* _arg0
;
461 wxEvtHandler
* _arg1
;
462 PyObject
* _argo0
= 0;
463 PyObject
* _argo1
= 0;
464 char *_kwnames
[] = { "self","handler", NULL
};
467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
477 if (_argo1
== Py_None
) { _arg1
= NULL
; }
478 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
484 wxPy_BEGIN_ALLOW_THREADS
;
485 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
487 wxPy_END_ALLOW_THREADS
;
488 if (PyErr_Occurred()) return NULL
;
489 } Py_INCREF(Py_None
);
490 _resultobj
= Py_None
;
494 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
495 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 PyObject
* _resultobj
;
497 wxEvtHandler
* _arg0
;
498 wxEvtHandler
* _arg1
;
499 PyObject
* _argo0
= 0;
500 PyObject
* _argo1
= 0;
501 char *_kwnames
[] = { "self","handler", NULL
};
504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
521 wxPy_BEGIN_ALLOW_THREADS
;
522 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
524 wxPy_END_ALLOW_THREADS
;
525 if (PyErr_Occurred()) return NULL
;
526 } Py_INCREF(Py_None
);
527 _resultobj
= Py_None
;
531 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
532 if (PyCallable_Check(func
)) {
533 self
->Connect(id
, lastId
, eventType
,
534 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
535 new wxPyCallback(func
));
538 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
540 wxEvtHandler
* _arg0
;
545 PyObject
* _argo0
= 0;
546 PyObject
* _obj4
= 0;
547 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
563 wxPy_BEGIN_ALLOW_THREADS
;
564 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
566 wxPy_END_ALLOW_THREADS
;
567 if (PyErr_Occurred()) return NULL
;
568 } Py_INCREF(Py_None
);
569 _resultobj
= Py_None
;
573 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
574 return self
->Disconnect(id
, lastId
, eventType
,
575 (wxObjectEventFunction
)
576 &wxPyCallback::EventThunker
);
578 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
581 wxEvtHandler
* _arg0
;
583 int _arg2
= (int ) -1;
584 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
585 PyObject
* _argo0
= 0;
586 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
599 wxPy_BEGIN_ALLOW_THREADS
;
600 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
602 wxPy_END_ALLOW_THREADS
;
603 if (PyErr_Occurred()) return NULL
;
604 } _resultobj
= Py_BuildValue("i",_result
);
608 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
611 src
= (wxValidator
*) ptr
;
612 dest
= (wxEvtHandler
*) src
;
613 return (void *) dest
;
616 static void *SwigwxValidatorTowxObject(void *ptr
) {
619 src
= (wxValidator
*) ptr
;
620 dest
= (wxObject
*) src
;
621 return (void *) dest
;
624 #define new_wxValidator() (new wxValidator())
625 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
626 PyObject
* _resultobj
;
627 wxValidator
* _result
;
628 char *_kwnames
[] = { NULL
};
632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
635 wxPy_BEGIN_ALLOW_THREADS
;
636 _result
= (wxValidator
*)new_wxValidator();
638 wxPy_END_ALLOW_THREADS
;
639 if (PyErr_Occurred()) return NULL
;
641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
642 _resultobj
= Py_BuildValue("s",_ptemp
);
645 _resultobj
= Py_None
;
650 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
651 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
653 wxValidator
* _result
;
655 PyObject
* _argo0
= 0;
656 char *_kwnames
[] = { "self", NULL
};
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
669 wxPy_BEGIN_ALLOW_THREADS
;
670 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
672 wxPy_END_ALLOW_THREADS
;
673 if (PyErr_Occurred()) return NULL
;
674 }{ _resultobj
= wxPyMake_wxObject(_result
); }
678 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
679 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
683 PyObject
* _argo0
= 0;
684 char *_kwnames
[] = { "self", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
697 wxPy_BEGIN_ALLOW_THREADS
;
698 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
700 wxPy_END_ALLOW_THREADS
;
701 if (PyErr_Occurred()) return NULL
;
702 }{ _resultobj
= wxPyMake_wxObject(_result
); }
706 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
707 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
711 PyObject
* _argo0
= 0;
712 PyObject
* _argo1
= 0;
713 char *_kwnames
[] = { "self","window", NULL
};
716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
733 wxPy_BEGIN_ALLOW_THREADS
;
734 wxValidator_SetWindow(_arg0
,_arg1
);
736 wxPy_END_ALLOW_THREADS
;
737 if (PyErr_Occurred()) return NULL
;
738 } Py_INCREF(Py_None
);
739 _resultobj
= Py_None
;
743 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
746 char *_kwnames
[] = { NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
752 wxPy_BEGIN_ALLOW_THREADS
;
753 _result
= (bool )wxValidator::IsSilent();
755 wxPy_END_ALLOW_THREADS
;
756 if (PyErr_Occurred()) return NULL
;
757 } _resultobj
= Py_BuildValue("i",_result
);
761 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
762 PyObject
* _resultobj
;
763 int _arg0
= (int ) TRUE
;
764 char *_kwnames
[] = { "doIt", NULL
};
767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
770 wxPy_BEGIN_ALLOW_THREADS
;
771 wxValidator::SetBellOnError(_arg0
);
773 wxPy_END_ALLOW_THREADS
;
774 if (PyErr_Occurred()) return NULL
;
775 } Py_INCREF(Py_None
);
776 _resultobj
= Py_None
;
780 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
783 src
= (wxPyValidator
*) ptr
;
784 dest
= (wxValidator
*) src
;
785 return (void *) dest
;
788 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
791 src
= (wxPyValidator
*) ptr
;
792 dest
= (wxEvtHandler
*) src
;
793 return (void *) dest
;
796 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
799 src
= (wxPyValidator
*) ptr
;
800 dest
= (wxObject
*) src
;
801 return (void *) dest
;
804 #define new_wxPyValidator() (new wxPyValidator())
805 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 PyObject
* _resultobj
;
807 wxPyValidator
* _result
;
808 char *_kwnames
[] = { NULL
};
812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
815 wxPy_BEGIN_ALLOW_THREADS
;
816 _result
= (wxPyValidator
*)new_wxPyValidator();
818 wxPy_END_ALLOW_THREADS
;
819 if (PyErr_Occurred()) return NULL
;
821 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
822 _resultobj
= Py_BuildValue("s",_ptemp
);
825 _resultobj
= Py_None
;
830 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
831 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
833 wxPyValidator
* _arg0
;
836 int _arg3
= (int ) TRUE
;
837 PyObject
* _argo0
= 0;
838 PyObject
* _obj1
= 0;
839 PyObject
* _obj2
= 0;
840 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
859 wxPy_BEGIN_ALLOW_THREADS
;
860 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
862 wxPy_END_ALLOW_THREADS
;
863 if (PyErr_Occurred()) return NULL
;
864 } Py_INCREF(Py_None
);
865 _resultobj
= Py_None
;
869 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
872 src
= (wxWindow
*) ptr
;
873 dest
= (wxEvtHandler
*) src
;
874 return (void *) dest
;
877 static void *SwigwxWindowTowxObject(void *ptr
) {
880 src
= (wxWindow
*) ptr
;
881 dest
= (wxObject
*) src
;
882 return (void *) dest
;
885 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
886 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 PyObject
* _resultobj
;
891 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
892 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
893 long _arg4
= (long ) 0;
894 char * _arg5
= (char *) "panel";
895 PyObject
* _argo0
= 0;
897 PyObject
* _obj2
= 0;
899 PyObject
* _obj3
= 0;
900 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
916 if (! wxPoint_helper(_obj2
, &_arg2
))
922 if (! wxSize_helper(_obj3
, &_arg3
))
926 wxPy_BEGIN_ALLOW_THREADS
;
927 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
929 wxPy_END_ALLOW_THREADS
;
930 if (PyErr_Occurred()) return NULL
;
932 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
933 _resultobj
= Py_BuildValue("s",_ptemp
);
936 _resultobj
= Py_None
;
941 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
942 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
943 PyObject
* _resultobj
;
945 PyObject
* _argo0
= 0;
946 char *_kwnames
[] = { "self", NULL
};
949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
959 wxPy_BEGIN_ALLOW_THREADS
;
960 wxWindow_CaptureMouse(_arg0
);
962 wxPy_END_ALLOW_THREADS
;
963 if (PyErr_Occurred()) return NULL
;
964 } Py_INCREF(Py_None
);
965 _resultobj
= Py_None
;
969 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
970 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
973 int _arg1
= (int ) wxBOTH
;
974 PyObject
* _argo0
= 0;
975 char *_kwnames
[] = { "self","direction", NULL
};
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
988 wxPy_BEGIN_ALLOW_THREADS
;
989 wxWindow_Center(_arg0
,_arg1
);
991 wxPy_END_ALLOW_THREADS
;
992 if (PyErr_Occurred()) return NULL
;
993 } Py_INCREF(Py_None
);
994 _resultobj
= Py_None
;
998 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
999 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
* _resultobj
;
1002 int _arg1
= (int ) wxBOTH
;
1003 PyObject
* _argo0
= 0;
1004 char *_kwnames
[] = { "self","direction", NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1017 wxPy_BEGIN_ALLOW_THREADS
;
1018 wxWindow_Centre(_arg0
,_arg1
);
1020 wxPy_END_ALLOW_THREADS
;
1021 if (PyErr_Occurred()) return NULL
;
1022 } Py_INCREF(Py_None
);
1023 _resultobj
= Py_None
;
1027 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1028 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1031 int _arg1
= (int ) wxBOTH
;
1032 PyObject
* _argo0
= 0;
1033 char *_kwnames
[] = { "self","direction", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1046 wxPy_BEGIN_ALLOW_THREADS
;
1047 wxWindow_CentreOnParent(_arg0
,_arg1
);
1049 wxPy_END_ALLOW_THREADS
;
1050 if (PyErr_Occurred()) return NULL
;
1051 } Py_INCREF(Py_None
);
1052 _resultobj
= Py_None
;
1056 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1057 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 int _arg1
= (int ) wxBOTH
;
1061 PyObject
* _argo0
= 0;
1062 char *_kwnames
[] = { "self","direction", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1075 wxPy_BEGIN_ALLOW_THREADS
;
1076 wxWindow_CenterOnParent(_arg0
,_arg1
);
1078 wxPy_END_ALLOW_THREADS
;
1079 if (PyErr_Occurred()) return NULL
;
1080 } Py_INCREF(Py_None
);
1081 _resultobj
= Py_None
;
1085 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1086 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1089 int _arg1
= (int ) wxBOTH
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self","direction", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1107 wxPy_END_ALLOW_THREADS
;
1108 if (PyErr_Occurred()) return NULL
;
1109 } Py_INCREF(Py_None
);
1110 _resultobj
= Py_None
;
1114 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1115 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 int _arg1
= (int ) wxBOTH
;
1119 PyObject
* _argo0
= 0;
1120 char *_kwnames
[] = { "self","direction", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1133 wxPy_BEGIN_ALLOW_THREADS
;
1134 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1136 wxPy_END_ALLOW_THREADS
;
1137 if (PyErr_Occurred()) return NULL
;
1138 } Py_INCREF(Py_None
);
1139 _resultobj
= Py_None
;
1143 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1144 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
* _resultobj
;
1149 PyObject
* _argo0
= 0;
1151 PyObject
* _obj1
= 0;
1153 PyObject
* _obj2
= 0;
1154 char *_kwnames
[] = { "self","x","y", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1167 temp
= (int) PyInt_AsLong(_obj1
);
1171 temp0
= (int) PyInt_AsLong(_obj2
);
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1178 wxPy_END_ALLOW_THREADS
;
1179 if (PyErr_Occurred()) return NULL
;
1180 } Py_INCREF(Py_None
);
1181 _resultobj
= Py_None
;
1184 o
= PyInt_FromLong((long) (*_arg1
));
1185 _resultobj
= t_output_helper(_resultobj
, o
);
1189 o
= PyInt_FromLong((long) (*_arg2
));
1190 _resultobj
= t_output_helper(_resultobj
, o
);
1195 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1196 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
* _resultobj
;
1201 PyObject
* _argo0
= 0;
1203 PyObject
* _obj1
= 0;
1204 char *_kwnames
[] = { "self","pt", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1219 if (! wxPoint_helper(_obj1
, &_arg1
))
1223 wxPy_BEGIN_ALLOW_THREADS
;
1224 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1226 wxPy_END_ALLOW_THREADS
;
1227 if (PyErr_Occurred()) return NULL
;
1228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1229 _resultobj
= Py_BuildValue("s",_ptemp
);
1233 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1234 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1238 int _arg1
= (int ) FALSE
;
1239 PyObject
* _argo0
= 0;
1240 char *_kwnames
[] = { "self","force", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1253 wxPy_BEGIN_ALLOW_THREADS
;
1254 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1256 wxPy_END_ALLOW_THREADS
;
1257 if (PyErr_Occurred()) return NULL
;
1258 } _resultobj
= Py_BuildValue("i",_result
);
1262 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1263 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1267 PyObject
* _argo0
= 0;
1268 char *_kwnames
[] = { "self", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1281 wxPy_BEGIN_ALLOW_THREADS
;
1282 _result
= (bool )wxWindow_Destroy(_arg0
);
1284 wxPy_END_ALLOW_THREADS
;
1285 if (PyErr_Occurred()) return NULL
;
1286 } _resultobj
= Py_BuildValue("i",_result
);
1290 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1291 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1294 PyObject
* _argo0
= 0;
1295 char *_kwnames
[] = { "self", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1308 wxPy_BEGIN_ALLOW_THREADS
;
1309 wxWindow_DestroyChildren(_arg0
);
1311 wxPy_END_ALLOW_THREADS
;
1312 if (PyErr_Occurred()) return NULL
;
1313 } Py_INCREF(Py_None
);
1314 _resultobj
= Py_None
;
1318 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1319 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1323 PyObject
* _argo0
= 0;
1324 char *_kwnames
[] = { "self", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1337 wxPy_BEGIN_ALLOW_THREADS
;
1338 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1340 wxPy_END_ALLOW_THREADS
;
1341 if (PyErr_Occurred()) return NULL
;
1342 } _resultobj
= Py_BuildValue("i",_result
);
1346 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1347 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
* _resultobj
;
1351 PyObject
* _argo0
= 0;
1353 char *_kwnames
[] = { "self","enable", NULL
};
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1365 _arg1
= (bool ) tempbool1
;
1367 wxPy_BEGIN_ALLOW_THREADS
;
1368 wxWindow_Enable(_arg0
,_arg1
);
1370 wxPy_END_ALLOW_THREADS
;
1371 if (PyErr_Occurred()) return NULL
;
1372 } Py_INCREF(Py_None
);
1373 _resultobj
= Py_None
;
1377 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1378 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1379 PyObject
* _resultobj
;
1383 PyObject
* _argo0
= 0;
1384 char *_kwnames
[] = { "self","id", NULL
};
1387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1397 wxPy_BEGIN_ALLOW_THREADS
;
1398 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1400 wxPy_END_ALLOW_THREADS
;
1401 if (PyErr_Occurred()) return NULL
;
1402 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1406 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1407 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
* _resultobj
;
1412 PyObject
* _argo0
= 0;
1413 PyObject
* _obj1
= 0;
1414 char *_kwnames
[] = { "self","name", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1427 #if PYTHON_API_VERSION >= 1009
1428 char* tmpPtr
; int tmpSize
;
1429 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1433 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1435 _arg1
= new wxString(tmpPtr
, tmpSize
);
1437 if (!PyString_Check(_obj1
)) {
1438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1441 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1445 wxPy_BEGIN_ALLOW_THREADS
;
1446 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1448 wxPy_END_ALLOW_THREADS
;
1449 if (PyErr_Occurred()) return NULL
;
1450 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1458 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1459 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1462 PyObject
* _argo0
= 0;
1463 char *_kwnames
[] = { "self", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1476 wxPy_BEGIN_ALLOW_THREADS
;
1477 wxWindow_Fit(_arg0
);
1479 wxPy_END_ALLOW_THREADS
;
1480 if (PyErr_Occurred()) return NULL
;
1481 } Py_INCREF(Py_None
);
1482 _resultobj
= Py_None
;
1486 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1487 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
* _resultobj
;
1491 PyObject
* _argo0
= 0;
1492 char *_kwnames
[] = { "self", NULL
};
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1509 wxPy_END_ALLOW_THREADS
;
1510 if (PyErr_Occurred()) return NULL
;
1511 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1512 _resultobj
= Py_BuildValue("s",_ptemp
);
1516 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1517 wxWindowList
& list
= self
->GetChildren();
1518 return wxPy_ConvertList(&list
, "wxWindow");
1520 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
* _resultobj
;
1524 PyObject
* _argo0
= 0;
1525 char *_kwnames
[] = { "self", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1538 wxPy_BEGIN_ALLOW_THREADS
;
1539 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1541 wxPy_END_ALLOW_THREADS
;
1542 if (PyErr_Occurred()) return NULL
;
1544 _resultobj
= _result
;
1549 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1550 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1554 PyObject
* _argo0
= 0;
1555 char *_kwnames
[] = { "self", NULL
};
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1568 wxPy_BEGIN_ALLOW_THREADS
;
1569 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1571 wxPy_END_ALLOW_THREADS
;
1572 if (PyErr_Occurred()) return NULL
;
1573 } _resultobj
= Py_BuildValue("i",_result
);
1577 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1578 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
* _resultobj
;
1582 PyObject
* _argo0
= 0;
1583 char *_kwnames
[] = { "self", NULL
};
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1596 wxPy_BEGIN_ALLOW_THREADS
;
1597 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1599 wxPy_END_ALLOW_THREADS
;
1600 if (PyErr_Occurred()) return NULL
;
1601 } _resultobj
= Py_BuildValue("i",_result
);
1605 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1606 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
* _resultobj
;
1613 PyObject
* _argo0
= 0;
1614 char *_kwnames
[] = { "self", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1636 wxPy_END_ALLOW_THREADS
;
1637 if (PyErr_Occurred()) return NULL
;
1638 } Py_INCREF(Py_None
);
1639 _resultobj
= Py_None
;
1642 o
= PyInt_FromLong((long) (*_arg1
));
1643 _resultobj
= t_output_helper(_resultobj
, o
);
1647 o
= PyInt_FromLong((long) (*_arg2
));
1648 _resultobj
= t_output_helper(_resultobj
, o
);
1653 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1654 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1658 PyObject
* _argo0
= 0;
1659 char *_kwnames
[] = { "self", NULL
};
1663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1673 wxPy_BEGIN_ALLOW_THREADS
;
1674 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1676 wxPy_END_ALLOW_THREADS
;
1677 if (PyErr_Occurred()) return NULL
;
1678 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1679 _resultobj
= Py_BuildValue("s",_ptemp
);
1683 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1684 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1686 wxLayoutConstraints
* _result
;
1688 PyObject
* _argo0
= 0;
1689 char *_kwnames
[] = { "self", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1703 wxPy_BEGIN_ALLOW_THREADS
;
1704 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1706 wxPy_END_ALLOW_THREADS
;
1707 if (PyErr_Occurred()) return NULL
;
1709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1710 _resultobj
= Py_BuildValue("s",_ptemp
);
1713 _resultobj
= Py_None
;
1718 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1719 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1720 PyObject
* _resultobj
;
1721 wxEvtHandler
* _result
;
1723 PyObject
* _argo0
= 0;
1724 char *_kwnames
[] = { "self", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1737 wxPy_BEGIN_ALLOW_THREADS
;
1738 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1740 wxPy_END_ALLOW_THREADS
;
1741 if (PyErr_Occurred()) return NULL
;
1742 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1746 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1747 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1751 PyObject
* _argo0
= 0;
1752 char *_kwnames
[] = { "self", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1766 wxPy_BEGIN_ALLOW_THREADS
;
1767 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1768 _result
= (wxFont
*) &_result_ref
;
1770 wxPy_END_ALLOW_THREADS
;
1771 if (PyErr_Occurred()) return NULL
;
1773 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1774 _resultobj
= Py_BuildValue("s",_ptemp
);
1777 _resultobj
= Py_None
;
1782 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1783 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1787 PyObject
* _argo0
= 0;
1788 char *_kwnames
[] = { "self", NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1802 wxPy_BEGIN_ALLOW_THREADS
;
1803 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1805 wxPy_END_ALLOW_THREADS
;
1806 if (PyErr_Occurred()) return NULL
;
1807 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1808 _resultobj
= Py_BuildValue("s",_ptemp
);
1812 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1813 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1817 PyObject
* _argo0
= 0;
1818 char *_kwnames
[] = { "self", NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1831 wxPy_BEGIN_ALLOW_THREADS
;
1832 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1834 wxPy_END_ALLOW_THREADS
;
1835 if (PyErr_Occurred()) return NULL
;
1836 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1840 static long wxWindow_GetHandle(wxWindow
*self
) {
1841 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1843 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1847 PyObject
* _argo0
= 0;
1848 char *_kwnames
[] = { "self", NULL
};
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1861 wxPy_BEGIN_ALLOW_THREADS
;
1862 _result
= (long )wxWindow_GetHandle(_arg0
);
1864 wxPy_END_ALLOW_THREADS
;
1865 if (PyErr_Occurred()) return NULL
;
1866 } _resultobj
= Py_BuildValue("l",_result
);
1870 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1871 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
* _resultobj
;
1875 PyObject
* _argo0
= 0;
1876 char *_kwnames
[] = { "self", NULL
};
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1889 wxPy_BEGIN_ALLOW_THREADS
;
1890 _result
= (int )wxWindow_GetId(_arg0
);
1892 wxPy_END_ALLOW_THREADS
;
1893 if (PyErr_Occurred()) return NULL
;
1894 } _resultobj
= Py_BuildValue("i",_result
);
1898 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1899 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1903 PyObject
* _argo0
= 0;
1904 char *_kwnames
[] = { "self", NULL
};
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1920 wxPy_END_ALLOW_THREADS
;
1921 if (PyErr_Occurred()) return NULL
;
1923 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1931 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1932 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1936 PyObject
* _argo0
= 0;
1937 PyObject
* _obj1
= 0;
1938 char *_kwnames
[] = { "self","label", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1951 #if PYTHON_API_VERSION >= 1009
1952 char* tmpPtr
; int tmpSize
;
1953 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1954 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1957 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1959 _arg1
= new wxString(tmpPtr
, tmpSize
);
1961 if (!PyString_Check(_obj1
)) {
1962 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1965 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1969 wxPy_BEGIN_ALLOW_THREADS
;
1970 wxWindow_SetLabel(_arg0
,*_arg1
);
1972 wxPy_END_ALLOW_THREADS
;
1973 if (PyErr_Occurred()) return NULL
;
1974 } Py_INCREF(Py_None
);
1975 _resultobj
= Py_None
;
1983 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1984 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1988 PyObject
* _argo0
= 0;
1989 char *_kwnames
[] = { "self", NULL
};
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2002 wxPy_BEGIN_ALLOW_THREADS
;
2003 _result
= new wxString (wxWindow_GetName(_arg0
));
2005 wxPy_END_ALLOW_THREADS
;
2006 if (PyErr_Occurred()) return NULL
;
2008 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2016 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2017 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2021 PyObject
* _argo0
= 0;
2022 char *_kwnames
[] = { "self", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2035 wxPy_BEGIN_ALLOW_THREADS
;
2036 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2038 wxPy_END_ALLOW_THREADS
;
2039 if (PyErr_Occurred()) return NULL
;
2040 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2044 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2045 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2052 PyObject
* _argo0
= 0;
2053 char *_kwnames
[] = { "self", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2072 wxPy_BEGIN_ALLOW_THREADS
;
2073 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2075 wxPy_END_ALLOW_THREADS
;
2076 if (PyErr_Occurred()) return NULL
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2081 o
= PyInt_FromLong((long) (*_arg1
));
2082 _resultobj
= t_output_helper(_resultobj
, o
);
2086 o
= PyInt_FromLong((long) (*_arg2
));
2087 _resultobj
= t_output_helper(_resultobj
, o
);
2092 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2093 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2097 PyObject
* _argo0
= 0;
2098 char *_kwnames
[] = { "self", NULL
};
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2112 wxPy_BEGIN_ALLOW_THREADS
;
2113 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2115 wxPy_END_ALLOW_THREADS
;
2116 if (PyErr_Occurred()) return NULL
;
2117 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2118 _resultobj
= Py_BuildValue("s",_ptemp
);
2122 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2123 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
* _resultobj
;
2127 PyObject
* _argo0
= 0;
2128 char *_kwnames
[] = { "self", NULL
};
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2142 wxPy_BEGIN_ALLOW_THREADS
;
2143 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2145 wxPy_END_ALLOW_THREADS
;
2146 if (PyErr_Occurred()) return NULL
;
2147 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2148 _resultobj
= Py_BuildValue("s",_ptemp
);
2152 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2153 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2158 PyObject
* _argo0
= 0;
2159 char *_kwnames
[] = { "self","orientation", NULL
};
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
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_GetScrollThumb. Expected _wxWindow_p.");
2172 wxPy_BEGIN_ALLOW_THREADS
;
2173 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2175 wxPy_END_ALLOW_THREADS
;
2176 if (PyErr_Occurred()) return NULL
;
2177 } _resultobj
= Py_BuildValue("i",_result
);
2181 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2182 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2187 PyObject
* _argo0
= 0;
2188 char *_kwnames
[] = { "self","orientation", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2201 wxPy_BEGIN_ALLOW_THREADS
;
2202 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2204 wxPy_END_ALLOW_THREADS
;
2205 if (PyErr_Occurred()) return NULL
;
2206 } _resultobj
= Py_BuildValue("i",_result
);
2210 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2211 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
* _resultobj
;
2216 PyObject
* _argo0
= 0;
2217 char *_kwnames
[] = { "self","orientation", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2230 wxPy_BEGIN_ALLOW_THREADS
;
2231 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2233 wxPy_END_ALLOW_THREADS
;
2234 if (PyErr_Occurred()) return NULL
;
2235 } _resultobj
= Py_BuildValue("i",_result
);
2239 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2240 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2247 PyObject
* _argo0
= 0;
2248 char *_kwnames
[] = { "self", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2270 wxPy_END_ALLOW_THREADS
;
2271 if (PyErr_Occurred()) return NULL
;
2272 } Py_INCREF(Py_None
);
2273 _resultobj
= Py_None
;
2276 o
= PyInt_FromLong((long) (*_arg1
));
2277 _resultobj
= t_output_helper(_resultobj
, o
);
2281 o
= PyInt_FromLong((long) (*_arg2
));
2282 _resultobj
= t_output_helper(_resultobj
, o
);
2287 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2288 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
* _resultobj
;
2292 PyObject
* _argo0
= 0;
2293 char *_kwnames
[] = { "self", NULL
};
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2307 wxPy_BEGIN_ALLOW_THREADS
;
2308 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2310 wxPy_END_ALLOW_THREADS
;
2311 if (PyErr_Occurred()) return NULL
;
2312 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2313 _resultobj
= Py_BuildValue("s",_ptemp
);
2317 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2318 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
* _resultobj
;
2326 PyObject
* _argo0
= 0;
2327 PyObject
* _obj1
= 0;
2328 char *_kwnames
[] = { "self","string", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2347 #if PYTHON_API_VERSION >= 1009
2348 char* tmpPtr
; int tmpSize
;
2349 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2350 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2353 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2355 _arg1
= new wxString(tmpPtr
, tmpSize
);
2357 if (!PyString_Check(_obj1
)) {
2358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2361 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2365 wxPy_BEGIN_ALLOW_THREADS
;
2366 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2368 wxPy_END_ALLOW_THREADS
;
2369 if (PyErr_Occurred()) return NULL
;
2370 } Py_INCREF(Py_None
);
2371 _resultobj
= Py_None
;
2374 o
= PyInt_FromLong((long) (*_arg2
));
2375 _resultobj
= t_output_helper(_resultobj
, o
);
2379 o
= PyInt_FromLong((long) (*_arg3
));
2380 _resultobj
= t_output_helper(_resultobj
, o
);
2389 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2390 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
* _resultobj
;
2402 wxFont
* _arg6
= (wxFont
*) NULL
;
2403 PyObject
* _argo0
= 0;
2404 PyObject
* _obj1
= 0;
2405 PyObject
* _argo6
= 0;
2406 char *_kwnames
[] = { "self","string","font", NULL
};
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2431 #if PYTHON_API_VERSION >= 1009
2432 char* tmpPtr
; int tmpSize
;
2433 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2434 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2437 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2439 _arg1
= new wxString(tmpPtr
, tmpSize
);
2441 if (!PyString_Check(_obj1
)) {
2442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2445 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2449 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2450 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2456 wxPy_BEGIN_ALLOW_THREADS
;
2457 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2459 wxPy_END_ALLOW_THREADS
;
2460 if (PyErr_Occurred()) return NULL
;
2461 } Py_INCREF(Py_None
);
2462 _resultobj
= Py_None
;
2465 o
= PyInt_FromLong((long) (*_arg2
));
2466 _resultobj
= t_output_helper(_resultobj
, o
);
2470 o
= PyInt_FromLong((long) (*_arg3
));
2471 _resultobj
= t_output_helper(_resultobj
, o
);
2475 o
= PyInt_FromLong((long) (*_arg4
));
2476 _resultobj
= t_output_helper(_resultobj
, o
);
2480 o
= PyInt_FromLong((long) (*_arg5
));
2481 _resultobj
= t_output_helper(_resultobj
, o
);
2490 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2491 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
* _resultobj
;
2495 PyObject
* _argo0
= 0;
2496 char *_kwnames
[] = { "self", NULL
};
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2509 wxPy_BEGIN_ALLOW_THREADS
;
2510 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2512 wxPy_END_ALLOW_THREADS
;
2513 if (PyErr_Occurred()) return NULL
;
2515 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2523 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2524 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
* _resultobj
;
2528 PyObject
* _argo0
= 0;
2529 char *_kwnames
[] = { "self", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2543 wxPy_BEGIN_ALLOW_THREADS
;
2544 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2546 wxPy_END_ALLOW_THREADS
;
2547 if (PyErr_Occurred()) return NULL
;
2548 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2549 _resultobj
= Py_BuildValue("s",_ptemp
);
2553 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2554 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2558 PyObject
* _argo0
= 0;
2559 char *_kwnames
[] = { "self", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2572 wxPy_BEGIN_ALLOW_THREADS
;
2573 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2575 wxPy_END_ALLOW_THREADS
;
2576 if (PyErr_Occurred()) return NULL
;
2577 } _resultobj
= Py_BuildValue("l",_result
);
2581 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2582 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2586 PyObject
* _argo0
= 0;
2587 char *_kwnames
[] = { "self","style", NULL
};
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2600 wxPy_BEGIN_ALLOW_THREADS
;
2601 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2603 wxPy_END_ALLOW_THREADS
;
2604 if (PyErr_Occurred()) return NULL
;
2605 } Py_INCREF(Py_None
);
2606 _resultobj
= Py_None
;
2610 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2611 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2615 PyObject
* _argo0
= 0;
2616 char *_kwnames
[] = { "self","style", NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2629 wxPy_BEGIN_ALLOW_THREADS
;
2630 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2632 wxPy_END_ALLOW_THREADS
;
2633 if (PyErr_Occurred()) return NULL
;
2634 } Py_INCREF(Py_None
);
2635 _resultobj
= Py_None
;
2639 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2640 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2644 PyObject
* _argo0
= 0;
2645 char *_kwnames
[] = { "self", NULL
};
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2658 wxPy_BEGIN_ALLOW_THREADS
;
2659 _result
= (bool )wxWindow_Hide(_arg0
);
2661 wxPy_END_ALLOW_THREADS
;
2662 if (PyErr_Occurred()) return NULL
;
2663 } _resultobj
= Py_BuildValue("i",_result
);
2667 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2668 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2671 PyObject
* _argo0
= 0;
2672 char *_kwnames
[] = { "self", NULL
};
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2685 wxPy_BEGIN_ALLOW_THREADS
;
2686 wxWindow_InitDialog(_arg0
);
2688 wxPy_END_ALLOW_THREADS
;
2689 if (PyErr_Occurred()) return NULL
;
2690 } Py_INCREF(Py_None
);
2691 _resultobj
= Py_None
;
2695 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2696 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
* _resultobj
;
2700 PyObject
* _argo0
= 0;
2701 char *_kwnames
[] = { "self", NULL
};
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2714 wxPy_BEGIN_ALLOW_THREADS
;
2715 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2717 wxPy_END_ALLOW_THREADS
;
2718 if (PyErr_Occurred()) return NULL
;
2719 } _resultobj
= Py_BuildValue("i",_result
);
2723 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2724 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2730 int _arg3
= (int ) 0;
2731 int _arg4
= (int ) 0;
2732 PyObject
* _argo0
= 0;
2733 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2746 wxPy_BEGIN_ALLOW_THREADS
;
2747 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2749 wxPy_END_ALLOW_THREADS
;
2750 if (PyErr_Occurred()) return NULL
;
2751 } _resultobj
= Py_BuildValue("i",_result
);
2755 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2756 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
* _resultobj
;
2761 PyObject
* _argo0
= 0;
2763 PyObject
* _obj1
= 0;
2764 char *_kwnames
[] = { "self","pt", NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2778 if (! wxPoint_helper(_obj1
, &_arg1
))
2782 wxPy_BEGIN_ALLOW_THREADS
;
2783 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2785 wxPy_END_ALLOW_THREADS
;
2786 if (PyErr_Occurred()) return NULL
;
2787 } _resultobj
= Py_BuildValue("i",_result
);
2791 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2792 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
* _resultobj
;
2797 PyObject
* _argo0
= 0;
2799 PyObject
* _obj1
= 0;
2800 char *_kwnames
[] = { "self","rect", NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2814 if (! wxRect_helper(_obj1
, &_arg1
))
2818 wxPy_BEGIN_ALLOW_THREADS
;
2819 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2821 wxPy_END_ALLOW_THREADS
;
2822 if (PyErr_Occurred()) return NULL
;
2823 } _resultobj
= Py_BuildValue("i",_result
);
2827 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2828 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2832 PyObject
* _argo0
= 0;
2833 char *_kwnames
[] = { "self", NULL
};
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2846 wxPy_BEGIN_ALLOW_THREADS
;
2847 _result
= (bool )wxWindow_IsRetained(_arg0
);
2849 wxPy_END_ALLOW_THREADS
;
2850 if (PyErr_Occurred()) return NULL
;
2851 } _resultobj
= Py_BuildValue("i",_result
);
2855 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2856 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
* _resultobj
;
2860 PyObject
* _argo0
= 0;
2861 char *_kwnames
[] = { "self", NULL
};
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2874 wxPy_BEGIN_ALLOW_THREADS
;
2875 _result
= (bool )wxWindow_IsShown(_arg0
);
2877 wxPy_END_ALLOW_THREADS
;
2878 if (PyErr_Occurred()) return NULL
;
2879 } _resultobj
= Py_BuildValue("i",_result
);
2883 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2884 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2888 PyObject
* _argo0
= 0;
2889 char *_kwnames
[] = { "self", NULL
};
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2902 wxPy_BEGIN_ALLOW_THREADS
;
2903 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2905 wxPy_END_ALLOW_THREADS
;
2906 if (PyErr_Occurred()) return NULL
;
2907 } _resultobj
= Py_BuildValue("i",_result
);
2911 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2912 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
* _resultobj
;
2915 PyObject
* _argo0
= 0;
2916 char *_kwnames
[] = { "self", NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2929 wxPy_BEGIN_ALLOW_THREADS
;
2930 wxWindow_Layout(_arg0
);
2932 wxPy_END_ALLOW_THREADS
;
2933 if (PyErr_Occurred()) return NULL
;
2934 } Py_INCREF(Py_None
);
2935 _resultobj
= Py_None
;
2939 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2940 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
* _resultobj
;
2946 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2947 PyObject
* _argo0
= 0;
2948 PyObject
* _argo1
= 0;
2949 PyObject
* _obj2
= 0;
2950 PyObject
* _argo3
= 0;
2951 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2964 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2971 #if PYTHON_API_VERSION >= 1009
2972 char* tmpPtr
; int tmpSize
;
2973 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2974 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2977 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2979 _arg2
= new wxString(tmpPtr
, tmpSize
);
2981 if (!PyString_Check(_obj2
)) {
2982 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2985 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2989 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2990 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2996 wxPy_BEGIN_ALLOW_THREADS
;
2997 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2999 wxPy_END_ALLOW_THREADS
;
3000 if (PyErr_Occurred()) return NULL
;
3001 } _resultobj
= Py_BuildValue("i",_result
);
3009 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3010 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
* _resultobj
;
3013 PyObject
* _argo0
= 0;
3014 char *_kwnames
[] = { "self", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3027 wxPy_BEGIN_ALLOW_THREADS
;
3028 wxWindow_Lower(_arg0
);
3030 wxPy_END_ALLOW_THREADS
;
3031 if (PyErr_Occurred()) return NULL
;
3032 } Py_INCREF(Py_None
);
3033 _resultobj
= Py_None
;
3037 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3038 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3042 PyObject
* _argo0
= 0;
3044 char *_kwnames
[] = { "self","flag", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3056 _arg1
= (bool ) tempbool1
;
3058 wxPy_BEGIN_ALLOW_THREADS
;
3059 wxWindow_MakeModal(_arg0
,_arg1
);
3061 wxPy_END_ALLOW_THREADS
;
3062 if (PyErr_Occurred()) return NULL
;
3063 } Py_INCREF(Py_None
);
3064 _resultobj
= Py_None
;
3068 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3069 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
* _resultobj
;
3074 PyObject
* _argo0
= 0;
3075 char *_kwnames
[] = { "self","x","y", NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3088 wxPy_BEGIN_ALLOW_THREADS
;
3089 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
3091 wxPy_END_ALLOW_THREADS
;
3092 if (PyErr_Occurred()) return NULL
;
3093 } Py_INCREF(Py_None
);
3094 _resultobj
= Py_None
;
3098 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3099 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
* _resultobj
;
3103 PyObject
* _argo0
= 0;
3105 PyObject
* _obj1
= 0;
3106 char *_kwnames
[] = { "self","point", NULL
};
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3120 if (! wxPoint_helper(_obj1
, &_arg1
))
3124 wxPy_BEGIN_ALLOW_THREADS
;
3125 wxWindow_Move(_arg0
,*_arg1
);
3127 wxPy_END_ALLOW_THREADS
;
3128 if (PyErr_Occurred()) return NULL
;
3129 } Py_INCREF(Py_None
);
3130 _resultobj
= Py_None
;
3134 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3135 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3137 wxEvtHandler
* _result
;
3139 bool _arg1
= (bool ) FALSE
;
3140 PyObject
* _argo0
= 0;
3141 int tempbool1
= (int) FALSE
;
3142 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3154 _arg1
= (bool ) tempbool1
;
3156 wxPy_BEGIN_ALLOW_THREADS
;
3157 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3159 wxPy_END_ALLOW_THREADS
;
3160 if (PyErr_Occurred()) return NULL
;
3161 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3165 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3166 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3169 wxEvtHandler
* _arg1
;
3170 PyObject
* _argo0
= 0;
3171 PyObject
* _argo1
= 0;
3172 char *_kwnames
[] = { "self","handler", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3185 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3192 wxPy_BEGIN_ALLOW_THREADS
;
3193 wxWindow_PushEventHandler(_arg0
,_arg1
);
3195 wxPy_END_ALLOW_THREADS
;
3196 if (PyErr_Occurred()) return NULL
;
3197 } Py_INCREF(Py_None
);
3198 _resultobj
= Py_None
;
3202 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3203 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3210 PyObject
* _argo0
= 0;
3211 PyObject
* _argo1
= 0;
3212 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3225 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3232 wxPy_BEGIN_ALLOW_THREADS
;
3233 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3235 wxPy_END_ALLOW_THREADS
;
3236 if (PyErr_Occurred()) return NULL
;
3237 } _resultobj
= Py_BuildValue("i",_result
);
3241 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3242 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
* _resultobj
;
3248 PyObject
* _argo0
= 0;
3249 PyObject
* _argo1
= 0;
3251 PyObject
* _obj2
= 0;
3252 char *_kwnames
[] = { "self","menu","pos", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3273 if (! wxPoint_helper(_obj2
, &_arg2
))
3277 wxPy_BEGIN_ALLOW_THREADS
;
3278 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3280 wxPy_END_ALLOW_THREADS
;
3281 if (PyErr_Occurred()) return NULL
;
3282 } _resultobj
= Py_BuildValue("i",_result
);
3286 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3287 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
* _resultobj
;
3290 PyObject
* _argo0
= 0;
3291 char *_kwnames
[] = { "self", NULL
};
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3304 wxPy_BEGIN_ALLOW_THREADS
;
3305 wxWindow_Raise(_arg0
);
3307 wxPy_END_ALLOW_THREADS
;
3308 if (PyErr_Occurred()) return NULL
;
3309 } Py_INCREF(Py_None
);
3310 _resultobj
= Py_None
;
3314 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3315 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
* _resultobj
;
3318 bool _arg1
= (bool ) TRUE
;
3319 wxRect
* _arg2
= (wxRect
*) NULL
;
3320 PyObject
* _argo0
= 0;
3321 int tempbool1
= (int) TRUE
;
3323 PyObject
* _obj2
= 0;
3324 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3336 _arg1
= (bool ) tempbool1
;
3340 if (! wxRect_helper(_obj2
, &_arg2
))
3344 wxPy_BEGIN_ALLOW_THREADS
;
3345 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3347 wxPy_END_ALLOW_THREADS
;
3348 if (PyErr_Occurred()) return NULL
;
3349 } Py_INCREF(Py_None
);
3350 _resultobj
= Py_None
;
3354 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3355 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
* _resultobj
;
3358 PyObject
* _argo0
= 0;
3359 char *_kwnames
[] = { "self", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3372 wxPy_BEGIN_ALLOW_THREADS
;
3373 wxWindow_ReleaseMouse(_arg0
);
3375 wxPy_END_ALLOW_THREADS
;
3376 if (PyErr_Occurred()) return NULL
;
3377 } Py_INCREF(Py_None
);
3378 _resultobj
= Py_None
;
3382 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3383 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3387 PyObject
* _argo0
= 0;
3388 PyObject
* _argo1
= 0;
3389 char *_kwnames
[] = { "self","child", NULL
};
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3409 wxPy_BEGIN_ALLOW_THREADS
;
3410 wxWindow_RemoveChild(_arg0
,_arg1
);
3412 wxPy_END_ALLOW_THREADS
;
3413 if (PyErr_Occurred()) return NULL
;
3414 } Py_INCREF(Py_None
);
3415 _resultobj
= Py_None
;
3419 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3420 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
* _resultobj
;
3425 PyObject
* _argo0
= 0;
3426 PyObject
* _argo1
= 0;
3427 char *_kwnames
[] = { "self","newParent", NULL
};
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3440 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3447 wxPy_BEGIN_ALLOW_THREADS
;
3448 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3450 wxPy_END_ALLOW_THREADS
;
3451 if (PyErr_Occurred()) return NULL
;
3452 } _resultobj
= Py_BuildValue("i",_result
);
3456 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3457 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
* _resultobj
;
3462 PyObject
* _argo0
= 0;
3464 PyObject
* _obj1
= 0;
3466 PyObject
* _obj2
= 0;
3467 char *_kwnames
[] = { "self","x","y", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3480 temp
= (int) PyInt_AsLong(_obj1
);
3484 temp0
= (int) PyInt_AsLong(_obj2
);
3488 wxPy_BEGIN_ALLOW_THREADS
;
3489 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3491 wxPy_END_ALLOW_THREADS
;
3492 if (PyErr_Occurred()) return NULL
;
3493 } Py_INCREF(Py_None
);
3494 _resultobj
= Py_None
;
3497 o
= PyInt_FromLong((long) (*_arg1
));
3498 _resultobj
= t_output_helper(_resultobj
, o
);
3502 o
= PyInt_FromLong((long) (*_arg2
));
3503 _resultobj
= t_output_helper(_resultobj
, o
);
3508 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3509 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
* _resultobj
;
3514 PyObject
* _argo0
= 0;
3516 PyObject
* _obj1
= 0;
3517 char *_kwnames
[] = { "self","pt", NULL
};
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3532 if (! wxPoint_helper(_obj1
, &_arg1
))
3536 wxPy_BEGIN_ALLOW_THREADS
;
3537 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3539 wxPy_END_ALLOW_THREADS
;
3540 if (PyErr_Occurred()) return NULL
;
3541 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3542 _resultobj
= Py_BuildValue("s",_ptemp
);
3546 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3547 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
* _resultobj
;
3552 wxRect
* _arg3
= (wxRect
*) NULL
;
3553 PyObject
* _argo0
= 0;
3555 PyObject
* _obj3
= 0;
3556 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3571 if (! wxRect_helper(_obj3
, &_arg3
))
3575 wxPy_BEGIN_ALLOW_THREADS
;
3576 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3578 wxPy_END_ALLOW_THREADS
;
3579 if (PyErr_Occurred()) return NULL
;
3580 } Py_INCREF(Py_None
);
3581 _resultobj
= Py_None
;
3585 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3586 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3589 wxAcceleratorTable
* _arg1
;
3590 PyObject
* _argo0
= 0;
3591 PyObject
* _argo1
= 0;
3592 char *_kwnames
[] = { "self","accel", NULL
};
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3612 wxPy_BEGIN_ALLOW_THREADS
;
3613 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3615 wxPy_END_ALLOW_THREADS
;
3616 if (PyErr_Occurred()) return NULL
;
3617 } Py_INCREF(Py_None
);
3618 _resultobj
= Py_None
;
3622 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3623 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
* _resultobj
;
3627 PyObject
* _argo0
= 0;
3629 char *_kwnames
[] = { "self","autoLayout", NULL
};
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3641 _arg1
= (bool ) tempbool1
;
3643 wxPy_BEGIN_ALLOW_THREADS
;
3644 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3646 wxPy_END_ALLOW_THREADS
;
3647 if (PyErr_Occurred()) return NULL
;
3648 } Py_INCREF(Py_None
);
3649 _resultobj
= Py_None
;
3653 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3654 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
* _resultobj
;
3658 PyObject
* _argo0
= 0;
3659 char *_kwnames
[] = { "self", NULL
};
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3672 wxPy_BEGIN_ALLOW_THREADS
;
3673 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3675 wxPy_END_ALLOW_THREADS
;
3676 if (PyErr_Occurred()) return NULL
;
3677 } _resultobj
= Py_BuildValue("i",_result
);
3681 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3682 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3686 PyObject
* _argo0
= 0;
3688 PyObject
* _obj1
= 0;
3689 char *_kwnames
[] = { "self","colour", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3703 if (! wxColour_helper(_obj1
, &_arg1
))
3707 wxPy_BEGIN_ALLOW_THREADS
;
3708 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3710 wxPy_END_ALLOW_THREADS
;
3711 if (PyErr_Occurred()) return NULL
;
3712 } Py_INCREF(Py_None
);
3713 _resultobj
= Py_None
;
3717 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3718 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3721 wxLayoutConstraints
* _arg1
;
3722 PyObject
* _argo0
= 0;
3723 PyObject
* _argo1
= 0;
3724 char *_kwnames
[] = { "self","constraints", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3744 wxPy_BEGIN_ALLOW_THREADS
;
3745 wxWindow_SetConstraints(_arg0
,_arg1
);
3747 wxPy_END_ALLOW_THREADS
;
3748 if (PyErr_Occurred()) return NULL
;
3749 } Py_INCREF(Py_None
);
3750 _resultobj
= Py_None
;
3754 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3755 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
* _resultobj
;
3758 wxLayoutConstraints
* _arg1
;
3759 PyObject
* _argo0
= 0;
3760 PyObject
* _argo1
= 0;
3761 char *_kwnames
[] = { "self","constraints", NULL
};
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3774 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3781 wxPy_BEGIN_ALLOW_THREADS
;
3782 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3784 wxPy_END_ALLOW_THREADS
;
3785 if (PyErr_Occurred()) return NULL
;
3786 } Py_INCREF(Py_None
);
3787 _resultobj
= Py_None
;
3791 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3792 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
* _resultobj
;
3795 PyObject
* _argo0
= 0;
3796 char *_kwnames
[] = { "self", NULL
};
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3809 wxPy_BEGIN_ALLOW_THREADS
;
3810 wxWindow_SetFocus(_arg0
);
3812 wxPy_END_ALLOW_THREADS
;
3813 if (PyErr_Occurred()) return NULL
;
3814 } Py_INCREF(Py_None
);
3815 _resultobj
= Py_None
;
3819 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3820 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
* _resultobj
;
3824 PyObject
* _argo0
= 0;
3825 char *_kwnames
[] = { "self", NULL
};
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3838 wxPy_BEGIN_ALLOW_THREADS
;
3839 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3841 wxPy_END_ALLOW_THREADS
;
3842 if (PyErr_Occurred()) return NULL
;
3843 } _resultobj
= Py_BuildValue("i",_result
);
3847 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3848 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3852 PyObject
* _argo0
= 0;
3853 PyObject
* _argo1
= 0;
3854 char *_kwnames
[] = { "self","font", NULL
};
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3867 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3868 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3874 wxPy_BEGIN_ALLOW_THREADS
;
3875 wxWindow_SetFont(_arg0
,*_arg1
);
3877 wxPy_END_ALLOW_THREADS
;
3878 if (PyErr_Occurred()) return NULL
;
3879 } Py_INCREF(Py_None
);
3880 _resultobj
= Py_None
;
3884 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3885 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
* _resultobj
;
3889 PyObject
* _argo0
= 0;
3891 PyObject
* _obj1
= 0;
3892 char *_kwnames
[] = { "self","colour", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3906 if (! wxColour_helper(_obj1
, &_arg1
))
3910 wxPy_BEGIN_ALLOW_THREADS
;
3911 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3913 wxPy_END_ALLOW_THREADS
;
3914 if (PyErr_Occurred()) return NULL
;
3915 } Py_INCREF(Py_None
);
3916 _resultobj
= Py_None
;
3920 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3921 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
* _resultobj
;
3925 PyObject
* _argo0
= 0;
3926 char *_kwnames
[] = { "self","id", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3939 wxPy_BEGIN_ALLOW_THREADS
;
3940 wxWindow_SetId(_arg0
,_arg1
);
3942 wxPy_END_ALLOW_THREADS
;
3943 if (PyErr_Occurred()) return NULL
;
3944 } Py_INCREF(Py_None
);
3945 _resultobj
= Py_None
;
3949 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3950 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
* _resultobj
;
3954 PyObject
* _argo0
= 0;
3955 PyObject
* _obj1
= 0;
3956 char *_kwnames
[] = { "self","name", NULL
};
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3969 #if PYTHON_API_VERSION >= 1009
3970 char* tmpPtr
; int tmpSize
;
3971 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3972 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3975 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3977 _arg1
= new wxString(tmpPtr
, tmpSize
);
3979 if (!PyString_Check(_obj1
)) {
3980 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3983 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3987 wxPy_BEGIN_ALLOW_THREADS
;
3988 wxWindow_SetName(_arg0
,*_arg1
);
3990 wxPy_END_ALLOW_THREADS
;
3991 if (PyErr_Occurred()) return NULL
;
3992 } Py_INCREF(Py_None
);
3993 _resultobj
= Py_None
;
4001 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4002 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
* _resultobj
;
4009 int _arg5
= (int ) TRUE
;
4010 PyObject
* _argo0
= 0;
4011 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4024 wxPy_BEGIN_ALLOW_THREADS
;
4025 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4027 wxPy_END_ALLOW_THREADS
;
4028 if (PyErr_Occurred()) return NULL
;
4029 } Py_INCREF(Py_None
);
4030 _resultobj
= Py_None
;
4034 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4035 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4040 bool _arg3
= (bool ) TRUE
;
4041 PyObject
* _argo0
= 0;
4042 int tempbool3
= (int) TRUE
;
4043 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4055 _arg3
= (bool ) tempbool3
;
4057 wxPy_BEGIN_ALLOW_THREADS
;
4058 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4060 wxPy_END_ALLOW_THREADS
;
4061 if (PyErr_Occurred()) return NULL
;
4062 } Py_INCREF(Py_None
);
4063 _resultobj
= Py_None
;
4067 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4068 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
* _resultobj
;
4075 int _arg5
= (int ) wxSIZE_AUTO
;
4076 PyObject
* _argo0
= 0;
4077 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4090 wxPy_BEGIN_ALLOW_THREADS
;
4091 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4093 wxPy_END_ALLOW_THREADS
;
4094 if (PyErr_Occurred()) return NULL
;
4095 } Py_INCREF(Py_None
);
4096 _resultobj
= Py_None
;
4100 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4101 self
->SetSize(size
);
4103 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4107 PyObject
* _argo0
= 0;
4109 PyObject
* _obj1
= 0;
4110 char *_kwnames
[] = { "self","size", NULL
};
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4124 if (! wxSize_helper(_obj1
, &_arg1
))
4128 wxPy_BEGIN_ALLOW_THREADS
;
4129 wxWindow_SetSize(_arg0
,*_arg1
);
4131 wxPy_END_ALLOW_THREADS
;
4132 if (PyErr_Occurred()) return NULL
;
4133 } Py_INCREF(Py_None
);
4134 _resultobj
= Py_None
;
4138 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4141 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
* _resultobj
;
4145 PyObject
* _argo0
= 0;
4147 PyObject
* _obj1
= 0;
4148 char *_kwnames
[] = { "self","pos", NULL
};
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4162 if (! wxPoint_helper(_obj1
, &_arg1
))
4166 wxPy_BEGIN_ALLOW_THREADS
;
4167 wxWindow_SetPosition(_arg0
,*_arg1
);
4169 wxPy_END_ALLOW_THREADS
;
4170 if (PyErr_Occurred()) return NULL
;
4171 } Py_INCREF(Py_None
);
4172 _resultobj
= Py_None
;
4176 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4177 self
->SetSize(rect
, sizeFlags
);
4179 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
* _resultobj
;
4183 int _arg2
= (int ) wxSIZE_AUTO
;
4184 PyObject
* _argo0
= 0;
4186 PyObject
* _obj1
= 0;
4187 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4201 if (! wxRect_helper(_obj1
, &_arg1
))
4205 wxPy_BEGIN_ALLOW_THREADS
;
4206 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4208 wxPy_END_ALLOW_THREADS
;
4209 if (PyErr_Occurred()) return NULL
;
4210 } Py_INCREF(Py_None
);
4211 _resultobj
= Py_None
;
4215 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4216 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4219 int _arg1
= (int ) -1;
4220 int _arg2
= (int ) -1;
4221 int _arg3
= (int ) -1;
4222 int _arg4
= (int ) -1;
4223 int _arg5
= (int ) -1;
4224 int _arg6
= (int ) -1;
4225 PyObject
* _argo0
= 0;
4226 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4239 wxPy_BEGIN_ALLOW_THREADS
;
4240 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4242 wxPy_END_ALLOW_THREADS
;
4243 if (PyErr_Occurred()) return NULL
;
4244 } Py_INCREF(Py_None
);
4245 _resultobj
= Py_None
;
4249 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4250 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
* _resultobj
;
4255 PyObject
* _argo0
= 0;
4256 char *_kwnames
[] = { "self","width","height", NULL
};
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4269 wxPy_BEGIN_ALLOW_THREADS
;
4270 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4272 wxPy_END_ALLOW_THREADS
;
4273 if (PyErr_Occurred()) return NULL
;
4274 } Py_INCREF(Py_None
);
4275 _resultobj
= Py_None
;
4279 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4280 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
* _resultobj
;
4284 PyObject
* _argo0
= 0;
4286 PyObject
* _obj1
= 0;
4287 char *_kwnames
[] = { "self","size", NULL
};
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4301 if (! wxSize_helper(_obj1
, &_arg1
))
4305 wxPy_BEGIN_ALLOW_THREADS
;
4306 wxWindow_SetClientSize(_arg0
,*_arg1
);
4308 wxPy_END_ALLOW_THREADS
;
4309 if (PyErr_Occurred()) return NULL
;
4310 } Py_INCREF(Py_None
);
4311 _resultobj
= Py_None
;
4315 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4316 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
* _resultobj
;
4320 PyObject
* _argo0
= 0;
4321 PyObject
* _argo1
= 0;
4322 char *_kwnames
[] = { "self","cursor", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4342 wxPy_BEGIN_ALLOW_THREADS
;
4343 wxWindow_SetCursor(_arg0
,*_arg1
);
4345 wxPy_END_ALLOW_THREADS
;
4346 if (PyErr_Occurred()) return NULL
;
4347 } Py_INCREF(Py_None
);
4348 _resultobj
= Py_None
;
4352 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4353 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4356 wxEvtHandler
* _arg1
;
4357 PyObject
* _argo0
= 0;
4358 PyObject
* _argo1
= 0;
4359 char *_kwnames
[] = { "self","handler", NULL
};
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4372 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4379 wxPy_BEGIN_ALLOW_THREADS
;
4380 wxWindow_SetEventHandler(_arg0
,_arg1
);
4382 wxPy_END_ALLOW_THREADS
;
4383 if (PyErr_Occurred()) return NULL
;
4384 } Py_INCREF(Py_None
);
4385 _resultobj
= Py_None
;
4389 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4390 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4394 PyObject
* _argo0
= 0;
4395 char *_kwnames
[] = { "self","exStyle", NULL
};
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4408 wxPy_BEGIN_ALLOW_THREADS
;
4409 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4411 wxPy_END_ALLOW_THREADS
;
4412 if (PyErr_Occurred()) return NULL
;
4413 } Py_INCREF(Py_None
);
4414 _resultobj
= Py_None
;
4418 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4419 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
* _resultobj
;
4423 PyObject
* _argo0
= 0;
4424 PyObject
* _obj1
= 0;
4425 char *_kwnames
[] = { "self","title", NULL
};
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4438 #if PYTHON_API_VERSION >= 1009
4439 char* tmpPtr
; int tmpSize
;
4440 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4441 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4444 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4446 _arg1
= new wxString(tmpPtr
, tmpSize
);
4448 if (!PyString_Check(_obj1
)) {
4449 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4452 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 wxWindow_SetTitle(_arg0
,*_arg1
);
4459 wxPy_END_ALLOW_THREADS
;
4460 if (PyErr_Occurred()) return NULL
;
4461 } Py_INCREF(Py_None
);
4462 _resultobj
= Py_None
;
4470 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4471 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
* _resultobj
;
4476 PyObject
* _argo0
= 0;
4478 char *_kwnames
[] = { "self","show", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4490 _arg1
= (bool ) tempbool1
;
4492 wxPy_BEGIN_ALLOW_THREADS
;
4493 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4495 wxPy_END_ALLOW_THREADS
;
4496 if (PyErr_Occurred()) return NULL
;
4497 } _resultobj
= Py_BuildValue("i",_result
);
4501 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4502 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
* _resultobj
;
4506 PyObject
* _argo0
= 0;
4507 char *_kwnames
[] = { "self", NULL
};
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4520 wxPy_BEGIN_ALLOW_THREADS
;
4521 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4523 wxPy_END_ALLOW_THREADS
;
4524 if (PyErr_Occurred()) return NULL
;
4525 } _resultobj
= Py_BuildValue("i",_result
);
4529 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4530 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
* _resultobj
;
4534 PyObject
* _argo0
= 0;
4535 char *_kwnames
[] = { "self", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4548 wxPy_BEGIN_ALLOW_THREADS
;
4549 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4551 wxPy_END_ALLOW_THREADS
;
4552 if (PyErr_Occurred()) return NULL
;
4553 } _resultobj
= Py_BuildValue("i",_result
);
4557 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4558 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
* _resultobj
;
4562 PyObject
* _argo0
= 0;
4563 char *_kwnames
[] = { "self", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4576 wxPy_BEGIN_ALLOW_THREADS
;
4577 _result
= (bool )wxWindow_Validate(_arg0
);
4579 wxPy_END_ALLOW_THREADS
;
4580 if (PyErr_Occurred()) return NULL
;
4581 } _resultobj
= Py_BuildValue("i",_result
);
4585 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4586 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
* _resultobj
;
4591 PyObject
* _argo0
= 0;
4592 char *_kwnames
[] = { "self","x","y", NULL
};
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4605 wxPy_BEGIN_ALLOW_THREADS
;
4606 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4608 wxPy_END_ALLOW_THREADS
;
4609 if (PyErr_Occurred()) return NULL
;
4610 } Py_INCREF(Py_None
);
4611 _resultobj
= Py_None
;
4615 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4616 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4621 PyObject
* _argo0
= 0;
4623 PyObject
* _obj1
= 0;
4624 char *_kwnames
[] = { "self","pt", NULL
};
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4639 if (! wxPoint_helper(_obj1
, &_arg1
))
4643 wxPy_BEGIN_ALLOW_THREADS
;
4644 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4646 wxPy_END_ALLOW_THREADS
;
4647 if (PyErr_Occurred()) return NULL
;
4648 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4649 _resultobj
= Py_BuildValue("s",_ptemp
);
4653 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4654 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
* _resultobj
;
4659 PyObject
* _argo0
= 0;
4661 PyObject
* _obj1
= 0;
4662 char *_kwnames
[] = { "self","sz", NULL
};
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4677 if (! wxSize_helper(_obj1
, &_arg1
))
4681 wxPy_BEGIN_ALLOW_THREADS
;
4682 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4684 wxPy_END_ALLOW_THREADS
;
4685 if (PyErr_Occurred()) return NULL
;
4686 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4687 _resultobj
= Py_BuildValue("s",_ptemp
);
4691 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4692 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
* _resultobj
;
4697 PyObject
* _argo0
= 0;
4699 PyObject
* _obj1
= 0;
4700 char *_kwnames
[] = { "self","pt", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4715 if (! wxPoint_helper(_obj1
, &_arg1
))
4719 wxPy_BEGIN_ALLOW_THREADS
;
4720 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4722 wxPy_END_ALLOW_THREADS
;
4723 if (PyErr_Occurred()) return NULL
;
4724 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4725 _resultobj
= Py_BuildValue("s",_ptemp
);
4729 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4730 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
* _resultobj
;
4735 PyObject
* _argo0
= 0;
4737 PyObject
* _obj1
= 0;
4738 char *_kwnames
[] = { "self","sz", NULL
};
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4753 if (! wxSize_helper(_obj1
, &_arg1
))
4757 wxPy_BEGIN_ALLOW_THREADS
;
4758 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4760 wxPy_END_ALLOW_THREADS
;
4761 if (PyErr_Occurred()) return NULL
;
4762 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4763 _resultobj
= Py_BuildValue("s",_ptemp
);
4767 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4768 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
* _resultobj
;
4772 PyObject
* _argo0
= 0;
4773 PyObject
* _obj1
= 0;
4774 char *_kwnames
[] = { "self","tip", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4787 #if PYTHON_API_VERSION >= 1009
4788 char* tmpPtr
; int tmpSize
;
4789 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4793 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4795 _arg1
= new wxString(tmpPtr
, tmpSize
);
4797 if (!PyString_Check(_obj1
)) {
4798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4801 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4805 wxPy_BEGIN_ALLOW_THREADS
;
4806 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4808 wxPy_END_ALLOW_THREADS
;
4809 if (PyErr_Occurred()) return NULL
;
4810 } Py_INCREF(Py_None
);
4811 _resultobj
= Py_None
;
4819 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4820 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
* _resultobj
;
4824 PyObject
* _argo0
= 0;
4825 PyObject
* _argo1
= 0;
4826 char *_kwnames
[] = { "self","tooltip", NULL
};
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4839 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4840 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4846 wxPy_BEGIN_ALLOW_THREADS
;
4847 wxWindow_SetToolTip(_arg0
,_arg1
);
4849 wxPy_END_ALLOW_THREADS
;
4850 if (PyErr_Occurred()) return NULL
;
4851 } Py_INCREF(Py_None
);
4852 _resultobj
= Py_None
;
4856 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4857 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4859 wxToolTip
* _result
;
4861 PyObject
* _argo0
= 0;
4862 char *_kwnames
[] = { "self", NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4875 wxPy_BEGIN_ALLOW_THREADS
;
4876 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4878 wxPy_END_ALLOW_THREADS
;
4879 if (PyErr_Occurred()) return NULL
;
4880 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4884 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4885 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4889 PyObject
* _argo0
= 0;
4890 PyObject
* _argo1
= 0;
4891 char *_kwnames
[] = { "self","sizer", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4904 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4905 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4911 wxPy_BEGIN_ALLOW_THREADS
;
4912 wxWindow_SetSizer(_arg0
,_arg1
);
4914 wxPy_END_ALLOW_THREADS
;
4915 if (PyErr_Occurred()) return NULL
;
4916 } Py_INCREF(Py_None
);
4917 _resultobj
= Py_None
;
4921 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4922 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
* _resultobj
;
4926 PyObject
* _argo0
= 0;
4927 char *_kwnames
[] = { "self", NULL
};
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4940 wxPy_BEGIN_ALLOW_THREADS
;
4941 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4943 wxPy_END_ALLOW_THREADS
;
4944 if (PyErr_Occurred()) return NULL
;
4945 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4949 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4950 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
* _resultobj
;
4952 wxValidator
* _result
;
4954 PyObject
* _argo0
= 0;
4955 char *_kwnames
[] = { "self", NULL
};
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4968 wxPy_BEGIN_ALLOW_THREADS
;
4969 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4971 wxPy_END_ALLOW_THREADS
;
4972 if (PyErr_Occurred()) return NULL
;
4973 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4977 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4978 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
* _resultobj
;
4981 wxValidator
* _arg1
;
4982 PyObject
* _argo0
= 0;
4983 PyObject
* _argo1
= 0;
4984 char *_kwnames
[] = { "self","validator", NULL
};
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5004 wxPy_BEGIN_ALLOW_THREADS
;
5005 wxWindow_SetValidator(_arg0
,*_arg1
);
5007 wxPy_END_ALLOW_THREADS
;
5008 if (PyErr_Occurred()) return NULL
;
5009 } Py_INCREF(Py_None
);
5010 _resultobj
= Py_None
;
5014 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5015 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
* _resultobj
;
5018 wxDropTarget
* _arg1
;
5019 PyObject
* _argo0
= 0;
5020 PyObject
* _argo1
= 0;
5021 char *_kwnames
[] = { "self","target", NULL
};
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5034 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5035 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5041 wxPy_BEGIN_ALLOW_THREADS
;
5042 wxWindow_SetDropTarget(_arg0
,_arg1
);
5044 wxPy_END_ALLOW_THREADS
;
5045 if (PyErr_Occurred()) return NULL
;
5046 } Py_INCREF(Py_None
);
5047 _resultobj
= Py_None
;
5051 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5052 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
* _resultobj
;
5054 wxDropTarget
* _result
;
5056 PyObject
* _argo0
= 0;
5057 char *_kwnames
[] = { "self", NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5071 wxPy_BEGIN_ALLOW_THREADS
;
5072 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5074 wxPy_END_ALLOW_THREADS
;
5075 if (PyErr_Occurred()) return NULL
;
5077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5078 _resultobj
= Py_BuildValue("s",_ptemp
);
5081 _resultobj
= Py_None
;
5086 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5087 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5091 PyObject
* _argo0
= 0;
5092 char *_kwnames
[] = { "self", NULL
};
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5106 wxPy_BEGIN_ALLOW_THREADS
;
5107 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5109 wxPy_END_ALLOW_THREADS
;
5110 if (PyErr_Occurred()) return NULL
;
5111 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5112 _resultobj
= Py_BuildValue("s",_ptemp
);
5116 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5117 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5121 PyObject
* _argo0
= 0;
5122 PyObject
* _argo1
= 0;
5123 char *_kwnames
[] = { "self","caret", NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5136 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5143 wxPy_BEGIN_ALLOW_THREADS
;
5144 wxWindow_SetCaret(_arg0
,_arg1
);
5146 wxPy_END_ALLOW_THREADS
;
5147 if (PyErr_Occurred()) return NULL
;
5148 } Py_INCREF(Py_None
);
5149 _resultobj
= Py_None
;
5153 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5154 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
* _resultobj
;
5158 PyObject
* _argo0
= 0;
5159 char *_kwnames
[] = { "self", NULL
};
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5173 wxPy_BEGIN_ALLOW_THREADS
;
5174 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5176 wxPy_END_ALLOW_THREADS
;
5177 if (PyErr_Occurred()) return NULL
;
5179 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5180 _resultobj
= Py_BuildValue("s",_ptemp
);
5183 _resultobj
= Py_None
;
5188 static void *SwigwxPanelTowxWindow(void *ptr
) {
5191 src
= (wxPanel
*) ptr
;
5192 dest
= (wxWindow
*) src
;
5193 return (void *) dest
;
5196 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
5199 src
= (wxPanel
*) ptr
;
5200 dest
= (wxEvtHandler
*) src
;
5201 return (void *) dest
;
5204 static void *SwigwxPanelTowxObject(void *ptr
) {
5207 src
= (wxPanel
*) ptr
;
5208 dest
= (wxObject
*) src
;
5209 return (void *) dest
;
5212 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5213 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5218 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5219 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5220 long _arg4
= (long ) wxTAB_TRAVERSAL
;
5221 char * _arg5
= (char *) "panel";
5222 PyObject
* _argo0
= 0;
5224 PyObject
* _obj2
= 0;
5226 PyObject
* _obj3
= 0;
5227 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5243 if (! wxPoint_helper(_obj2
, &_arg2
))
5249 if (! wxSize_helper(_obj3
, &_arg3
))
5253 wxPy_BEGIN_ALLOW_THREADS
;
5254 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5256 wxPy_END_ALLOW_THREADS
;
5257 if (PyErr_Occurred()) return NULL
;
5259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5260 _resultobj
= Py_BuildValue("s",_ptemp
);
5263 _resultobj
= Py_None
;
5268 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5269 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
* _resultobj
;
5272 PyObject
* _argo0
= 0;
5273 char *_kwnames
[] = { "self", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
5279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
5286 wxPy_BEGIN_ALLOW_THREADS
;
5287 wxPanel_InitDialog(_arg0
);
5289 wxPy_END_ALLOW_THREADS
;
5290 if (PyErr_Occurred()) return NULL
;
5291 } Py_INCREF(Py_None
);
5292 _resultobj
= Py_None
;
5296 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5297 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
* _resultobj
;
5301 PyObject
* _argo0
= 0;
5302 char *_kwnames
[] = { "self", NULL
};
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5315 wxPy_BEGIN_ALLOW_THREADS
;
5316 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5318 wxPy_END_ALLOW_THREADS
;
5319 if (PyErr_Occurred()) return NULL
;
5320 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5324 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5325 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
* _resultobj
;
5329 PyObject
* _argo0
= 0;
5330 PyObject
* _argo1
= 0;
5331 char *_kwnames
[] = { "self","btn", NULL
};
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5351 wxPy_BEGIN_ALLOW_THREADS
;
5352 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5354 wxPy_END_ALLOW_THREADS
;
5355 if (PyErr_Occurred()) return NULL
;
5356 } Py_INCREF(Py_None
);
5357 _resultobj
= Py_None
;
5361 static void *SwigwxDialogTowxPanel(void *ptr
) {
5364 src
= (wxDialog
*) ptr
;
5365 dest
= (wxPanel
*) src
;
5366 return (void *) dest
;
5369 static void *SwigwxDialogTowxWindow(void *ptr
) {
5372 src
= (wxDialog
*) ptr
;
5373 dest
= (wxWindow
*) src
;
5374 return (void *) dest
;
5377 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5380 src
= (wxDialog
*) ptr
;
5381 dest
= (wxEvtHandler
*) src
;
5382 return (void *) dest
;
5385 static void *SwigwxDialogTowxObject(void *ptr
) {
5388 src
= (wxDialog
*) ptr
;
5389 dest
= (wxObject
*) src
;
5390 return (void *) dest
;
5393 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5394 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
* _resultobj
;
5400 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5401 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5402 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5403 char * _arg6
= (char *) "dialogBox";
5404 PyObject
* _argo0
= 0;
5405 PyObject
* _obj2
= 0;
5407 PyObject
* _obj3
= 0;
5409 PyObject
* _obj4
= 0;
5410 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5424 #if PYTHON_API_VERSION >= 1009
5425 char* tmpPtr
; int tmpSize
;
5426 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5427 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5430 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5432 _arg2
= new wxString(tmpPtr
, tmpSize
);
5434 if (!PyString_Check(_obj2
)) {
5435 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5438 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5444 if (! wxPoint_helper(_obj3
, &_arg3
))
5450 if (! wxSize_helper(_obj4
, &_arg4
))
5454 wxPy_BEGIN_ALLOW_THREADS
;
5455 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5457 wxPy_END_ALLOW_THREADS
;
5458 if (PyErr_Occurred()) return NULL
;
5460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5461 _resultobj
= Py_BuildValue("s",_ptemp
);
5464 _resultobj
= Py_None
;
5473 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5474 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
* _resultobj
;
5477 int _arg1
= (int ) wxBOTH
;
5478 PyObject
* _argo0
= 0;
5479 char *_kwnames
[] = { "self","direction", NULL
};
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5492 wxPy_BEGIN_ALLOW_THREADS
;
5493 wxDialog_Centre(_arg0
,_arg1
);
5495 wxPy_END_ALLOW_THREADS
;
5496 if (PyErr_Occurred()) return NULL
;
5497 } Py_INCREF(Py_None
);
5498 _resultobj
= Py_None
;
5502 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5503 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
* _resultobj
;
5507 PyObject
* _argo0
= 0;
5508 char *_kwnames
[] = { "self","retCode", NULL
};
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5521 wxPy_BEGIN_ALLOW_THREADS
;
5522 wxDialog_EndModal(_arg0
,_arg1
);
5524 wxPy_END_ALLOW_THREADS
;
5525 if (PyErr_Occurred()) return NULL
;
5526 } Py_INCREF(Py_None
);
5527 _resultobj
= Py_None
;
5531 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5532 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5536 PyObject
* _argo0
= 0;
5537 char *_kwnames
[] = { "self", NULL
};
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5550 wxPy_BEGIN_ALLOW_THREADS
;
5551 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5553 wxPy_END_ALLOW_THREADS
;
5554 if (PyErr_Occurred()) return NULL
;
5556 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5564 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5565 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
* _resultobj
;
5569 PyObject
* _argo0
= 0;
5571 char *_kwnames
[] = { "self","iconize", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5583 _arg1
= (bool ) tempbool1
;
5585 wxPy_BEGIN_ALLOW_THREADS
;
5586 wxDialog_Iconize(_arg0
,_arg1
);
5588 wxPy_END_ALLOW_THREADS
;
5589 if (PyErr_Occurred()) return NULL
;
5590 } Py_INCREF(Py_None
);
5591 _resultobj
= Py_None
;
5595 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5596 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
* _resultobj
;
5600 PyObject
* _argo0
= 0;
5601 char *_kwnames
[] = { "self", NULL
};
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5614 wxPy_BEGIN_ALLOW_THREADS
;
5615 _result
= (bool )wxDialog_IsIconized(_arg0
);
5617 wxPy_END_ALLOW_THREADS
;
5618 if (PyErr_Occurred()) return NULL
;
5619 } _resultobj
= Py_BuildValue("i",_result
);
5623 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5624 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
* _resultobj
;
5628 PyObject
* _argo0
= 0;
5630 char *_kwnames
[] = { "self","flag", NULL
};
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5642 _arg1
= (bool ) tempbool1
;
5644 wxPy_BEGIN_ALLOW_THREADS
;
5645 wxDialog_SetModal(_arg0
,_arg1
);
5647 wxPy_END_ALLOW_THREADS
;
5648 if (PyErr_Occurred()) return NULL
;
5649 } Py_INCREF(Py_None
);
5650 _resultobj
= Py_None
;
5654 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5655 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
* _resultobj
;
5659 PyObject
* _argo0
= 0;
5660 char *_kwnames
[] = { "self", NULL
};
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5673 wxPy_BEGIN_ALLOW_THREADS
;
5674 _result
= (bool )wxDialog_IsModal(_arg0
);
5676 wxPy_END_ALLOW_THREADS
;
5677 if (PyErr_Occurred()) return NULL
;
5678 } _resultobj
= Py_BuildValue("i",_result
);
5682 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5683 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
* _resultobj
;
5687 PyObject
* _argo0
= 0;
5688 PyObject
* _obj1
= 0;
5689 char *_kwnames
[] = { "self","title", NULL
};
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5702 #if PYTHON_API_VERSION >= 1009
5703 char* tmpPtr
; int tmpSize
;
5704 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5705 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5708 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5710 _arg1
= new wxString(tmpPtr
, tmpSize
);
5712 if (!PyString_Check(_obj1
)) {
5713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5716 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5720 wxPy_BEGIN_ALLOW_THREADS
;
5721 wxDialog_SetTitle(_arg0
,*_arg1
);
5723 wxPy_END_ALLOW_THREADS
;
5724 if (PyErr_Occurred()) return NULL
;
5725 } Py_INCREF(Py_None
);
5726 _resultobj
= Py_None
;
5734 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5735 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
* _resultobj
;
5740 PyObject
* _argo0
= 0;
5742 char *_kwnames
[] = { "self","show", NULL
};
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5754 _arg1
= (bool ) tempbool1
;
5756 wxPy_BEGIN_ALLOW_THREADS
;
5757 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5759 wxPy_END_ALLOW_THREADS
;
5760 if (PyErr_Occurred()) return NULL
;
5761 } _resultobj
= Py_BuildValue("i",_result
);
5765 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5766 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
* _resultobj
;
5770 PyObject
* _argo0
= 0;
5771 char *_kwnames
[] = { "self", NULL
};
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5784 wxPy_BEGIN_ALLOW_THREADS
;
5785 _result
= (int )wxDialog_ShowModal(_arg0
);
5787 wxPy_END_ALLOW_THREADS
;
5788 if (PyErr_Occurred()) return NULL
;
5789 } _resultobj
= Py_BuildValue("i",_result
);
5793 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5794 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
* _resultobj
;
5798 PyObject
* _argo0
= 0;
5799 char *_kwnames
[] = { "self", NULL
};
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5812 wxPy_BEGIN_ALLOW_THREADS
;
5813 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5815 wxPy_END_ALLOW_THREADS
;
5816 if (PyErr_Occurred()) return NULL
;
5817 } _resultobj
= Py_BuildValue("i",_result
);
5821 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5822 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
* _resultobj
;
5826 PyObject
* _argo0
= 0;
5827 char *_kwnames
[] = { "self","retCode", NULL
};
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5840 wxPy_BEGIN_ALLOW_THREADS
;
5841 wxDialog_SetReturnCode(_arg0
,_arg1
);
5843 wxPy_END_ALLOW_THREADS
;
5844 if (PyErr_Occurred()) return NULL
;
5845 } Py_INCREF(Py_None
);
5846 _resultobj
= Py_None
;
5850 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
5851 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
* _resultobj
;
5856 PyObject
* _argo0
= 0;
5857 PyObject
* _obj1
= 0;
5858 char *_kwnames
[] = { "self","message", NULL
};
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
5864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
5871 #if PYTHON_API_VERSION >= 1009
5872 char* tmpPtr
; int tmpSize
;
5873 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5874 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5877 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5879 _arg1
= new wxString(tmpPtr
, tmpSize
);
5881 if (!PyString_Check(_obj1
)) {
5882 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5885 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5889 wxPy_BEGIN_ALLOW_THREADS
;
5890 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
5892 wxPy_END_ALLOW_THREADS
;
5893 if (PyErr_Occurred()) return NULL
;
5894 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5902 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
5903 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
* _resultobj
;
5908 PyObject
* _argo0
= 0;
5909 char *_kwnames
[] = { "self","flags", NULL
};
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
5915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
5922 wxPy_BEGIN_ALLOW_THREADS
;
5923 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
5925 wxPy_END_ALLOW_THREADS
;
5926 if (PyErr_Occurred()) return NULL
;
5927 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5931 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5932 wxScrolledWindow
*src
;
5934 src
= (wxScrolledWindow
*) ptr
;
5935 dest
= (wxPanel
*) src
;
5936 return (void *) dest
;
5939 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5940 wxScrolledWindow
*src
;
5942 src
= (wxScrolledWindow
*) ptr
;
5943 dest
= (wxWindow
*) src
;
5944 return (void *) dest
;
5947 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5948 wxScrolledWindow
*src
;
5950 src
= (wxScrolledWindow
*) ptr
;
5951 dest
= (wxEvtHandler
*) src
;
5952 return (void *) dest
;
5955 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
5956 wxScrolledWindow
*src
;
5958 src
= (wxScrolledWindow
*) ptr
;
5959 dest
= (wxObject
*) src
;
5960 return (void *) dest
;
5963 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5964 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
* _resultobj
;
5966 wxScrolledWindow
* _result
;
5968 wxWindowID _arg1
= (wxWindowID
) -1;
5969 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5970 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5971 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5972 char * _arg5
= (char *) "scrolledWindow";
5973 PyObject
* _argo0
= 0;
5975 PyObject
* _obj2
= 0;
5977 PyObject
* _obj3
= 0;
5978 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5994 if (! wxPoint_helper(_obj2
, &_arg2
))
6000 if (! wxSize_helper(_obj3
, &_arg3
))
6004 wxPy_BEGIN_ALLOW_THREADS
;
6005 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6007 wxPy_END_ALLOW_THREADS
;
6008 if (PyErr_Occurred()) return NULL
;
6010 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6011 _resultobj
= Py_BuildValue("s",_ptemp
);
6014 _resultobj
= Py_None
;
6019 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6020 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
* _resultobj
;
6022 wxScrolledWindow
* _arg0
;
6025 PyObject
* _argo0
= 0;
6028 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6040 _arg1
= (bool ) tempbool1
;
6041 _arg2
= (bool ) tempbool2
;
6043 wxPy_BEGIN_ALLOW_THREADS
;
6044 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6046 wxPy_END_ALLOW_THREADS
;
6047 if (PyErr_Occurred()) return NULL
;
6048 } Py_INCREF(Py_None
);
6049 _resultobj
= Py_None
;
6053 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6054 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6057 wxScrolledWindow
* _arg0
;
6059 PyObject
* _argo0
= 0;
6060 char *_kwnames
[] = { "self","orient", NULL
};
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6073 wxPy_BEGIN_ALLOW_THREADS
;
6074 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6076 wxPy_END_ALLOW_THREADS
;
6077 if (PyErr_Occurred()) return NULL
;
6078 } _resultobj
= Py_BuildValue("i",_result
);
6082 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6083 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
* _resultobj
;
6085 wxScrolledWindow
* _arg0
;
6090 PyObject
* _argo0
= 0;
6091 char *_kwnames
[] = { "self", NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6110 wxPy_BEGIN_ALLOW_THREADS
;
6111 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6113 wxPy_END_ALLOW_THREADS
;
6114 if (PyErr_Occurred()) return NULL
;
6115 } Py_INCREF(Py_None
);
6116 _resultobj
= Py_None
;
6119 o
= PyInt_FromLong((long) (*_arg1
));
6120 _resultobj
= t_output_helper(_resultobj
, o
);
6124 o
= PyInt_FromLong((long) (*_arg2
));
6125 _resultobj
= t_output_helper(_resultobj
, o
);
6130 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6131 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
* _resultobj
;
6134 wxScrolledWindow
* _arg0
;
6135 PyObject
* _argo0
= 0;
6136 char *_kwnames
[] = { "self", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6149 wxPy_BEGIN_ALLOW_THREADS
;
6150 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6152 wxPy_END_ALLOW_THREADS
;
6153 if (PyErr_Occurred()) return NULL
;
6154 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6158 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6159 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6161 wxScrolledWindow
* _arg0
;
6166 PyObject
* _argo0
= 0;
6167 char *_kwnames
[] = { "self", NULL
};
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6186 wxPy_BEGIN_ALLOW_THREADS
;
6187 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6189 wxPy_END_ALLOW_THREADS
;
6190 if (PyErr_Occurred()) return NULL
;
6191 } Py_INCREF(Py_None
);
6192 _resultobj
= Py_None
;
6195 o
= PyInt_FromLong((long) (*_arg1
));
6196 _resultobj
= t_output_helper(_resultobj
, o
);
6200 o
= PyInt_FromLong((long) (*_arg2
));
6201 _resultobj
= t_output_helper(_resultobj
, o
);
6206 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6207 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
* _resultobj
;
6210 wxScrolledWindow
* _arg0
;
6211 PyObject
* _argo0
= 0;
6212 char *_kwnames
[] = { "self", NULL
};
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6225 wxPy_BEGIN_ALLOW_THREADS
;
6226 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6228 wxPy_END_ALLOW_THREADS
;
6229 if (PyErr_Occurred()) return NULL
;
6230 } _resultobj
= Py_BuildValue("i",_result
);
6234 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6235 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
* _resultobj
;
6237 wxScrolledWindow
* _arg0
;
6239 PyObject
* _argo0
= 0;
6240 PyObject
* _argo1
= 0;
6241 char *_kwnames
[] = { "self","dc", NULL
};
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6254 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6255 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6261 wxPy_BEGIN_ALLOW_THREADS
;
6262 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6264 wxPy_END_ALLOW_THREADS
;
6265 if (PyErr_Occurred()) return NULL
;
6266 } Py_INCREF(Py_None
);
6267 _resultobj
= Py_None
;
6271 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6272 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6274 wxScrolledWindow
* _arg0
;
6277 PyObject
* _argo0
= 0;
6278 char *_kwnames
[] = { "self","x","y", NULL
};
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6291 wxPy_BEGIN_ALLOW_THREADS
;
6292 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6294 wxPy_END_ALLOW_THREADS
;
6295 if (PyErr_Occurred()) return NULL
;
6296 } Py_INCREF(Py_None
);
6297 _resultobj
= Py_None
;
6301 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6302 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
* _resultobj
;
6304 wxScrolledWindow
* _arg0
;
6309 int _arg5
= (int ) 0;
6310 int _arg6
= (int ) 0;
6311 int _arg7
= (int ) FALSE
;
6312 PyObject
* _argo0
= 0;
6313 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6326 wxPy_BEGIN_ALLOW_THREADS
;
6327 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6329 wxPy_END_ALLOW_THREADS
;
6330 if (PyErr_Occurred()) return NULL
;
6331 } Py_INCREF(Py_None
);
6332 _resultobj
= Py_None
;
6336 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6337 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
* _resultobj
;
6339 wxScrolledWindow
* _arg0
;
6342 PyObject
* _argo0
= 0;
6343 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6356 wxPy_BEGIN_ALLOW_THREADS
;
6357 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6359 wxPy_END_ALLOW_THREADS
;
6360 if (PyErr_Occurred()) return NULL
;
6361 } Py_INCREF(Py_None
);
6362 _resultobj
= Py_None
;
6366 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6367 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
* _resultobj
;
6369 wxScrolledWindow
* _arg0
;
6371 PyObject
* _argo0
= 0;
6372 PyObject
* _argo1
= 0;
6373 char *_kwnames
[] = { "self","window", NULL
};
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6393 wxPy_BEGIN_ALLOW_THREADS
;
6394 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6396 wxPy_END_ALLOW_THREADS
;
6397 if (PyErr_Occurred()) return NULL
;
6398 } Py_INCREF(Py_None
);
6399 _resultobj
= Py_None
;
6403 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6404 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
* _resultobj
;
6406 wxScrolledWindow
* _arg0
;
6411 PyObject
* _argo0
= 0;
6412 char *_kwnames
[] = { "self", NULL
};
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6431 wxPy_BEGIN_ALLOW_THREADS
;
6432 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6434 wxPy_END_ALLOW_THREADS
;
6435 if (PyErr_Occurred()) return NULL
;
6436 } Py_INCREF(Py_None
);
6437 _resultobj
= Py_None
;
6440 o
= PyInt_FromLong((long) (*_arg1
));
6441 _resultobj
= t_output_helper(_resultobj
, o
);
6445 o
= PyInt_FromLong((long) (*_arg2
));
6446 _resultobj
= t_output_helper(_resultobj
, o
);
6451 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
6452 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
* _resultobj
;
6454 wxScrolledWindow
* _arg0
;
6459 PyObject
* _argo0
= 0;
6460 char *_kwnames
[] = { "self", NULL
};
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6479 wxPy_BEGIN_ALLOW_THREADS
;
6480 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6482 wxPy_END_ALLOW_THREADS
;
6483 if (PyErr_Occurred()) return NULL
;
6484 } Py_INCREF(Py_None
);
6485 _resultobj
= Py_None
;
6488 o
= PyInt_FromLong((long) (*_arg1
));
6489 _resultobj
= t_output_helper(_resultobj
, o
);
6493 o
= PyInt_FromLong((long) (*_arg2
));
6494 _resultobj
= t_output_helper(_resultobj
, o
);
6499 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6500 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
* _resultobj
;
6502 wxScrolledWindow
* _arg0
;
6509 PyObject
* _argo0
= 0;
6510 char *_kwnames
[] = { "self","x","y", NULL
};
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6529 wxPy_BEGIN_ALLOW_THREADS
;
6530 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6532 wxPy_END_ALLOW_THREADS
;
6533 if (PyErr_Occurred()) return NULL
;
6534 } Py_INCREF(Py_None
);
6535 _resultobj
= Py_None
;
6538 o
= PyInt_FromLong((long) (*_arg3
));
6539 _resultobj
= t_output_helper(_resultobj
, o
);
6543 o
= PyInt_FromLong((long) (*_arg4
));
6544 _resultobj
= t_output_helper(_resultobj
, o
);
6549 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6550 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
* _resultobj
;
6552 wxScrolledWindow
* _arg0
;
6559 PyObject
* _argo0
= 0;
6560 char *_kwnames
[] = { "self","x","y", NULL
};
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6579 wxPy_BEGIN_ALLOW_THREADS
;
6580 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6582 wxPy_END_ALLOW_THREADS
;
6583 if (PyErr_Occurred()) return NULL
;
6584 } Py_INCREF(Py_None
);
6585 _resultobj
= Py_None
;
6588 o
= PyInt_FromLong((long) (*_arg3
));
6589 _resultobj
= t_output_helper(_resultobj
, o
);
6593 o
= PyInt_FromLong((long) (*_arg4
));
6594 _resultobj
= t_output_helper(_resultobj
, o
);
6599 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
6600 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
* _resultobj
;
6602 wxScrolledWindow
* _arg0
;
6605 PyObject
* _argo0
= 0;
6606 char *_kwnames
[] = { "self","xs","ys", NULL
};
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
6619 wxPy_BEGIN_ALLOW_THREADS
;
6620 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
6622 wxPy_END_ALLOW_THREADS
;
6623 if (PyErr_Occurred()) return NULL
;
6624 } Py_INCREF(Py_None
);
6625 _resultobj
= Py_None
;
6629 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
6630 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6633 wxScrolledWindow
* _arg0
;
6634 PyObject
* _argo0
= 0;
6635 char *_kwnames
[] = { "self", NULL
};
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
6641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
6648 wxPy_BEGIN_ALLOW_THREADS
;
6649 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
6651 wxPy_END_ALLOW_THREADS
;
6652 if (PyErr_Occurred()) return NULL
;
6653 } _resultobj
= Py_BuildValue("d",_result
);
6657 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
6658 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6661 wxScrolledWindow
* _arg0
;
6662 PyObject
* _argo0
= 0;
6663 char *_kwnames
[] = { "self", NULL
};
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
6669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
6676 wxPy_BEGIN_ALLOW_THREADS
;
6677 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
6679 wxPy_END_ALLOW_THREADS
;
6680 if (PyErr_Occurred()) return NULL
;
6681 } _resultobj
= Py_BuildValue("d",_result
);
6685 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
6686 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
* _resultobj
;
6688 wxScrolledWindow
* _arg0
;
6689 PyObject
* _argo0
= 0;
6690 char *_kwnames
[] = { "self", NULL
};
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
6696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
6703 wxPy_BEGIN_ALLOW_THREADS
;
6704 wxScrolledWindow_AdjustScrollbars(_arg0
);
6706 wxPy_END_ALLOW_THREADS
;
6707 if (PyErr_Occurred()) return NULL
;
6708 } Py_INCREF(Py_None
);
6709 _resultobj
= Py_None
;
6713 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6716 src
= (wxMenu
*) ptr
;
6717 dest
= (wxEvtHandler
*) src
;
6718 return (void *) dest
;
6721 static void *SwigwxMenuTowxObject(void *ptr
) {
6724 src
= (wxMenu
*) ptr
;
6725 dest
= (wxObject
*) src
;
6726 return (void *) dest
;
6729 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6730 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
* _resultobj
;
6733 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6734 long _arg1
= (long ) 0;
6735 PyObject
* _obj0
= 0;
6736 char *_kwnames
[] = { "title","style", NULL
};
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6744 #if PYTHON_API_VERSION >= 1009
6745 char* tmpPtr
; int tmpSize
;
6746 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6747 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6750 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6752 _arg0
= new wxString(tmpPtr
, tmpSize
);
6754 if (!PyString_Check(_obj0
)) {
6755 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6758 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6762 wxPy_BEGIN_ALLOW_THREADS
;
6763 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6765 wxPy_END_ALLOW_THREADS
;
6766 if (PyErr_Occurred()) return NULL
;
6768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6769 _resultobj
= Py_BuildValue("s",_ptemp
);
6772 _resultobj
= Py_None
;
6781 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6782 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
* _resultobj
;
6787 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6788 int _arg4
= (int ) FALSE
;
6789 PyObject
* _argo0
= 0;
6790 PyObject
* _obj2
= 0;
6791 PyObject
* _obj3
= 0;
6792 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6805 #if PYTHON_API_VERSION >= 1009
6806 char* tmpPtr
; int tmpSize
;
6807 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6811 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6813 _arg2
= new wxString(tmpPtr
, tmpSize
);
6815 if (!PyString_Check(_obj2
)) {
6816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6819 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6824 #if PYTHON_API_VERSION >= 1009
6825 char* tmpPtr
; int tmpSize
;
6826 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6827 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6830 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6832 _arg3
= new wxString(tmpPtr
, tmpSize
);
6834 if (!PyString_Check(_obj3
)) {
6835 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6838 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6842 wxPy_BEGIN_ALLOW_THREADS
;
6843 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6845 wxPy_END_ALLOW_THREADS
;
6846 if (PyErr_Occurred()) return NULL
;
6847 } Py_INCREF(Py_None
);
6848 _resultobj
= Py_None
;
6860 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6861 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
* _resultobj
;
6867 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6868 PyObject
* _argo0
= 0;
6869 PyObject
* _obj2
= 0;
6870 PyObject
* _argo3
= 0;
6871 PyObject
* _obj4
= 0;
6872 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6885 #if PYTHON_API_VERSION >= 1009
6886 char* tmpPtr
; int tmpSize
;
6887 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6888 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6891 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6893 _arg2
= new wxString(tmpPtr
, tmpSize
);
6895 if (!PyString_Check(_obj2
)) {
6896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6899 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6903 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6904 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6911 #if PYTHON_API_VERSION >= 1009
6912 char* tmpPtr
; int tmpSize
;
6913 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
6914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6917 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
6919 _arg4
= new wxString(tmpPtr
, tmpSize
);
6921 if (!PyString_Check(_obj4
)) {
6922 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6925 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
6929 wxPy_BEGIN_ALLOW_THREADS
;
6930 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6932 wxPy_END_ALLOW_THREADS
;
6933 if (PyErr_Occurred()) return NULL
;
6934 } Py_INCREF(Py_None
);
6935 _resultobj
= Py_None
;
6947 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6948 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
* _resultobj
;
6952 PyObject
* _argo0
= 0;
6953 PyObject
* _argo1
= 0;
6954 char *_kwnames
[] = { "self","item", NULL
};
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6967 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6968 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6974 wxPy_BEGIN_ALLOW_THREADS
;
6975 wxMenu_AppendItem(_arg0
,_arg1
);
6977 wxPy_END_ALLOW_THREADS
;
6978 if (PyErr_Occurred()) return NULL
;
6979 } Py_INCREF(Py_None
);
6980 _resultobj
= Py_None
;
6984 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6985 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
* _resultobj
;
6988 PyObject
* _argo0
= 0;
6989 char *_kwnames
[] = { "self", NULL
};
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7002 wxPy_BEGIN_ALLOW_THREADS
;
7003 wxMenu_AppendSeparator(_arg0
);
7005 wxPy_END_ALLOW_THREADS
;
7006 if (PyErr_Occurred()) return NULL
;
7007 } Py_INCREF(Py_None
);
7008 _resultobj
= Py_None
;
7012 #define wxMenu_Break(_swigobj) (_swigobj->Break())
7013 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
* _resultobj
;
7016 PyObject
* _argo0
= 0;
7017 char *_kwnames
[] = { "self", NULL
};
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
7023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
7030 wxPy_BEGIN_ALLOW_THREADS
;
7031 wxMenu_Break(_arg0
);
7033 wxPy_END_ALLOW_THREADS
;
7034 if (PyErr_Occurred()) return NULL
;
7035 } Py_INCREF(Py_None
);
7036 _resultobj
= Py_None
;
7040 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7041 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
* _resultobj
;
7046 PyObject
* _argo0
= 0;
7048 char *_kwnames
[] = { "self","id","flag", NULL
};
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
7060 _arg2
= (bool ) tempbool2
;
7062 wxPy_BEGIN_ALLOW_THREADS
;
7063 wxMenu_Check(_arg0
,_arg1
,_arg2
);
7065 wxPy_END_ALLOW_THREADS
;
7066 if (PyErr_Occurred()) return NULL
;
7067 } Py_INCREF(Py_None
);
7068 _resultobj
= Py_None
;
7072 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7073 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
* _resultobj
;
7078 PyObject
* _argo0
= 0;
7079 char *_kwnames
[] = { "self","id", NULL
};
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
7092 wxPy_BEGIN_ALLOW_THREADS
;
7093 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
7095 wxPy_END_ALLOW_THREADS
;
7096 if (PyErr_Occurred()) return NULL
;
7097 } _resultobj
= Py_BuildValue("i",_result
);
7101 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7102 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
* _resultobj
;
7107 PyObject
* _argo0
= 0;
7109 char *_kwnames
[] = { "self","id","enable", NULL
};
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
7121 _arg2
= (bool ) tempbool2
;
7123 wxPy_BEGIN_ALLOW_THREADS
;
7124 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
7126 wxPy_END_ALLOW_THREADS
;
7127 if (PyErr_Occurred()) return NULL
;
7128 } Py_INCREF(Py_None
);
7129 _resultobj
= Py_None
;
7133 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7134 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
* _resultobj
;
7139 PyObject
* _argo0
= 0;
7140 char *_kwnames
[] = { "self","id", NULL
};
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
7153 wxPy_BEGIN_ALLOW_THREADS
;
7154 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
7156 wxPy_END_ALLOW_THREADS
;
7157 if (PyErr_Occurred()) return NULL
;
7158 } _resultobj
= Py_BuildValue("i",_result
);
7162 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7163 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
* _resultobj
;
7168 PyObject
* _argo0
= 0;
7169 PyObject
* _obj1
= 0;
7170 char *_kwnames
[] = { "self","itemString", NULL
};
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
7176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
7183 #if PYTHON_API_VERSION >= 1009
7184 char* tmpPtr
; int tmpSize
;
7185 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7189 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7191 _arg1
= new wxString(tmpPtr
, tmpSize
);
7193 if (!PyString_Check(_obj1
)) {
7194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7197 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7201 wxPy_BEGIN_ALLOW_THREADS
;
7202 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
7204 wxPy_END_ALLOW_THREADS
;
7205 if (PyErr_Occurred()) return NULL
;
7206 } _resultobj
= Py_BuildValue("i",_result
);
7214 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7215 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
* _resultobj
;
7217 wxMenuItem
* _result
;
7220 PyObject
* _argo0
= 0;
7221 char *_kwnames
[] = { "self","id", NULL
};
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
7234 wxPy_BEGIN_ALLOW_THREADS
;
7235 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
7237 wxPy_END_ALLOW_THREADS
;
7238 if (PyErr_Occurred()) return NULL
;
7239 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7243 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
7244 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
* _resultobj
;
7248 PyObject
* _argo0
= 0;
7249 char *_kwnames
[] = { "self", NULL
};
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
7255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
7262 wxPy_BEGIN_ALLOW_THREADS
;
7263 _result
= new wxString (wxMenu_GetTitle(_arg0
));
7265 wxPy_END_ALLOW_THREADS
;
7266 if (PyErr_Occurred()) return NULL
;
7268 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7276 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
7277 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
* _resultobj
;
7281 PyObject
* _argo0
= 0;
7282 PyObject
* _obj1
= 0;
7283 char *_kwnames
[] = { "self","title", NULL
};
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
7289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
7296 #if PYTHON_API_VERSION >= 1009
7297 char* tmpPtr
; int tmpSize
;
7298 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7299 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7302 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7304 _arg1
= new wxString(tmpPtr
, tmpSize
);
7306 if (!PyString_Check(_obj1
)) {
7307 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7310 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7314 wxPy_BEGIN_ALLOW_THREADS
;
7315 wxMenu_SetTitle(_arg0
,*_arg1
);
7317 wxPy_END_ALLOW_THREADS
;
7318 if (PyErr_Occurred()) return NULL
;
7319 } Py_INCREF(Py_None
);
7320 _resultobj
= Py_None
;
7328 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7329 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
* _resultobj
;
7334 PyObject
* _argo0
= 0;
7335 char *_kwnames
[] = { "self","id", NULL
};
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
7348 wxPy_BEGIN_ALLOW_THREADS
;
7349 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
7351 wxPy_END_ALLOW_THREADS
;
7352 if (PyErr_Occurred()) return NULL
;
7354 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7362 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7363 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
* _resultobj
;
7368 PyObject
* _argo0
= 0;
7369 PyObject
* _obj2
= 0;
7370 char *_kwnames
[] = { "self","id","label", NULL
};
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
7383 #if PYTHON_API_VERSION >= 1009
7384 char* tmpPtr
; int tmpSize
;
7385 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7386 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7389 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7391 _arg2
= new wxString(tmpPtr
, tmpSize
);
7393 if (!PyString_Check(_obj2
)) {
7394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7397 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7401 wxPy_BEGIN_ALLOW_THREADS
;
7402 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
7404 wxPy_END_ALLOW_THREADS
;
7405 if (PyErr_Occurred()) return NULL
;
7406 } Py_INCREF(Py_None
);
7407 _resultobj
= Py_None
;
7415 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7416 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
* _resultobj
;
7421 PyObject
* _argo0
= 0;
7422 char *_kwnames
[] = { "self","id", NULL
};
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
7435 wxPy_BEGIN_ALLOW_THREADS
;
7436 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
7438 wxPy_END_ALLOW_THREADS
;
7439 if (PyErr_Occurred()) return NULL
;
7441 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7449 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7450 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
* _resultobj
;
7455 PyObject
* _argo0
= 0;
7456 PyObject
* _obj2
= 0;
7457 char *_kwnames
[] = { "self","id","helpString", NULL
};
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
7470 #if PYTHON_API_VERSION >= 1009
7471 char* tmpPtr
; int tmpSize
;
7472 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7473 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7476 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7478 _arg2
= new wxString(tmpPtr
, tmpSize
);
7480 if (!PyString_Check(_obj2
)) {
7481 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7484 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7488 wxPy_BEGIN_ALLOW_THREADS
;
7489 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
7491 wxPy_END_ALLOW_THREADS
;
7492 if (PyErr_Occurred()) return NULL
;
7493 } Py_INCREF(Py_None
);
7494 _resultobj
= Py_None
;
7502 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
7503 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
* _resultobj
;
7506 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
7507 PyObject
* _argo0
= 0;
7508 PyObject
* _argo1
= 0;
7509 char *_kwnames
[] = { "self","source", NULL
};
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
7515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
7522 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7523 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
7529 wxPy_BEGIN_ALLOW_THREADS
;
7530 wxMenu_UpdateUI(_arg0
,_arg1
);
7532 wxPy_END_ALLOW_THREADS
;
7533 if (PyErr_Occurred()) return NULL
;
7534 } Py_INCREF(Py_None
);
7535 _resultobj
= Py_None
;
7539 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7540 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
* _resultobj
;
7545 PyObject
* _argo0
= 0;
7546 char *_kwnames
[] = { "self","id", NULL
};
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
7552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
7559 wxPy_BEGIN_ALLOW_THREADS
;
7560 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
7562 wxPy_END_ALLOW_THREADS
;
7563 if (PyErr_Occurred()) return NULL
;
7564 } _resultobj
= Py_BuildValue("i",_result
);
7568 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7569 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
* _resultobj
;
7574 PyObject
* _argo0
= 0;
7575 PyObject
* _argo1
= 0;
7576 char *_kwnames
[] = { "self","item", NULL
};
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
7582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
7589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
7596 wxPy_BEGIN_ALLOW_THREADS
;
7597 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
7599 wxPy_END_ALLOW_THREADS
;
7600 if (PyErr_Occurred()) return NULL
;
7601 } _resultobj
= Py_BuildValue("i",_result
);
7605 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7606 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
* _resultobj
;
7612 PyObject
* _argo0
= 0;
7613 PyObject
* _argo2
= 0;
7614 char *_kwnames
[] = { "self","pos","item", NULL
};
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7627 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7634 wxPy_BEGIN_ALLOW_THREADS
;
7635 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7637 wxPy_END_ALLOW_THREADS
;
7638 if (PyErr_Occurred()) return NULL
;
7639 } _resultobj
= Py_BuildValue("i",_result
);
7643 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7644 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
* _resultobj
;
7646 wxMenuItem
* _result
;
7649 PyObject
* _argo0
= 0;
7650 char *_kwnames
[] = { "self","id", NULL
};
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7663 wxPy_BEGIN_ALLOW_THREADS
;
7664 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7666 wxPy_END_ALLOW_THREADS
;
7667 if (PyErr_Occurred()) return NULL
;
7668 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7672 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7673 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
* _resultobj
;
7675 wxMenuItem
* _result
;
7678 PyObject
* _argo0
= 0;
7679 PyObject
* _argo1
= 0;
7680 char *_kwnames
[] = { "self","item", NULL
};
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7700 wxPy_BEGIN_ALLOW_THREADS
;
7701 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7703 wxPy_END_ALLOW_THREADS
;
7704 if (PyErr_Occurred()) return NULL
;
7705 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7709 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7710 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
* _resultobj
;
7713 PyObject
* _argo0
= 0;
7714 char *_kwnames
[] = { "self", NULL
};
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7727 wxPy_BEGIN_ALLOW_THREADS
;
7728 wxMenu_Destroy(_arg0
);
7730 wxPy_END_ALLOW_THREADS
;
7731 if (PyErr_Occurred()) return NULL
;
7732 } Py_INCREF(Py_None
);
7733 _resultobj
= Py_None
;
7737 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7738 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
* _resultobj
;
7743 PyObject
* _argo0
= 0;
7744 char *_kwnames
[] = { "self","id", NULL
};
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7757 wxPy_BEGIN_ALLOW_THREADS
;
7758 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7760 wxPy_END_ALLOW_THREADS
;
7761 if (PyErr_Occurred()) return NULL
;
7762 } _resultobj
= Py_BuildValue("i",_result
);
7766 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7767 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
* _resultobj
;
7772 PyObject
* _argo0
= 0;
7773 PyObject
* _argo1
= 0;
7774 char *_kwnames
[] = { "self","item", NULL
};
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7794 wxPy_BEGIN_ALLOW_THREADS
;
7795 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7797 wxPy_END_ALLOW_THREADS
;
7798 if (PyErr_Occurred()) return NULL
;
7799 } _resultobj
= Py_BuildValue("i",_result
);
7803 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7804 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
* _resultobj
;
7808 PyObject
* _argo0
= 0;
7809 char *_kwnames
[] = { "self", NULL
};
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7822 wxPy_BEGIN_ALLOW_THREADS
;
7823 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7825 wxPy_END_ALLOW_THREADS
;
7826 if (PyErr_Occurred()) return NULL
;
7827 } _resultobj
= Py_BuildValue("i",_result
);
7831 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7832 wxMenuItemList
& list
= self
->GetMenuItems();
7833 return wxPy_ConvertList(&list
, "wxMenuItem");
7835 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
* _resultobj
;
7839 PyObject
* _argo0
= 0;
7840 char *_kwnames
[] = { "self", NULL
};
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7853 wxPy_BEGIN_ALLOW_THREADS
;
7854 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7856 wxPy_END_ALLOW_THREADS
;
7857 if (PyErr_Occurred()) return NULL
;
7859 _resultobj
= _result
;
7864 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7865 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
* _resultobj
;
7868 wxEvtHandler
* _arg1
;
7869 PyObject
* _argo0
= 0;
7870 PyObject
* _argo1
= 0;
7871 char *_kwnames
[] = { "self","handler", NULL
};
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7891 wxPy_BEGIN_ALLOW_THREADS
;
7892 wxMenu_SetEventHandler(_arg0
,_arg1
);
7894 wxPy_END_ALLOW_THREADS
;
7895 if (PyErr_Occurred()) return NULL
;
7896 } Py_INCREF(Py_None
);
7897 _resultobj
= Py_None
;
7901 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7902 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
* _resultobj
;
7904 wxEvtHandler
* _result
;
7906 PyObject
* _argo0
= 0;
7907 char *_kwnames
[] = { "self", NULL
};
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7920 wxPy_BEGIN_ALLOW_THREADS
;
7921 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7923 wxPy_END_ALLOW_THREADS
;
7924 if (PyErr_Occurred()) return NULL
;
7925 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7929 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7930 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
* _resultobj
;
7934 PyObject
* _argo0
= 0;
7935 PyObject
* _argo1
= 0;
7936 char *_kwnames
[] = { "self","win", NULL
};
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7956 wxPy_BEGIN_ALLOW_THREADS
;
7957 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7959 wxPy_END_ALLOW_THREADS
;
7960 if (PyErr_Occurred()) return NULL
;
7961 } Py_INCREF(Py_None
);
7962 _resultobj
= Py_None
;
7966 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7967 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
* _resultobj
;
7971 PyObject
* _argo0
= 0;
7972 char *_kwnames
[] = { "self", NULL
};
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7985 wxPy_BEGIN_ALLOW_THREADS
;
7986 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7988 wxPy_END_ALLOW_THREADS
;
7989 if (PyErr_Occurred()) return NULL
;
7990 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7994 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7995 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
* _resultobj
;
7999 PyObject
* _argo0
= 0;
8000 char *_kwnames
[] = { "self", NULL
};
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
8006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
8013 wxPy_BEGIN_ALLOW_THREADS
;
8014 _result
= (long )wxMenu_GetStyle(_arg0
);
8016 wxPy_END_ALLOW_THREADS
;
8017 if (PyErr_Occurred()) return NULL
;
8018 } _resultobj
= Py_BuildValue("l",_result
);
8022 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
8023 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
* _resultobj
;
8027 PyObject
* _argo0
= 0;
8028 char *_kwnames
[] = { "self", NULL
};
8031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
8034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
8041 wxPy_BEGIN_ALLOW_THREADS
;
8042 _result
= (bool )wxMenu_IsAttached(_arg0
);
8044 wxPy_END_ALLOW_THREADS
;
8045 if (PyErr_Occurred()) return NULL
;
8046 } _resultobj
= Py_BuildValue("i",_result
);
8050 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
8051 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
* _resultobj
;
8055 PyObject
* _argo0
= 0;
8056 PyObject
* _argo1
= 0;
8057 char *_kwnames
[] = { "self","parent", NULL
};
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
8063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
8070 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8071 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
8077 wxPy_BEGIN_ALLOW_THREADS
;
8078 wxMenu_SetParent(_arg0
,_arg1
);
8080 wxPy_END_ALLOW_THREADS
;
8081 if (PyErr_Occurred()) return NULL
;
8082 } Py_INCREF(Py_None
);
8083 _resultobj
= Py_None
;
8087 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
8088 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
* _resultobj
;
8092 PyObject
* _argo0
= 0;
8093 char *_kwnames
[] = { "self", NULL
};
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
8099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
8106 wxPy_BEGIN_ALLOW_THREADS
;
8107 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
8109 wxPy_END_ALLOW_THREADS
;
8110 if (PyErr_Occurred()) return NULL
;
8111 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8115 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
8118 src
= (wxMenuBar
*) ptr
;
8119 dest
= (wxWindow
*) src
;
8120 return (void *) dest
;
8123 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
8126 src
= (wxMenuBar
*) ptr
;
8127 dest
= (wxEvtHandler
*) src
;
8128 return (void *) dest
;
8131 static void *SwigwxMenuBarTowxObject(void *ptr
) {
8134 src
= (wxMenuBar
*) ptr
;
8135 dest
= (wxObject
*) src
;
8136 return (void *) dest
;
8139 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
8140 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
* _resultobj
;
8142 wxMenuBar
* _result
;
8143 long _arg0
= (long ) 0;
8144 char *_kwnames
[] = { "style", NULL
};
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
8151 wxPy_BEGIN_ALLOW_THREADS
;
8152 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
8154 wxPy_END_ALLOW_THREADS
;
8155 if (PyErr_Occurred()) return NULL
;
8157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
8158 _resultobj
= Py_BuildValue("s",_ptemp
);
8161 _resultobj
= Py_None
;
8166 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
8167 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
* _resultobj
;
8173 PyObject
* _argo0
= 0;
8174 PyObject
* _argo1
= 0;
8175 PyObject
* _obj2
= 0;
8176 char *_kwnames
[] = { "self","menu","title", NULL
};
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
8189 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8190 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
8196 #if PYTHON_API_VERSION >= 1009
8197 char* tmpPtr
; int tmpSize
;
8198 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8202 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8204 _arg2
= new wxString(tmpPtr
, tmpSize
);
8206 if (!PyString_Check(_obj2
)) {
8207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8210 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8214 wxPy_BEGIN_ALLOW_THREADS
;
8215 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
8217 wxPy_END_ALLOW_THREADS
;
8218 if (PyErr_Occurred()) return NULL
;
8219 } _resultobj
= Py_BuildValue("i",_result
);
8227 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
8228 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
* _resultobj
;
8235 PyObject
* _argo0
= 0;
8236 PyObject
* _argo2
= 0;
8237 PyObject
* _obj3
= 0;
8238 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
8251 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8252 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
8258 #if PYTHON_API_VERSION >= 1009
8259 char* tmpPtr
; int tmpSize
;
8260 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8261 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8264 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8266 _arg3
= new wxString(tmpPtr
, tmpSize
);
8268 if (!PyString_Check(_obj3
)) {
8269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8272 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8276 wxPy_BEGIN_ALLOW_THREADS
;
8277 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
8279 wxPy_END_ALLOW_THREADS
;
8280 if (PyErr_Occurred()) return NULL
;
8281 } _resultobj
= Py_BuildValue("i",_result
);
8289 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
8290 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
* _resultobj
;
8294 PyObject
* _argo0
= 0;
8295 char *_kwnames
[] = { "self", NULL
};
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
8301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8308 wxPy_BEGIN_ALLOW_THREADS
;
8309 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
8311 wxPy_END_ALLOW_THREADS
;
8312 if (PyErr_Occurred()) return NULL
;
8313 } _resultobj
= Py_BuildValue("i",_result
);
8317 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
8318 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
* _resultobj
;
8323 PyObject
* _argo0
= 0;
8324 char *_kwnames
[] = { "self","pos", NULL
};
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
8330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
8337 wxPy_BEGIN_ALLOW_THREADS
;
8338 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
8340 wxPy_END_ALLOW_THREADS
;
8341 if (PyErr_Occurred()) return NULL
;
8342 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8346 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
8347 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
* _resultobj
;
8354 PyObject
* _argo0
= 0;
8355 PyObject
* _argo2
= 0;
8356 PyObject
* _obj3
= 0;
8357 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
8370 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8371 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
8377 #if PYTHON_API_VERSION >= 1009
8378 char* tmpPtr
; int tmpSize
;
8379 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8383 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8385 _arg3
= new wxString(tmpPtr
, tmpSize
);
8387 if (!PyString_Check(_obj3
)) {
8388 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8391 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8395 wxPy_BEGIN_ALLOW_THREADS
;
8396 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
8398 wxPy_END_ALLOW_THREADS
;
8399 if (PyErr_Occurred()) return NULL
;
8400 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8408 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8409 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
* _resultobj
;
8414 PyObject
* _argo0
= 0;
8415 char *_kwnames
[] = { "self","pos", NULL
};
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
8421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
8428 wxPy_BEGIN_ALLOW_THREADS
;
8429 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
8431 wxPy_END_ALLOW_THREADS
;
8432 if (PyErr_Occurred()) return NULL
;
8433 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8437 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
8438 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
* _resultobj
;
8443 PyObject
* _argo0
= 0;
8445 char *_kwnames
[] = { "self","pos","enable", NULL
};
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
8457 _arg2
= (bool ) tempbool2
;
8459 wxPy_BEGIN_ALLOW_THREADS
;
8460 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
8462 wxPy_END_ALLOW_THREADS
;
8463 if (PyErr_Occurred()) return NULL
;
8464 } Py_INCREF(Py_None
);
8465 _resultobj
= Py_None
;
8469 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
8470 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
* _resultobj
;
8475 PyObject
* _argo0
= 0;
8476 PyObject
* _obj2
= 0;
8477 char *_kwnames
[] = { "self","pos","label", NULL
};
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
8490 #if PYTHON_API_VERSION >= 1009
8491 char* tmpPtr
; int tmpSize
;
8492 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8493 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8496 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8498 _arg2
= new wxString(tmpPtr
, tmpSize
);
8500 if (!PyString_Check(_obj2
)) {
8501 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8504 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8508 wxPy_BEGIN_ALLOW_THREADS
;
8509 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
8511 wxPy_END_ALLOW_THREADS
;
8512 if (PyErr_Occurred()) return NULL
;
8513 } Py_INCREF(Py_None
);
8514 _resultobj
= Py_None
;
8522 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
8523 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
* _resultobj
;
8528 PyObject
* _argo0
= 0;
8529 char *_kwnames
[] = { "self","pos", NULL
};
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
8535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
8542 wxPy_BEGIN_ALLOW_THREADS
;
8543 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
8545 wxPy_END_ALLOW_THREADS
;
8546 if (PyErr_Occurred()) return NULL
;
8548 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8556 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
8557 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
* _resultobj
;
8563 PyObject
* _argo0
= 0;
8564 PyObject
* _obj1
= 0;
8565 PyObject
* _obj2
= 0;
8566 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
8579 #if PYTHON_API_VERSION >= 1009
8580 char* tmpPtr
; int tmpSize
;
8581 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8582 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8585 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8587 _arg1
= new wxString(tmpPtr
, tmpSize
);
8589 if (!PyString_Check(_obj1
)) {
8590 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8593 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8597 #if PYTHON_API_VERSION >= 1009
8598 char* tmpPtr
; int tmpSize
;
8599 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8600 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8603 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8605 _arg2
= new wxString(tmpPtr
, tmpSize
);
8607 if (!PyString_Check(_obj2
)) {
8608 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8611 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8615 wxPy_BEGIN_ALLOW_THREADS
;
8616 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
8618 wxPy_END_ALLOW_THREADS
;
8619 if (PyErr_Occurred()) return NULL
;
8620 } _resultobj
= Py_BuildValue("i",_result
);
8632 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8633 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
* _resultobj
;
8635 wxMenuItem
* _result
;
8638 PyObject
* _argo0
= 0;
8639 char *_kwnames
[] = { "self","id", NULL
};
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
8652 wxPy_BEGIN_ALLOW_THREADS
;
8653 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
8655 wxPy_END_ALLOW_THREADS
;
8656 if (PyErr_Occurred()) return NULL
;
8657 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8661 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8662 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
* _resultobj
;
8667 PyObject
* _argo0
= 0;
8669 char *_kwnames
[] = { "self","id","enable", NULL
};
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
8681 _arg2
= (bool ) tempbool2
;
8683 wxPy_BEGIN_ALLOW_THREADS
;
8684 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
8686 wxPy_END_ALLOW_THREADS
;
8687 if (PyErr_Occurred()) return NULL
;
8688 } Py_INCREF(Py_None
);
8689 _resultobj
= Py_None
;
8693 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8694 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
* _resultobj
;
8699 PyObject
* _argo0
= 0;
8701 char *_kwnames
[] = { "self","id","check", NULL
};
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8713 _arg2
= (bool ) tempbool2
;
8715 wxPy_BEGIN_ALLOW_THREADS
;
8716 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8718 wxPy_END_ALLOW_THREADS
;
8719 if (PyErr_Occurred()) return NULL
;
8720 } Py_INCREF(Py_None
);
8721 _resultobj
= Py_None
;
8725 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8726 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
* _resultobj
;
8731 PyObject
* _argo0
= 0;
8732 char *_kwnames
[] = { "self","id", NULL
};
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8745 wxPy_BEGIN_ALLOW_THREADS
;
8746 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8748 wxPy_END_ALLOW_THREADS
;
8749 if (PyErr_Occurred()) return NULL
;
8750 } _resultobj
= Py_BuildValue("i",_result
);
8754 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8755 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
* _resultobj
;
8760 PyObject
* _argo0
= 0;
8761 char *_kwnames
[] = { "self","id", NULL
};
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8774 wxPy_BEGIN_ALLOW_THREADS
;
8775 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8777 wxPy_END_ALLOW_THREADS
;
8778 if (PyErr_Occurred()) return NULL
;
8779 } _resultobj
= Py_BuildValue("i",_result
);
8783 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8784 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
* _resultobj
;
8789 PyObject
* _argo0
= 0;
8790 PyObject
* _obj2
= 0;
8791 char *_kwnames
[] = { "self","id","label", NULL
};
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8804 #if PYTHON_API_VERSION >= 1009
8805 char* tmpPtr
; int tmpSize
;
8806 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8807 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8810 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8812 _arg2
= new wxString(tmpPtr
, tmpSize
);
8814 if (!PyString_Check(_obj2
)) {
8815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8818 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8822 wxPy_BEGIN_ALLOW_THREADS
;
8823 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8825 wxPy_END_ALLOW_THREADS
;
8826 if (PyErr_Occurred()) return NULL
;
8827 } Py_INCREF(Py_None
);
8828 _resultobj
= Py_None
;
8836 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8837 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
* _resultobj
;
8842 PyObject
* _argo0
= 0;
8843 char *_kwnames
[] = { "self","id", NULL
};
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8856 wxPy_BEGIN_ALLOW_THREADS
;
8857 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8859 wxPy_END_ALLOW_THREADS
;
8860 if (PyErr_Occurred()) return NULL
;
8862 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8870 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8871 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
* _resultobj
;
8876 PyObject
* _argo0
= 0;
8877 PyObject
* _obj2
= 0;
8878 char *_kwnames
[] = { "self","id","helpString", NULL
};
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8891 #if PYTHON_API_VERSION >= 1009
8892 char* tmpPtr
; int tmpSize
;
8893 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8897 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8899 _arg2
= new wxString(tmpPtr
, tmpSize
);
8901 if (!PyString_Check(_obj2
)) {
8902 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8905 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8909 wxPy_BEGIN_ALLOW_THREADS
;
8910 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8912 wxPy_END_ALLOW_THREADS
;
8913 if (PyErr_Occurred()) return NULL
;
8914 } Py_INCREF(Py_None
);
8915 _resultobj
= Py_None
;
8923 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8924 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
* _resultobj
;
8929 PyObject
* _argo0
= 0;
8930 char *_kwnames
[] = { "self","id", NULL
};
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8943 wxPy_BEGIN_ALLOW_THREADS
;
8944 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8946 wxPy_END_ALLOW_THREADS
;
8947 if (PyErr_Occurred()) return NULL
;
8949 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8957 static void *SwigwxMenuItemTowxObject(void *ptr
) {
8960 src
= (wxMenuItem
*) ptr
;
8961 dest
= (wxObject
*) src
;
8962 return (void *) dest
;
8965 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8966 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
* _resultobj
;
8968 wxMenuItem
* _result
;
8969 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8970 int _arg1
= (int ) wxID_SEPARATOR
;
8971 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8972 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8973 bool _arg4
= (bool ) FALSE
;
8974 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8975 PyObject
* _argo0
= 0;
8976 PyObject
* _obj2
= 0;
8977 PyObject
* _obj3
= 0;
8978 int tempbool4
= (int) FALSE
;
8979 PyObject
* _argo5
= 0;
8980 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8995 #if PYTHON_API_VERSION >= 1009
8996 char* tmpPtr
; int tmpSize
;
8997 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8998 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9001 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9003 _arg2
= new wxString(tmpPtr
, tmpSize
);
9005 if (!PyString_Check(_obj2
)) {
9006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9009 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9014 #if PYTHON_API_VERSION >= 1009
9015 char* tmpPtr
; int tmpSize
;
9016 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9017 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9020 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9022 _arg3
= new wxString(tmpPtr
, tmpSize
);
9024 if (!PyString_Check(_obj3
)) {
9025 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9028 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9031 _arg4
= (bool ) tempbool4
;
9033 if (_argo5
== Py_None
) { _arg5
= NULL
; }
9034 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
9035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
9040 wxPy_BEGIN_ALLOW_THREADS
;
9041 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
9043 wxPy_END_ALLOW_THREADS
;
9044 if (PyErr_Occurred()) return NULL
;
9046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
9047 _resultobj
= Py_BuildValue("s",_ptemp
);
9050 _resultobj
= Py_None
;
9063 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
9064 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
* _resultobj
;
9068 PyObject
* _argo0
= 0;
9069 char *_kwnames
[] = { "self", NULL
};
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
9075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
9082 wxPy_BEGIN_ALLOW_THREADS
;
9083 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
9085 wxPy_END_ALLOW_THREADS
;
9086 if (PyErr_Occurred()) return NULL
;
9087 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9091 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
9092 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
* _resultobj
;
9096 PyObject
* _argo0
= 0;
9097 char *_kwnames
[] = { "self","id", NULL
};
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
9103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
9110 wxPy_BEGIN_ALLOW_THREADS
;
9111 wxMenuItem_SetId(_arg0
,_arg1
);
9113 wxPy_END_ALLOW_THREADS
;
9114 if (PyErr_Occurred()) return NULL
;
9115 } Py_INCREF(Py_None
);
9116 _resultobj
= Py_None
;
9120 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
9121 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
* _resultobj
;
9125 PyObject
* _argo0
= 0;
9126 char *_kwnames
[] = { "self", NULL
};
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
9132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
9139 wxPy_BEGIN_ALLOW_THREADS
;
9140 _result
= (int )wxMenuItem_GetId(_arg0
);
9142 wxPy_END_ALLOW_THREADS
;
9143 if (PyErr_Occurred()) return NULL
;
9144 } _resultobj
= Py_BuildValue("i",_result
);
9148 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
9149 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
* _resultobj
;
9153 PyObject
* _argo0
= 0;
9154 char *_kwnames
[] = { "self", NULL
};
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
9160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
9167 wxPy_BEGIN_ALLOW_THREADS
;
9168 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
9170 wxPy_END_ALLOW_THREADS
;
9171 if (PyErr_Occurred()) return NULL
;
9172 } _resultobj
= Py_BuildValue("i",_result
);
9176 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
9177 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
* _resultobj
;
9181 PyObject
* _argo0
= 0;
9182 PyObject
* _obj1
= 0;
9183 char *_kwnames
[] = { "self","str", NULL
};
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
9189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
9196 #if PYTHON_API_VERSION >= 1009
9197 char* tmpPtr
; int tmpSize
;
9198 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9202 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9204 _arg1
= new wxString(tmpPtr
, tmpSize
);
9206 if (!PyString_Check(_obj1
)) {
9207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9210 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9214 wxPy_BEGIN_ALLOW_THREADS
;
9215 wxMenuItem_SetText(_arg0
,*_arg1
);
9217 wxPy_END_ALLOW_THREADS
;
9218 if (PyErr_Occurred()) return NULL
;
9219 } Py_INCREF(Py_None
);
9220 _resultobj
= Py_None
;
9228 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
9229 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
* _resultobj
;
9233 PyObject
* _argo0
= 0;
9234 char *_kwnames
[] = { "self", NULL
};
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
9240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
9247 wxPy_BEGIN_ALLOW_THREADS
;
9248 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
9250 wxPy_END_ALLOW_THREADS
;
9251 if (PyErr_Occurred()) return NULL
;
9253 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9261 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
9262 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
* _resultobj
;
9266 PyObject
* _argo0
= 0;
9267 char *_kwnames
[] = { "self", NULL
};
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
9273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
9280 wxPy_BEGIN_ALLOW_THREADS
;
9281 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
9282 _result
= (wxString
*) &_result_ref
;
9284 wxPy_END_ALLOW_THREADS
;
9285 if (PyErr_Occurred()) return NULL
;
9287 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9292 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
9293 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
* _resultobj
;
9297 PyObject
* _argo0
= 0;
9299 char *_kwnames
[] = { "self","checkable", NULL
};
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
9305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
9311 _arg1
= (bool ) tempbool1
;
9313 wxPy_BEGIN_ALLOW_THREADS
;
9314 wxMenuItem_SetCheckable(_arg0
,_arg1
);
9316 wxPy_END_ALLOW_THREADS
;
9317 if (PyErr_Occurred()) return NULL
;
9318 } Py_INCREF(Py_None
);
9319 _resultobj
= Py_None
;
9323 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
9324 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
* _resultobj
;
9328 PyObject
* _argo0
= 0;
9329 char *_kwnames
[] = { "self", NULL
};
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
9335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
9342 wxPy_BEGIN_ALLOW_THREADS
;
9343 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
9345 wxPy_END_ALLOW_THREADS
;
9346 if (PyErr_Occurred()) return NULL
;
9347 } _resultobj
= Py_BuildValue("i",_result
);
9351 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
9352 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
* _resultobj
;
9356 PyObject
* _argo0
= 0;
9357 char *_kwnames
[] = { "self", NULL
};
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
9363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
9370 wxPy_BEGIN_ALLOW_THREADS
;
9371 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
9373 wxPy_END_ALLOW_THREADS
;
9374 if (PyErr_Occurred()) return NULL
;
9375 } _resultobj
= Py_BuildValue("i",_result
);
9379 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
9380 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
* _resultobj
;
9384 PyObject
* _argo0
= 0;
9385 PyObject
* _argo1
= 0;
9386 char *_kwnames
[] = { "self","menu", NULL
};
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
9392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
9399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
9406 wxPy_BEGIN_ALLOW_THREADS
;
9407 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
9409 wxPy_END_ALLOW_THREADS
;
9410 if (PyErr_Occurred()) return NULL
;
9411 } Py_INCREF(Py_None
);
9412 _resultobj
= Py_None
;
9416 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
9417 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
* _resultobj
;
9421 PyObject
* _argo0
= 0;
9422 char *_kwnames
[] = { "self", NULL
};
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
9428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
9435 wxPy_BEGIN_ALLOW_THREADS
;
9436 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
9438 wxPy_END_ALLOW_THREADS
;
9439 if (PyErr_Occurred()) return NULL
;
9440 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9444 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9445 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
* _resultobj
;
9448 bool _arg1
= (bool ) TRUE
;
9449 PyObject
* _argo0
= 0;
9450 int tempbool1
= (int) TRUE
;
9451 char *_kwnames
[] = { "self","enable", NULL
};
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
9457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
9463 _arg1
= (bool ) tempbool1
;
9465 wxPy_BEGIN_ALLOW_THREADS
;
9466 wxMenuItem_Enable(_arg0
,_arg1
);
9468 wxPy_END_ALLOW_THREADS
;
9469 if (PyErr_Occurred()) return NULL
;
9470 } Py_INCREF(Py_None
);
9471 _resultobj
= Py_None
;
9475 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
9476 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
* _resultobj
;
9480 PyObject
* _argo0
= 0;
9481 char *_kwnames
[] = { "self", NULL
};
9484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
9487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
9494 wxPy_BEGIN_ALLOW_THREADS
;
9495 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
9497 wxPy_END_ALLOW_THREADS
;
9498 if (PyErr_Occurred()) return NULL
;
9499 } _resultobj
= Py_BuildValue("i",_result
);
9503 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
9504 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
* _resultobj
;
9507 bool _arg1
= (bool ) TRUE
;
9508 PyObject
* _argo0
= 0;
9509 int tempbool1
= (int) TRUE
;
9510 char *_kwnames
[] = { "self","check", NULL
};
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
9516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
9522 _arg1
= (bool ) tempbool1
;
9524 wxPy_BEGIN_ALLOW_THREADS
;
9525 wxMenuItem_Check(_arg0
,_arg1
);
9527 wxPy_END_ALLOW_THREADS
;
9528 if (PyErr_Occurred()) return NULL
;
9529 } Py_INCREF(Py_None
);
9530 _resultobj
= Py_None
;
9534 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
9535 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
* _resultobj
;
9539 PyObject
* _argo0
= 0;
9540 char *_kwnames
[] = { "self", NULL
};
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
9546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
9553 wxPy_BEGIN_ALLOW_THREADS
;
9554 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
9556 wxPy_END_ALLOW_THREADS
;
9557 if (PyErr_Occurred()) return NULL
;
9558 } _resultobj
= Py_BuildValue("i",_result
);
9562 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
9563 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
* _resultobj
;
9566 PyObject
* _argo0
= 0;
9567 char *_kwnames
[] = { "self", NULL
};
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
9573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
9580 wxPy_BEGIN_ALLOW_THREADS
;
9581 wxMenuItem_Toggle(_arg0
);
9583 wxPy_END_ALLOW_THREADS
;
9584 if (PyErr_Occurred()) return NULL
;
9585 } Py_INCREF(Py_None
);
9586 _resultobj
= Py_None
;
9590 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
9591 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
* _resultobj
;
9595 PyObject
* _argo0
= 0;
9596 PyObject
* _obj1
= 0;
9597 char *_kwnames
[] = { "self","str", NULL
};
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
9603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
9610 #if PYTHON_API_VERSION >= 1009
9611 char* tmpPtr
; int tmpSize
;
9612 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9613 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9616 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9618 _arg1
= new wxString(tmpPtr
, tmpSize
);
9620 if (!PyString_Check(_obj1
)) {
9621 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9624 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9628 wxPy_BEGIN_ALLOW_THREADS
;
9629 wxMenuItem_SetHelp(_arg0
,*_arg1
);
9631 wxPy_END_ALLOW_THREADS
;
9632 if (PyErr_Occurred()) return NULL
;
9633 } Py_INCREF(Py_None
);
9634 _resultobj
= Py_None
;
9642 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
9643 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
* _resultobj
;
9647 PyObject
* _argo0
= 0;
9648 char *_kwnames
[] = { "self", NULL
};
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
9654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
9661 wxPy_BEGIN_ALLOW_THREADS
;
9662 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
9663 _result
= (wxString
*) &_result_ref
;
9665 wxPy_END_ALLOW_THREADS
;
9666 if (PyErr_Occurred()) return NULL
;
9668 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9673 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
9674 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
* _resultobj
;
9676 wxAcceleratorEntry
* _result
;
9678 PyObject
* _argo0
= 0;
9679 char *_kwnames
[] = { "self", NULL
};
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
9686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
9693 wxPy_BEGIN_ALLOW_THREADS
;
9694 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
9696 wxPy_END_ALLOW_THREADS
;
9697 if (PyErr_Occurred()) return NULL
;
9699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
9700 _resultobj
= Py_BuildValue("s",_ptemp
);
9703 _resultobj
= Py_None
;
9708 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
9709 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
* _resultobj
;
9712 wxAcceleratorEntry
* _arg1
;
9713 PyObject
* _argo0
= 0;
9714 PyObject
* _argo1
= 0;
9715 char *_kwnames
[] = { "self","accel", NULL
};
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
9721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
9728 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9729 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
9730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
9735 wxPy_BEGIN_ALLOW_THREADS
;
9736 wxMenuItem_SetAccel(_arg0
,_arg1
);
9738 wxPy_END_ALLOW_THREADS
;
9739 if (PyErr_Occurred()) return NULL
;
9740 } Py_INCREF(Py_None
);
9741 _resultobj
= Py_None
;
9745 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
* _resultobj
;
9749 PyObject
* _obj0
= 0;
9750 char *_kwnames
[] = { "text", NULL
};
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
9756 #if PYTHON_API_VERSION >= 1009
9757 char* tmpPtr
; int tmpSize
;
9758 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9759 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9762 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9764 _arg0
= new wxString(tmpPtr
, tmpSize
);
9766 if (!PyString_Check(_obj0
)) {
9767 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9770 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9774 wxPy_BEGIN_ALLOW_THREADS
;
9775 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
9777 wxPy_END_ALLOW_THREADS
;
9778 if (PyErr_Occurred()) return NULL
;
9780 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9792 static PyMethodDef windowscMethods
[] = {
9793 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
9794 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9795 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9796 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9797 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9798 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9799 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9800 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
9801 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9802 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9803 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9804 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9805 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9806 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9807 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9808 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9809 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9810 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9811 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9812 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9813 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9814 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9815 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9816 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9817 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9818 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
9833 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9834 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
9835 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9836 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9837 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
9838 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
9839 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9840 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9841 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9842 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9843 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
10066 * This table is used by the pointer type-checker
10068 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10069 { "_signed_long","_long",0},
10070 { "_wxPrintQuality","_wxCoord",0},
10071 { "_wxPrintQuality","_int",0},
10072 { "_wxPrintQuality","_signed_int",0},
10073 { "_wxPrintQuality","_unsigned_int",0},
10074 { "_wxPrintQuality","_wxWindowID",0},
10075 { "_wxPrintQuality","_uint",0},
10076 { "_wxPrintQuality","_EBool",0},
10077 { "_wxPrintQuality","_size_t",0},
10078 { "_wxPrintQuality","_time_t",0},
10079 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10080 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10081 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
10082 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
10083 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10084 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10085 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
10086 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
10087 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
10088 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
10089 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
10090 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
10091 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10092 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10093 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
10094 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
10095 { "_byte","_unsigned_char",0},
10096 { "_long","_unsigned_long",0},
10097 { "_long","_signed_long",0},
10098 { "_class_wxObject","_class_wxMenuItem",SwigwxMenuItemTowxObject
},
10099 { "_class_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
10100 { "_class_wxObject","_class_wxMenuBar",SwigwxMenuBarTowxObject
},
10101 { "_class_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
10102 { "_class_wxObject","_class_wxMenu",SwigwxMenuTowxObject
},
10103 { "_class_wxObject","_wxMenu",SwigwxMenuTowxObject
},
10104 { "_class_wxObject","_class_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
10105 { "_class_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
10106 { "_class_wxObject","_class_wxDialog",SwigwxDialogTowxObject
},
10107 { "_class_wxObject","_wxDialog",SwigwxDialogTowxObject
},
10108 { "_class_wxObject","_class_wxPanel",SwigwxPanelTowxObject
},
10109 { "_class_wxObject","_wxPanel",SwigwxPanelTowxObject
},
10110 { "_class_wxObject","_class_wxWindow",SwigwxWindowTowxObject
},
10111 { "_class_wxObject","_wxWindow",SwigwxWindowTowxObject
},
10112 { "_class_wxObject","_class_wxPyValidator",SwigwxPyValidatorTowxObject
},
10113 { "_class_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
10114 { "_class_wxObject","_class_wxValidator",SwigwxValidatorTowxObject
},
10115 { "_class_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
10116 { "_class_wxObject","_class_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
10117 { "_class_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
10118 { "_size_t","_wxCoord",0},
10119 { "_size_t","_wxPrintQuality",0},
10120 { "_size_t","_time_t",0},
10121 { "_size_t","_unsigned_int",0},
10122 { "_size_t","_int",0},
10123 { "_size_t","_wxWindowID",0},
10124 { "_size_t","_uint",0},
10125 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10126 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10127 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
10128 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
10129 { "_uint","_wxCoord",0},
10130 { "_uint","_wxPrintQuality",0},
10131 { "_uint","_time_t",0},
10132 { "_uint","_size_t",0},
10133 { "_uint","_unsigned_int",0},
10134 { "_uint","_int",0},
10135 { "_uint","_wxWindowID",0},
10136 { "_wxChar","_char",0},
10137 { "_char","_wxChar",0},
10138 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10139 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10140 { "_EBool","_wxCoord",0},
10141 { "_EBool","_wxPrintQuality",0},
10142 { "_EBool","_signed_int",0},
10143 { "_EBool","_int",0},
10144 { "_EBool","_wxWindowID",0},
10145 { "_unsigned_long","_long",0},
10146 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10147 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10148 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
10149 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
10150 { "_signed_int","_wxCoord",0},
10151 { "_signed_int","_wxPrintQuality",0},
10152 { "_signed_int","_EBool",0},
10153 { "_signed_int","_wxWindowID",0},
10154 { "_signed_int","_int",0},
10155 { "_WXTYPE","_short",0},
10156 { "_WXTYPE","_signed_short",0},
10157 { "_WXTYPE","_unsigned_short",0},
10158 { "_unsigned_short","_WXTYPE",0},
10159 { "_unsigned_short","_short",0},
10160 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
10161 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10162 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10163 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10164 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
10165 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
10166 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
10167 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10168 { "_wxObject","_class_wxMenuItem",SwigwxMenuItemTowxObject
},
10169 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
10170 { "_wxObject","_class_wxMenuBar",SwigwxMenuBarTowxObject
},
10171 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
10172 { "_wxObject","_class_wxMenu",SwigwxMenuTowxObject
},
10173 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
10174 { "_wxObject","_class_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
10175 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
10176 { "_wxObject","_class_wxDialog",SwigwxDialogTowxObject
},
10177 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
10178 { "_wxObject","_class_wxPanel",SwigwxPanelTowxObject
},
10179 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
10180 { "_wxObject","_class_wxWindow",SwigwxWindowTowxObject
},
10181 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
10182 { "_wxObject","_class_wxPyValidator",SwigwxPyValidatorTowxObject
},
10183 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
10184 { "_wxObject","_class_wxValidator",SwigwxValidatorTowxObject
},
10185 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
10186 { "_wxObject","_class_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
10187 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
10188 { "_signed_short","_WXTYPE",0},
10189 { "_signed_short","_short",0},
10190 { "_unsigned_char","_byte",0},
10191 { "_unsigned_int","_wxCoord",0},
10192 { "_unsigned_int","_wxPrintQuality",0},
10193 { "_unsigned_int","_time_t",0},
10194 { "_unsigned_int","_size_t",0},
10195 { "_unsigned_int","_uint",0},
10196 { "_unsigned_int","_wxWindowID",0},
10197 { "_unsigned_int","_int",0},
10198 { "_short","_WXTYPE",0},
10199 { "_short","_unsigned_short",0},
10200 { "_short","_signed_short",0},
10201 { "_wxWindowID","_wxCoord",0},
10202 { "_wxWindowID","_wxPrintQuality",0},
10203 { "_wxWindowID","_time_t",0},
10204 { "_wxWindowID","_size_t",0},
10205 { "_wxWindowID","_EBool",0},
10206 { "_wxWindowID","_uint",0},
10207 { "_wxWindowID","_int",0},
10208 { "_wxWindowID","_signed_int",0},
10209 { "_wxWindowID","_unsigned_int",0},
10210 { "_int","_wxCoord",0},
10211 { "_int","_wxPrintQuality",0},
10212 { "_int","_time_t",0},
10213 { "_int","_size_t",0},
10214 { "_int","_EBool",0},
10215 { "_int","_uint",0},
10216 { "_int","_wxWindowID",0},
10217 { "_int","_unsigned_int",0},
10218 { "_int","_signed_int",0},
10219 { "_time_t","_wxCoord",0},
10220 { "_time_t","_wxPrintQuality",0},
10221 { "_time_t","_unsigned_int",0},
10222 { "_time_t","_int",0},
10223 { "_time_t","_wxWindowID",0},
10224 { "_time_t","_uint",0},
10225 { "_time_t","_size_t",0},
10226 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10227 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10228 { "_wxCoord","_int",0},
10229 { "_wxCoord","_signed_int",0},
10230 { "_wxCoord","_unsigned_int",0},
10231 { "_wxCoord","_wxWindowID",0},
10232 { "_wxCoord","_uint",0},
10233 { "_wxCoord","_EBool",0},
10234 { "_wxCoord","_size_t",0},
10235 { "_wxCoord","_time_t",0},
10236 { "_wxCoord","_wxPrintQuality",0},
10237 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10238 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10239 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
10240 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
10241 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10242 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10243 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
10244 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
10245 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
10246 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
10247 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
10248 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
10249 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10250 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10251 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
10252 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
10253 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
10254 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10255 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10256 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10257 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
10258 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
10259 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
10260 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10263 static PyObject
*SWIG_globals
;
10267 SWIGEXPORT(void) initwindowsc() {
10269 SWIG_globals
= SWIG_newvarlink();
10270 m
= Py_InitModule("windowsc", windowscMethods
);
10271 d
= PyModule_GetDict(m
);
10274 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10275 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);