2 * FILE : src/msw/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 class wxPyValidator
: public wxValidator
{
90 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
98 wxObject
* Clone() const {
99 wxPyValidator
* ptr
= NULL
;
100 wxPyValidator
* self
= (wxPyValidator
*)this;
102 wxPyBeginBlockThreads();
103 if (self
->m_myInst
.findCallback("Clone")) {
105 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
107 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
111 wxPyEndBlockThreads();
113 // This is very dangerous!!! But is the only way I could find
114 // to squash a memory leak. Currently it is okay, but if the
115 // validator architecture in wxWindows ever changes, problems
122 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
123 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
124 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
129 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
130 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
131 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
133 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
136 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
137 wxWindow
* win
= new wxWindow
;
139 win
->SubclassWin(hWnd
);
145 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
146 PyObject
* _resultobj
;
149 char *_kwnames
[] = { "hWnd", NULL
};
152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
156 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
158 wxPyEndAllowThreads(__tstate
);
159 if (PyErr_Occurred()) return NULL
;
160 }{ _resultobj
= wxPyMake_wxObject(_result
); }
164 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
167 src
= (wxEvtHandler
*) ptr
;
168 dest
= (wxObject
*) src
;
169 return (void *) dest
;
172 #define new_wxEvtHandler() (new wxEvtHandler())
173 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
174 PyObject
* _resultobj
;
175 wxEvtHandler
* _result
;
176 char *_kwnames
[] = { NULL
};
180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
184 _result
= (wxEvtHandler
*)new_wxEvtHandler();
186 wxPyEndAllowThreads(__tstate
);
187 if (PyErr_Occurred()) return NULL
;
189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
190 _resultobj
= Py_BuildValue("s",_ptemp
);
193 _resultobj
= Py_None
;
198 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
199 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
200 PyObject
* _resultobj
;
202 wxEvtHandler
* _arg0
;
204 PyObject
* _argo0
= 0;
205 PyObject
* _argo1
= 0;
206 char *_kwnames
[] = { "self","event", NULL
};
209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
219 if (_argo1
== Py_None
) { _arg1
= NULL
; }
220 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
227 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
229 wxPyEndAllowThreads(__tstate
);
230 if (PyErr_Occurred()) return NULL
;
231 } _resultobj
= Py_BuildValue("i",_result
);
235 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
236 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
237 PyObject
* _resultobj
;
238 wxEvtHandler
* _arg0
;
240 PyObject
* _argo0
= 0;
241 PyObject
* _argo1
= 0;
242 char *_kwnames
[] = { "self","event", NULL
};
245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
255 if (_argo1
== Py_None
) { _arg1
= NULL
; }
256 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
263 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
265 wxPyEndAllowThreads(__tstate
);
266 if (PyErr_Occurred()) return NULL
;
267 } Py_INCREF(Py_None
);
268 _resultobj
= Py_None
;
272 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
273 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
274 PyObject
* _resultobj
;
276 wxEvtHandler
* _arg0
;
277 PyObject
* _argo0
= 0;
278 char *_kwnames
[] = { "self", NULL
};
281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
292 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
294 wxPyEndAllowThreads(__tstate
);
295 if (PyErr_Occurred()) return NULL
;
296 } _resultobj
= Py_BuildValue("i",_result
);
300 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
301 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
302 PyObject
* _resultobj
;
303 wxEvtHandler
* _arg0
;
305 PyObject
* _argo0
= 0;
307 char *_kwnames
[] = { "self","enabled", NULL
};
310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
319 _arg1
= (bool ) tempbool1
;
321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
322 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
324 wxPyEndAllowThreads(__tstate
);
325 if (PyErr_Occurred()) return NULL
;
326 } Py_INCREF(Py_None
);
327 _resultobj
= Py_None
;
331 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
332 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
334 wxEvtHandler
* _result
;
335 wxEvtHandler
* _arg0
;
336 PyObject
* _argo0
= 0;
337 char *_kwnames
[] = { "self", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
351 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
353 wxPyEndAllowThreads(__tstate
);
354 if (PyErr_Occurred()) return NULL
;
355 }{ _resultobj
= wxPyMake_wxObject(_result
); }
359 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
360 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
362 wxEvtHandler
* _result
;
363 wxEvtHandler
* _arg0
;
364 PyObject
* _argo0
= 0;
365 char *_kwnames
[] = { "self", NULL
};
368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
379 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
381 wxPyEndAllowThreads(__tstate
);
382 if (PyErr_Occurred()) return NULL
;
383 }{ _resultobj
= wxPyMake_wxObject(_result
); }
387 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
388 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
389 PyObject
* _resultobj
;
390 wxEvtHandler
* _arg0
;
391 wxEvtHandler
* _arg1
;
392 PyObject
* _argo0
= 0;
393 PyObject
* _argo1
= 0;
394 char *_kwnames
[] = { "self","handler", NULL
};
397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
407 if (_argo1
== Py_None
) { _arg1
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } Py_INCREF(Py_None
);
420 _resultobj
= Py_None
;
424 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
425 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
426 PyObject
* _resultobj
;
427 wxEvtHandler
* _arg0
;
428 wxEvtHandler
* _arg1
;
429 PyObject
* _argo0
= 0;
430 PyObject
* _argo1
= 0;
431 char *_kwnames
[] = { "self","handler", NULL
};
434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
444 if (_argo1
== Py_None
) { _arg1
= NULL
; }
445 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
452 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
454 wxPyEndAllowThreads(__tstate
);
455 if (PyErr_Occurred()) return NULL
;
456 } Py_INCREF(Py_None
);
457 _resultobj
= Py_None
;
461 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
462 if (PyCallable_Check(func
)) {
463 self
->Connect(id
, lastId
, eventType
,
464 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
465 new wxPyCallback(func
));
467 else if (func
== Py_None
) {
468 self
->Disconnect(id
, lastId
, eventType
,
469 (wxObjectEventFunction
)
470 &wxPyCallback::EventThunker
);
473 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
476 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
477 PyObject
* _resultobj
;
478 wxEvtHandler
* _arg0
;
483 PyObject
* _argo0
= 0;
484 PyObject
* _obj4
= 0;
485 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
502 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
504 wxPyEndAllowThreads(__tstate
);
505 if (PyErr_Occurred()) return NULL
;
506 } Py_INCREF(Py_None
);
507 _resultobj
= Py_None
;
511 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
512 return self
->Disconnect(id
, lastId
, eventType
,
513 (wxObjectEventFunction
)
514 &wxPyCallback::EventThunker
);
516 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
519 wxEvtHandler
* _arg0
;
521 int _arg2
= (int ) -1;
522 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
523 PyObject
* _argo0
= 0;
524 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
538 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
540 wxPyEndAllowThreads(__tstate
);
541 if (PyErr_Occurred()) return NULL
;
542 } _resultobj
= Py_BuildValue("i",_result
);
546 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
547 self
->SetClientObject(new wxPyClientData(_self
));
549 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
551 wxEvtHandler
* _arg0
;
553 PyObject
* _argo0
= 0;
554 PyObject
* _obj1
= 0;
555 char *_kwnames
[] = { "self","_self", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
572 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
574 wxPyEndAllowThreads(__tstate
);
575 if (PyErr_Occurred()) return NULL
;
576 } Py_INCREF(Py_None
);
577 _resultobj
= Py_None
;
581 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
584 src
= (wxValidator
*) ptr
;
585 dest
= (wxEvtHandler
*) src
;
586 return (void *) dest
;
589 static void *SwigwxValidatorTowxObject(void *ptr
) {
592 src
= (wxValidator
*) ptr
;
593 dest
= (wxObject
*) src
;
594 return (void *) dest
;
597 #define new_wxValidator() (new wxValidator())
598 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
599 PyObject
* _resultobj
;
600 wxValidator
* _result
;
601 char *_kwnames
[] = { NULL
};
605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
609 _result
= (wxValidator
*)new_wxValidator();
611 wxPyEndAllowThreads(__tstate
);
612 if (PyErr_Occurred()) return NULL
;
614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
615 _resultobj
= Py_BuildValue("s",_ptemp
);
618 _resultobj
= Py_None
;
623 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
624 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
625 PyObject
* _resultobj
;
626 wxValidator
* _result
;
628 PyObject
* _argo0
= 0;
629 char *_kwnames
[] = { "self", NULL
};
632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
643 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
645 wxPyEndAllowThreads(__tstate
);
646 if (PyErr_Occurred()) return NULL
;
647 }{ _resultobj
= wxPyMake_wxObject(_result
); }
651 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
652 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
653 PyObject
* _resultobj
;
656 PyObject
* _argo0
= 0;
657 char *_kwnames
[] = { "self", NULL
};
660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
671 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
673 wxPyEndAllowThreads(__tstate
);
674 if (PyErr_Occurred()) return NULL
;
675 }{ _resultobj
= wxPyMake_wxObject(_result
); }
679 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
680 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
681 PyObject
* _resultobj
;
684 PyObject
* _argo0
= 0;
685 PyObject
* _argo1
= 0;
686 char *_kwnames
[] = { "self","window", NULL
};
689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
707 wxValidator_SetWindow(_arg0
,_arg1
);
709 wxPyEndAllowThreads(__tstate
);
710 if (PyErr_Occurred()) return NULL
;
711 } Py_INCREF(Py_None
);
712 _resultobj
= Py_None
;
716 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
719 char *_kwnames
[] = { NULL
};
722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
726 _result
= (bool )wxValidator::IsSilent();
728 wxPyEndAllowThreads(__tstate
);
729 if (PyErr_Occurred()) return NULL
;
730 } _resultobj
= Py_BuildValue("i",_result
);
734 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
736 int _arg0
= (int ) TRUE
;
737 char *_kwnames
[] = { "doIt", NULL
};
740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
744 wxValidator::SetBellOnError(_arg0
);
746 wxPyEndAllowThreads(__tstate
);
747 if (PyErr_Occurred()) return NULL
;
748 } Py_INCREF(Py_None
);
749 _resultobj
= Py_None
;
753 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
756 src
= (wxPyValidator
*) ptr
;
757 dest
= (wxValidator
*) src
;
758 return (void *) dest
;
761 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
764 src
= (wxPyValidator
*) ptr
;
765 dest
= (wxEvtHandler
*) src
;
766 return (void *) dest
;
769 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
772 src
= (wxPyValidator
*) ptr
;
773 dest
= (wxObject
*) src
;
774 return (void *) dest
;
777 #define new_wxPyValidator() (new wxPyValidator())
778 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
780 wxPyValidator
* _result
;
781 char *_kwnames
[] = { NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
789 _result
= (wxPyValidator
*)new_wxPyValidator();
791 wxPyEndAllowThreads(__tstate
);
792 if (PyErr_Occurred()) return NULL
;
794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
795 _resultobj
= Py_BuildValue("s",_ptemp
);
798 _resultobj
= Py_None
;
803 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
804 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
806 wxPyValidator
* _arg0
;
809 int _arg3
= (int ) TRUE
;
810 PyObject
* _argo0
= 0;
811 PyObject
* _obj1
= 0;
812 PyObject
* _obj2
= 0;
813 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
833 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
835 wxPyEndAllowThreads(__tstate
);
836 if (PyErr_Occurred()) return NULL
;
837 } Py_INCREF(Py_None
);
838 _resultobj
= Py_None
;
842 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
845 src
= (wxWindow
*) ptr
;
846 dest
= (wxEvtHandler
*) src
;
847 return (void *) dest
;
850 static void *SwigwxWindowTowxObject(void *ptr
) {
853 src
= (wxWindow
*) ptr
;
854 dest
= (wxObject
*) src
;
855 return (void *) dest
;
858 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
859 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 PyObject
* _resultobj
;
864 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
865 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
866 long _arg4
= (long ) 0;
867 char * _arg5
= (char *) "panel";
868 PyObject
* _argo0
= 0;
870 PyObject
* _obj2
= 0;
872 PyObject
* _obj3
= 0;
873 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
889 if (! wxPoint_helper(_obj2
, &_arg2
))
895 if (! wxSize_helper(_obj3
, &_arg3
))
899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
900 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
902 wxPyEndAllowThreads(__tstate
);
903 if (PyErr_Occurred()) return NULL
;
905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
906 _resultobj
= Py_BuildValue("s",_ptemp
);
909 _resultobj
= Py_None
;
914 #define new_wxPreWindow() (new wxWindow())
915 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
918 char *_kwnames
[] = { NULL
};
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
926 _result
= (wxWindow
*)new_wxPreWindow();
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) return NULL
;
931 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
932 _resultobj
= Py_BuildValue("s",_ptemp
);
935 _resultobj
= Py_None
;
940 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
941 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
947 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
948 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
949 long _arg5
= (long ) 0;
950 char * _arg6
= (char *) "panel";
951 PyObject
* _argo0
= 0;
952 PyObject
* _argo1
= 0;
954 PyObject
* _obj3
= 0;
956 PyObject
* _obj4
= 0;
957 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
970 if (_argo1
== Py_None
) { _arg1
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
979 if (! wxPoint_helper(_obj3
, &_arg3
))
985 if (! wxSize_helper(_obj4
, &_arg4
))
989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
990 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
992 wxPyEndAllowThreads(__tstate
);
993 if (PyErr_Occurred()) return NULL
;
994 } _resultobj
= Py_BuildValue("i",_result
);
998 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
999 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
* _resultobj
;
1002 PyObject
* _argo0
= 0;
1003 char *_kwnames
[] = { "self", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 wxWindow_CaptureMouse(_arg0
);
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) return NULL
;
1021 } Py_INCREF(Py_None
);
1022 _resultobj
= Py_None
;
1026 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1027 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1030 int _arg1
= (int ) wxBOTH
;
1031 PyObject
* _argo0
= 0;
1032 char *_kwnames
[] = { "self","direction", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1046 wxWindow_Center(_arg0
,_arg1
);
1048 wxPyEndAllowThreads(__tstate
);
1049 if (PyErr_Occurred()) return NULL
;
1050 } Py_INCREF(Py_None
);
1051 _resultobj
= Py_None
;
1055 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1056 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1059 int _arg1
= (int ) wxBOTH
;
1060 PyObject
* _argo0
= 0;
1061 char *_kwnames
[] = { "self","direction", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1075 wxWindow_Centre(_arg0
,_arg1
);
1077 wxPyEndAllowThreads(__tstate
);
1078 if (PyErr_Occurred()) return NULL
;
1079 } Py_INCREF(Py_None
);
1080 _resultobj
= Py_None
;
1084 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1085 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1088 int _arg1
= (int ) wxBOTH
;
1089 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self","direction", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 wxWindow_CentreOnParent(_arg0
,_arg1
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) return NULL
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1114 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1117 int _arg1
= (int ) wxBOTH
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self","direction", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 wxWindow_CenterOnParent(_arg0
,_arg1
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1137 } Py_INCREF(Py_None
);
1138 _resultobj
= Py_None
;
1142 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1143 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
* _resultobj
;
1146 int _arg1
= (int ) wxBOTH
;
1147 PyObject
* _argo0
= 0;
1148 char *_kwnames
[] = { "self","direction", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) return NULL
;
1166 } Py_INCREF(Py_None
);
1167 _resultobj
= Py_None
;
1171 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1172 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1175 int _arg1
= (int ) wxBOTH
;
1176 PyObject
* _argo0
= 0;
1177 char *_kwnames
[] = { "self","direction", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1200 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1201 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1204 PyObject
* _argo0
= 0;
1205 char *_kwnames
[] = { "self", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 wxWindow_Clear(_arg0
);
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) return NULL
;
1223 } Py_INCREF(Py_None
);
1224 _resultobj
= Py_None
;
1228 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1229 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1234 PyObject
* _argo0
= 0;
1236 PyObject
* _obj1
= 0;
1238 PyObject
* _obj2
= 0;
1239 char *_kwnames
[] = { "self","x","y", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1252 temp
= (int) PyInt_AsLong(_obj1
);
1256 temp0
= (int) PyInt_AsLong(_obj2
);
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) return NULL
;
1265 } Py_INCREF(Py_None
);
1266 _resultobj
= Py_None
;
1269 o
= PyInt_FromLong((long) (*_arg1
));
1270 _resultobj
= t_output_helper(_resultobj
, o
);
1274 o
= PyInt_FromLong((long) (*_arg2
));
1275 _resultobj
= t_output_helper(_resultobj
, o
);
1280 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1281 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
* _resultobj
;
1286 PyObject
* _argo0
= 0;
1288 PyObject
* _obj1
= 0;
1289 char *_kwnames
[] = { "self","pt", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1304 if (! wxPoint_helper(_obj1
, &_arg1
))
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) return NULL
;
1313 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1314 _resultobj
= Py_BuildValue("s",_ptemp
);
1318 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1319 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1323 int _arg1
= (int ) FALSE
;
1324 PyObject
* _argo0
= 0;
1325 char *_kwnames
[] = { "self","force", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1339 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1341 wxPyEndAllowThreads(__tstate
);
1342 if (PyErr_Occurred()) return NULL
;
1343 } _resultobj
= Py_BuildValue("i",_result
);
1347 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1348 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1352 PyObject
* _argo0
= 0;
1353 char *_kwnames
[] = { "self", NULL
};
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
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_Destroy. Expected _wxWindow_p.");
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 _result
= (bool )wxWindow_Destroy(_arg0
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) return NULL
;
1371 } _resultobj
= Py_BuildValue("i",_result
);
1375 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1376 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1379 PyObject
* _argo0
= 0;
1380 char *_kwnames
[] = { "self", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 wxWindow_DestroyChildren(_arg0
);
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) return NULL
;
1398 } Py_INCREF(Py_None
);
1399 _resultobj
= Py_None
;
1403 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1404 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1408 PyObject
* _argo0
= 0;
1409 char *_kwnames
[] = { "self", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) return NULL
;
1427 } _resultobj
= Py_BuildValue("i",_result
);
1431 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1432 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1436 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self","accept", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1450 _arg1
= (bool ) tempbool1
;
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) return NULL
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1463 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1467 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self","enable", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1481 _arg1
= (bool ) tempbool1
;
1483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1484 wxWindow_Enable(_arg0
,_arg1
);
1486 wxPyEndAllowThreads(__tstate
);
1487 if (PyErr_Occurred()) return NULL
;
1488 } Py_INCREF(Py_None
);
1489 _resultobj
= Py_None
;
1493 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1494 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1499 PyObject
* _argo0
= 0;
1500 char *_kwnames
[] = { "self","id", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1514 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1516 wxPyEndAllowThreads(__tstate
);
1517 if (PyErr_Occurred()) return NULL
;
1518 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1522 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1523 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1528 PyObject
* _argo0
= 0;
1529 PyObject
* _obj1
= 0;
1530 char *_kwnames
[] = { "self","name", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1543 _arg1
= wxString_in_helper(_obj1
);
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) return NULL
;
1553 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1561 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1562 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1565 PyObject
* _argo0
= 0;
1566 char *_kwnames
[] = { "self", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 wxWindow_Fit(_arg0
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) return NULL
;
1584 } Py_INCREF(Py_None
);
1585 _resultobj
= Py_None
;
1589 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1590 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
* _resultobj
;
1594 PyObject
* _argo0
= 0;
1595 char *_kwnames
[] = { "self", NULL
};
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) return NULL
;
1614 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1615 _resultobj
= Py_BuildValue("s",_ptemp
);
1619 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1620 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1624 PyObject
* _argo0
= 0;
1625 char *_kwnames
[] = { "self", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1643 } _resultobj
= Py_BuildValue("i",_result
);
1647 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1648 wxWindowList
& list
= self
->GetChildren();
1649 return wxPy_ConvertList(&list
, "wxWindow");
1651 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1655 PyObject
* _argo0
= 0;
1656 char *_kwnames
[] = { "self", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) return NULL
;
1675 _resultobj
= _result
;
1680 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1681 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
* _resultobj
;
1685 PyObject
* _argo0
= 0;
1686 char *_kwnames
[] = { "self", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) return NULL
;
1704 } _resultobj
= Py_BuildValue("i",_result
);
1708 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1709 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1737 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1744 PyObject
* _argo0
= 0;
1745 char *_kwnames
[] = { "self", NULL
};
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1765 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1767 wxPyEndAllowThreads(__tstate
);
1768 if (PyErr_Occurred()) return NULL
;
1769 } Py_INCREF(Py_None
);
1770 _resultobj
= Py_None
;
1773 o
= PyInt_FromLong((long) (*_arg1
));
1774 _resultobj
= t_output_helper(_resultobj
, o
);
1778 o
= PyInt_FromLong((long) (*_arg2
));
1779 _resultobj
= t_output_helper(_resultobj
, o
);
1784 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1785 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1789 PyObject
* _argo0
= 0;
1790 char *_kwnames
[] = { "self", NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) return NULL
;
1809 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1810 _resultobj
= Py_BuildValue("s",_ptemp
);
1814 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1815 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1819 PyObject
* _argo0
= 0;
1820 char *_kwnames
[] = { "self", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) return NULL
;
1839 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1840 _resultobj
= Py_BuildValue("s",_ptemp
);
1844 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1845 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
* _resultobj
;
1849 PyObject
* _argo0
= 0;
1850 char *_kwnames
[] = { "self", NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1865 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1867 wxPyEndAllowThreads(__tstate
);
1868 if (PyErr_Occurred()) return NULL
;
1869 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1870 _resultobj
= Py_BuildValue("s",_ptemp
);
1874 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1875 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1877 wxLayoutConstraints
* _result
;
1879 PyObject
* _argo0
= 0;
1880 char *_kwnames
[] = { "self", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) return NULL
;
1900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1901 _resultobj
= Py_BuildValue("s",_ptemp
);
1904 _resultobj
= Py_None
;
1909 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1910 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
* _resultobj
;
1912 wxEvtHandler
* _result
;
1914 PyObject
* _argo0
= 0;
1915 char *_kwnames
[] = { "self", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) return NULL
;
1933 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1937 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1938 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
* _resultobj
;
1942 PyObject
* _argo0
= 0;
1943 char *_kwnames
[] = { "self", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 _result
= new wxFont (wxWindow_GetFont(_arg0
));
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) return NULL
;
1962 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1963 _resultobj
= Py_BuildValue("s",_ptemp
);
1967 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1968 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1972 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) return NULL
;
1992 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1993 _resultobj
= Py_BuildValue("s",_ptemp
);
1997 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1998 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
* _resultobj
;
2002 PyObject
* _argo0
= 0;
2003 char *_kwnames
[] = { "self", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
2009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) return NULL
;
2021 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2025 static long wxWindow_GetHandle(wxWindow
*self
) {
2026 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
2028 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2032 PyObject
* _argo0
= 0;
2033 char *_kwnames
[] = { "self", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 _result
= (long )wxWindow_GetHandle(_arg0
);
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) return NULL
;
2051 } _resultobj
= Py_BuildValue("l",_result
);
2055 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2056 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
* _resultobj
;
2060 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 _result
= (int )wxWindow_GetId(_arg0
);
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) return NULL
;
2079 } _resultobj
= Py_BuildValue("i",_result
);
2083 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2084 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2088 PyObject
* _argo0
= 0;
2089 char *_kwnames
[] = { "self", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) return NULL
;
2109 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2111 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2120 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2121 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2125 PyObject
* _argo0
= 0;
2126 PyObject
* _obj1
= 0;
2127 char *_kwnames
[] = { "self","label", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2140 _arg1
= wxString_in_helper(_obj1
);
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 wxWindow_SetLabel(_arg0
,*_arg1
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) return NULL
;
2150 } Py_INCREF(Py_None
);
2151 _resultobj
= Py_None
;
2159 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2160 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2164 PyObject
* _argo0
= 0;
2165 char *_kwnames
[] = { "self", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 _result
= new wxString (wxWindow_GetName(_arg0
));
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) return NULL
;
2185 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2187 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2196 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2197 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2201 PyObject
* _argo0
= 0;
2202 char *_kwnames
[] = { "self", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) return NULL
;
2220 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2224 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2225 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2232 PyObject
* _argo0
= 0;
2233 char *_kwnames
[] = { "self", NULL
};
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) return NULL
;
2257 } Py_INCREF(Py_None
);
2258 _resultobj
= Py_None
;
2261 o
= PyInt_FromLong((long) (*_arg1
));
2262 _resultobj
= t_output_helper(_resultobj
, o
);
2266 o
= PyInt_FromLong((long) (*_arg2
));
2267 _resultobj
= t_output_helper(_resultobj
, o
);
2272 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2273 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
* _resultobj
;
2277 PyObject
* _argo0
= 0;
2278 char *_kwnames
[] = { "self", NULL
};
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) return NULL
;
2297 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2298 _resultobj
= Py_BuildValue("s",_ptemp
);
2302 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2303 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
* _resultobj
;
2307 PyObject
* _argo0
= 0;
2308 char *_kwnames
[] = { "self", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) return NULL
;
2327 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2328 _resultobj
= Py_BuildValue("s",_ptemp
);
2332 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2333 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
* _resultobj
;
2338 PyObject
* _argo0
= 0;
2339 char *_kwnames
[] = { "self","orientation", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) return NULL
;
2357 } _resultobj
= Py_BuildValue("i",_result
);
2361 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2362 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self","orientation", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) return NULL
;
2386 } _resultobj
= Py_BuildValue("i",_result
);
2390 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2391 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2396 PyObject
* _argo0
= 0;
2397 char *_kwnames
[] = { "self","orientation", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) return NULL
;
2415 } _resultobj
= Py_BuildValue("i",_result
);
2419 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2420 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2427 PyObject
* _argo0
= 0;
2428 char *_kwnames
[] = { "self", NULL
};
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) return NULL
;
2452 } Py_INCREF(Py_None
);
2453 _resultobj
= Py_None
;
2456 o
= PyInt_FromLong((long) (*_arg1
));
2457 _resultobj
= t_output_helper(_resultobj
, o
);
2461 o
= PyInt_FromLong((long) (*_arg2
));
2462 _resultobj
= t_output_helper(_resultobj
, o
);
2467 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2468 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
* _resultobj
;
2472 PyObject
* _argo0
= 0;
2473 char *_kwnames
[] = { "self", NULL
};
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) return NULL
;
2492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2493 _resultobj
= Py_BuildValue("s",_ptemp
);
2497 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2498 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2506 PyObject
* _argo0
= 0;
2507 PyObject
* _obj1
= 0;
2508 char *_kwnames
[] = { "self","string", NULL
};
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2527 _arg1
= wxString_in_helper(_obj1
);
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) return NULL
;
2537 } Py_INCREF(Py_None
);
2538 _resultobj
= Py_None
;
2541 o
= PyInt_FromLong((long) (*_arg2
));
2542 _resultobj
= t_output_helper(_resultobj
, o
);
2546 o
= PyInt_FromLong((long) (*_arg3
));
2547 _resultobj
= t_output_helper(_resultobj
, o
);
2556 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2557 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2569 wxFont
* _arg6
= (wxFont
*) NULL
;
2570 PyObject
* _argo0
= 0;
2571 PyObject
* _obj1
= 0;
2572 PyObject
* _argo6
= 0;
2573 char *_kwnames
[] = { "self","string","font", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2598 _arg1
= wxString_in_helper(_obj1
);
2603 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2604 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) return NULL
;
2615 } Py_INCREF(Py_None
);
2616 _resultobj
= Py_None
;
2619 o
= PyInt_FromLong((long) (*_arg2
));
2620 _resultobj
= t_output_helper(_resultobj
, o
);
2624 o
= PyInt_FromLong((long) (*_arg3
));
2625 _resultobj
= t_output_helper(_resultobj
, o
);
2629 o
= PyInt_FromLong((long) (*_arg4
));
2630 _resultobj
= t_output_helper(_resultobj
, o
);
2634 o
= PyInt_FromLong((long) (*_arg5
));
2635 _resultobj
= t_output_helper(_resultobj
, o
);
2644 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2645 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2649 PyObject
* _argo0
= 0;
2650 char *_kwnames
[] = { "self", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) return NULL
;
2670 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2672 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2681 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2682 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
* _resultobj
;
2686 PyObject
* _argo0
= 0;
2687 char *_kwnames
[] = { "self", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) return NULL
;
2706 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2707 _resultobj
= Py_BuildValue("s",_ptemp
);
2711 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2712 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
* _resultobj
;
2716 PyObject
* _argo0
= 0;
2717 char *_kwnames
[] = { "self", NULL
};
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) return NULL
;
2735 } _resultobj
= Py_BuildValue("l",_result
);
2739 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2740 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
* _resultobj
;
2744 PyObject
* _argo0
= 0;
2745 char *_kwnames
[] = { "self","style", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) return NULL
;
2763 } Py_INCREF(Py_None
);
2764 _resultobj
= Py_None
;
2768 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2769 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
* _resultobj
;
2773 PyObject
* _argo0
= 0;
2774 char *_kwnames
[] = { "self","style", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) return NULL
;
2792 } Py_INCREF(Py_None
);
2793 _resultobj
= Py_None
;
2797 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2798 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2803 PyObject
* _argo0
= 0;
2804 char *_kwnames
[] = { "self","orient", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) return NULL
;
2822 } _resultobj
= Py_BuildValue("i",_result
);
2826 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2827 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
* _resultobj
;
2831 PyObject
* _argo0
= 0;
2832 char *_kwnames
[] = { "self", NULL
};
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 _result
= (bool )wxWindow_Hide(_arg0
);
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) return NULL
;
2850 } _resultobj
= Py_BuildValue("i",_result
);
2854 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2855 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
* _resultobj
;
2860 PyObject
* _argo0
= 0;
2862 PyObject
* _obj1
= 0;
2863 char *_kwnames
[] = { "self","pt", NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2877 if (! wxPoint_helper(_obj1
, &_arg1
))
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) return NULL
;
2886 } _resultobj
= Py_BuildValue("i",_result
);
2890 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2891 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2894 PyObject
* _argo0
= 0;
2895 char *_kwnames
[] = { "self", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 wxWindow_InitDialog(_arg0
);
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) return NULL
;
2913 } Py_INCREF(Py_None
);
2914 _resultobj
= Py_None
;
2918 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2919 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
* _resultobj
;
2923 PyObject
* _argo0
= 0;
2924 char *_kwnames
[] = { "self", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) return NULL
;
2942 } _resultobj
= Py_BuildValue("i",_result
);
2946 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2947 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
* _resultobj
;
2953 int _arg3
= (int ) 0;
2954 int _arg4
= (int ) 0;
2955 PyObject
* _argo0
= 0;
2956 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) return NULL
;
2974 } _resultobj
= Py_BuildValue("i",_result
);
2978 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2979 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
* _resultobj
;
2984 PyObject
* _argo0
= 0;
2986 PyObject
* _obj1
= 0;
2987 char *_kwnames
[] = { "self","pt", NULL
};
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3001 if (! wxPoint_helper(_obj1
, &_arg1
))
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) return NULL
;
3010 } _resultobj
= Py_BuildValue("i",_result
);
3014 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3015 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3020 PyObject
* _argo0
= 0;
3022 PyObject
* _obj1
= 0;
3023 char *_kwnames
[] = { "self","rect", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3037 if (! wxRect_helper(_obj1
, &_arg1
))
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) return NULL
;
3046 } _resultobj
= Py_BuildValue("i",_result
);
3050 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3051 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
* _resultobj
;
3055 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "self", NULL
};
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 _result
= (bool )wxWindow_IsRetained(_arg0
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) return NULL
;
3074 } _resultobj
= Py_BuildValue("i",_result
);
3078 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3079 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
* _resultobj
;
3083 PyObject
* _argo0
= 0;
3084 char *_kwnames
[] = { "self", NULL
};
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 _result
= (bool )wxWindow_IsShown(_arg0
);
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) return NULL
;
3102 } _resultobj
= Py_BuildValue("i",_result
);
3106 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3107 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
* _resultobj
;
3111 PyObject
* _argo0
= 0;
3112 char *_kwnames
[] = { "self", NULL
};
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) return NULL
;
3130 } _resultobj
= Py_BuildValue("i",_result
);
3134 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3135 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3138 PyObject
* _argo0
= 0;
3139 char *_kwnames
[] = { "self", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 wxWindow_Layout(_arg0
);
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) return NULL
;
3157 } Py_INCREF(Py_None
);
3158 _resultobj
= Py_None
;
3162 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3163 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3169 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3170 PyObject
* _argo0
= 0;
3171 PyObject
* _argo1
= 0;
3172 PyObject
* _obj2
= 0;
3173 PyObject
* _argo3
= 0;
3174 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3187 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3188 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3194 _arg2
= wxString_in_helper(_obj2
);
3199 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) return NULL
;
3211 } _resultobj
= Py_BuildValue("i",_result
);
3219 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3220 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
* _resultobj
;
3223 PyObject
* _argo0
= 0;
3224 char *_kwnames
[] = { "self", NULL
};
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 wxWindow_Lower(_arg0
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) return NULL
;
3242 } Py_INCREF(Py_None
);
3243 _resultobj
= Py_None
;
3247 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3248 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3251 bool _arg1
= (bool ) TRUE
;
3252 PyObject
* _argo0
= 0;
3253 int tempbool1
= (int) TRUE
;
3254 char *_kwnames
[] = { "self","flag", NULL
};
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3266 _arg1
= (bool ) tempbool1
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 wxWindow_MakeModal(_arg0
,_arg1
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) return NULL
;
3273 } Py_INCREF(Py_None
);
3274 _resultobj
= Py_None
;
3278 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3279 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3284 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3285 PyObject
* _argo0
= 0;
3286 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) return NULL
;
3304 } Py_INCREF(Py_None
);
3305 _resultobj
= Py_None
;
3309 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3310 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
* _resultobj
;
3314 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3315 PyObject
* _argo0
= 0;
3317 PyObject
* _obj1
= 0;
3318 char *_kwnames
[] = { "self","point","flags", NULL
};
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3332 if (! wxPoint_helper(_obj1
, &_arg1
))
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) return NULL
;
3341 } Py_INCREF(Py_None
);
3342 _resultobj
= Py_None
;
3346 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3347 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
* _resultobj
;
3349 wxEvtHandler
* _result
;
3351 bool _arg1
= (bool ) FALSE
;
3352 PyObject
* _argo0
= 0;
3353 int tempbool1
= (int) FALSE
;
3354 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3366 _arg1
= (bool ) tempbool1
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) return NULL
;
3373 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3377 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3378 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
* _resultobj
;
3381 wxEvtHandler
* _arg1
;
3382 PyObject
* _argo0
= 0;
3383 PyObject
* _argo1
= 0;
3384 char *_kwnames
[] = { "self","handler", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3397 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 wxWindow_PushEventHandler(_arg0
,_arg1
);
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) return NULL
;
3409 } Py_INCREF(Py_None
);
3410 _resultobj
= Py_None
;
3414 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3415 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3419 wxEvtHandler
* _arg1
;
3420 PyObject
* _argo0
= 0;
3421 PyObject
* _argo1
= 0;
3422 char *_kwnames
[] = { "self","handler", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) return NULL
;
3447 } _resultobj
= Py_BuildValue("i",_result
);
3451 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3452 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3459 PyObject
* _argo0
= 0;
3460 PyObject
* _argo1
= 0;
3461 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3474 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3475 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) return NULL
;
3486 } _resultobj
= Py_BuildValue("i",_result
);
3490 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3491 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
* _resultobj
;
3497 PyObject
* _argo0
= 0;
3498 PyObject
* _argo1
= 0;
3500 PyObject
* _obj2
= 0;
3501 char *_kwnames
[] = { "self","menu","pos", NULL
};
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3522 if (! wxPoint_helper(_obj2
, &_arg2
))
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) return NULL
;
3531 } _resultobj
= Py_BuildValue("i",_result
);
3535 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3536 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3539 PyObject
* _argo0
= 0;
3540 char *_kwnames
[] = { "self", NULL
};
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 wxWindow_Raise(_arg0
);
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) return NULL
;
3558 } Py_INCREF(Py_None
);
3559 _resultobj
= Py_None
;
3563 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3564 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3567 bool _arg1
= (bool ) TRUE
;
3568 wxRect
* _arg2
= (wxRect
*) NULL
;
3569 PyObject
* _argo0
= 0;
3570 int tempbool1
= (int) TRUE
;
3572 PyObject
* _obj2
= 0;
3573 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3585 _arg1
= (bool ) tempbool1
;
3589 if (! wxRect_helper(_obj2
, &_arg2
))
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) return NULL
;
3598 } Py_INCREF(Py_None
);
3599 _resultobj
= Py_None
;
3603 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3604 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3608 PyObject
* _argo0
= 0;
3610 PyObject
* _obj1
= 0;
3611 char *_kwnames
[] = { "self","rect", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3625 if (! wxRect_helper(_obj1
, &_arg1
))
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 wxWindow_RefreshRect(_arg0
,*_arg1
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) return NULL
;
3634 } Py_INCREF(Py_None
);
3635 _resultobj
= Py_None
;
3639 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3640 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3643 PyObject
* _argo0
= 0;
3644 char *_kwnames
[] = { "self", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 wxWindow_ReleaseMouse(_arg0
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) return NULL
;
3662 } Py_INCREF(Py_None
);
3663 _resultobj
= Py_None
;
3667 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3668 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3672 PyObject
* _argo0
= 0;
3673 PyObject
* _argo1
= 0;
3674 char *_kwnames
[] = { "self","child", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 wxWindow_RemoveChild(_arg0
,_arg1
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) return NULL
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3704 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3705 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3710 PyObject
* _argo0
= 0;
3711 PyObject
* _argo1
= 0;
3712 char *_kwnames
[] = { "self","newParent", NULL
};
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) return NULL
;
3737 } _resultobj
= Py_BuildValue("i",_result
);
3741 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3742 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3747 PyObject
* _argo0
= 0;
3749 PyObject
* _obj1
= 0;
3751 PyObject
* _obj2
= 0;
3752 char *_kwnames
[] = { "self","x","y", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3765 temp
= (int) PyInt_AsLong(_obj1
);
3769 temp0
= (int) PyInt_AsLong(_obj2
);
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) return NULL
;
3778 } Py_INCREF(Py_None
);
3779 _resultobj
= Py_None
;
3782 o
= PyInt_FromLong((long) (*_arg1
));
3783 _resultobj
= t_output_helper(_resultobj
, o
);
3787 o
= PyInt_FromLong((long) (*_arg2
));
3788 _resultobj
= t_output_helper(_resultobj
, o
);
3793 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3794 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
* _resultobj
;
3799 PyObject
* _argo0
= 0;
3801 PyObject
* _obj1
= 0;
3802 char *_kwnames
[] = { "self","pt", NULL
};
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3817 if (! wxPoint_helper(_obj1
, &_arg1
))
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) return NULL
;
3826 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3827 _resultobj
= Py_BuildValue("s",_ptemp
);
3831 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3832 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3837 wxRect
* _arg3
= (wxRect
*) NULL
;
3838 PyObject
* _argo0
= 0;
3840 PyObject
* _obj3
= 0;
3841 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3856 if (! wxRect_helper(_obj3
, &_arg3
))
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) return NULL
;
3865 } Py_INCREF(Py_None
);
3866 _resultobj
= Py_None
;
3870 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3871 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3875 PyObject
* _argo0
= 0;
3877 char *_kwnames
[] = { "self","autoLayout", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3889 _arg1
= (bool ) tempbool1
;
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) return NULL
;
3896 } Py_INCREF(Py_None
);
3897 _resultobj
= Py_None
;
3901 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3902 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3906 PyObject
* _argo0
= 0;
3907 char *_kwnames
[] = { "self", NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) return NULL
;
3925 } _resultobj
= Py_BuildValue("i",_result
);
3929 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3930 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3934 PyObject
* _argo0
= 0;
3936 PyObject
* _obj1
= 0;
3937 char *_kwnames
[] = { "self","colour", NULL
};
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3951 if (! wxColour_helper(_obj1
, &_arg1
))
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) return NULL
;
3960 } Py_INCREF(Py_None
);
3961 _resultobj
= Py_None
;
3965 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3966 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3969 wxLayoutConstraints
* _arg1
;
3970 PyObject
* _argo0
= 0;
3971 PyObject
* _argo1
= 0;
3972 char *_kwnames
[] = { "self","constraints", NULL
};
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3985 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 wxWindow_SetConstraints(_arg0
,_arg1
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) return NULL
;
3997 } Py_INCREF(Py_None
);
3998 _resultobj
= Py_None
;
4002 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4003 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
* _resultobj
;
4006 wxLayoutConstraints
* _arg1
;
4007 PyObject
* _argo0
= 0;
4008 PyObject
* _argo1
= 0;
4009 char *_kwnames
[] = { "self","constraints", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4022 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) return NULL
;
4034 } Py_INCREF(Py_None
);
4035 _resultobj
= Py_None
;
4039 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4040 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
* _resultobj
;
4043 PyObject
* _argo0
= 0;
4044 char *_kwnames
[] = { "self", NULL
};
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 wxWindow_SetFocus(_arg0
);
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) return NULL
;
4062 } Py_INCREF(Py_None
);
4063 _resultobj
= Py_None
;
4067 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4068 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
* _resultobj
;
4072 PyObject
* _argo0
= 0;
4073 char *_kwnames
[] = { "self", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) return NULL
;
4091 } _resultobj
= Py_BuildValue("i",_result
);
4095 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4096 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4100 PyObject
* _argo0
= 0;
4101 PyObject
* _argo1
= 0;
4102 char *_kwnames
[] = { "self","font", NULL
};
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4115 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 wxWindow_SetFont(_arg0
,*_arg1
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) return NULL
;
4127 } Py_INCREF(Py_None
);
4128 _resultobj
= Py_None
;
4132 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4133 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
* _resultobj
;
4137 PyObject
* _argo0
= 0;
4139 PyObject
* _obj1
= 0;
4140 char *_kwnames
[] = { "self","colour", NULL
};
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4154 if (! wxColour_helper(_obj1
, &_arg1
))
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) return NULL
;
4163 } Py_INCREF(Py_None
);
4164 _resultobj
= Py_None
;
4168 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4169 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4173 PyObject
* _argo0
= 0;
4174 char *_kwnames
[] = { "self","id", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 wxWindow_SetId(_arg0
,_arg1
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) return NULL
;
4192 } Py_INCREF(Py_None
);
4193 _resultobj
= Py_None
;
4197 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4198 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
* _resultobj
;
4202 PyObject
* _argo0
= 0;
4203 PyObject
* _obj1
= 0;
4204 char *_kwnames
[] = { "self","name", NULL
};
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4217 _arg1
= wxString_in_helper(_obj1
);
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 wxWindow_SetName(_arg0
,*_arg1
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) return NULL
;
4227 } Py_INCREF(Py_None
);
4228 _resultobj
= Py_None
;
4236 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4237 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
* _resultobj
;
4244 int _arg5
= (int ) TRUE
;
4245 PyObject
* _argo0
= 0;
4246 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) return NULL
;
4264 } Py_INCREF(Py_None
);
4265 _resultobj
= Py_None
;
4269 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4270 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
* _resultobj
;
4275 bool _arg3
= (bool ) TRUE
;
4276 PyObject
* _argo0
= 0;
4277 int tempbool3
= (int) TRUE
;
4278 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4290 _arg3
= (bool ) tempbool3
;
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) return NULL
;
4297 } Py_INCREF(Py_None
);
4298 _resultobj
= Py_None
;
4302 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4303 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
* _resultobj
;
4310 int _arg5
= (int ) wxSIZE_AUTO
;
4311 PyObject
* _argo0
= 0;
4312 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) return NULL
;
4330 } Py_INCREF(Py_None
);
4331 _resultobj
= Py_None
;
4335 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4336 self
->SetSize(size
);
4338 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
* _resultobj
;
4342 PyObject
* _argo0
= 0;
4344 PyObject
* _obj1
= 0;
4345 char *_kwnames
[] = { "self","size", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4359 if (! wxSize_helper(_obj1
, &_arg1
))
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 wxWindow_SetSize(_arg0
,*_arg1
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) return NULL
;
4368 } Py_INCREF(Py_None
);
4369 _resultobj
= Py_None
;
4373 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4374 self
->Move(pos
, flags
);
4376 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4380 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4381 PyObject
* _argo0
= 0;
4383 PyObject
* _obj1
= 0;
4384 char *_kwnames
[] = { "self","pos","flags", NULL
};
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4398 if (! wxPoint_helper(_obj1
, &_arg1
))
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) return NULL
;
4407 } Py_INCREF(Py_None
);
4408 _resultobj
= Py_None
;
4412 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4413 self
->SetSize(rect
, sizeFlags
);
4415 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
* _resultobj
;
4419 int _arg2
= (int ) wxSIZE_AUTO
;
4420 PyObject
* _argo0
= 0;
4422 PyObject
* _obj1
= 0;
4423 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4437 if (! wxRect_helper(_obj1
, &_arg1
))
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) return NULL
;
4446 } Py_INCREF(Py_None
);
4447 _resultobj
= Py_None
;
4451 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4452 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
* _resultobj
;
4455 int _arg1
= (int ) -1;
4456 int _arg2
= (int ) -1;
4457 int _arg3
= (int ) -1;
4458 int _arg4
= (int ) -1;
4459 int _arg5
= (int ) -1;
4460 int _arg6
= (int ) -1;
4461 PyObject
* _argo0
= 0;
4462 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) return NULL
;
4480 } Py_INCREF(Py_None
);
4481 _resultobj
= Py_None
;
4485 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4486 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self","width","height", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) return NULL
;
4510 } Py_INCREF(Py_None
);
4511 _resultobj
= Py_None
;
4515 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4516 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4520 PyObject
* _argo0
= 0;
4522 PyObject
* _obj1
= 0;
4523 char *_kwnames
[] = { "self","size", NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4537 if (! wxSize_helper(_obj1
, &_arg1
))
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 wxWindow_SetClientSize(_arg0
,*_arg1
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) return NULL
;
4546 } Py_INCREF(Py_None
);
4547 _resultobj
= Py_None
;
4551 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4552 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
* _resultobj
;
4556 PyObject
* _argo0
= 0;
4557 PyObject
* _argo1
= 0;
4558 char *_kwnames
[] = { "self","cursor", NULL
};
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 wxWindow_SetCursor(_arg0
,*_arg1
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) return NULL
;
4583 } Py_INCREF(Py_None
);
4584 _resultobj
= Py_None
;
4588 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4589 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
* _resultobj
;
4592 wxEvtHandler
* _arg1
;
4593 PyObject
* _argo0
= 0;
4594 PyObject
* _argo1
= 0;
4595 char *_kwnames
[] = { "self","handler", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 wxWindow_SetEventHandler(_arg0
,_arg1
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) return NULL
;
4620 } Py_INCREF(Py_None
);
4621 _resultobj
= Py_None
;
4625 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4626 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4630 PyObject
* _argo0
= 0;
4631 char *_kwnames
[] = { "self","exStyle", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) return NULL
;
4649 } Py_INCREF(Py_None
);
4650 _resultobj
= Py_None
;
4654 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4655 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
* _resultobj
;
4659 PyObject
* _argo0
= 0;
4660 PyObject
* _obj1
= 0;
4661 char *_kwnames
[] = { "self","title", NULL
};
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4674 _arg1
= wxString_in_helper(_obj1
);
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 wxWindow_SetTitle(_arg0
,*_arg1
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) return NULL
;
4684 } Py_INCREF(Py_None
);
4685 _resultobj
= Py_None
;
4693 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4694 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4698 bool _arg1
= (bool ) TRUE
;
4699 PyObject
* _argo0
= 0;
4700 int tempbool1
= (int) TRUE
;
4701 char *_kwnames
[] = { "self","show", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
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_Show. Expected _wxWindow_p.");
4713 _arg1
= (bool ) tempbool1
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) return NULL
;
4720 } _resultobj
= Py_BuildValue("i",_result
);
4724 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4725 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4729 PyObject
* _argo0
= 0;
4730 char *_kwnames
[] = { "self", NULL
};
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) return NULL
;
4748 } _resultobj
= Py_BuildValue("i",_result
);
4752 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4753 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4757 PyObject
* _argo0
= 0;
4758 char *_kwnames
[] = { "self", NULL
};
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) return NULL
;
4776 } _resultobj
= Py_BuildValue("i",_result
);
4780 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4781 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
* _resultobj
;
4784 PyObject
* _argo0
= 0;
4785 char *_kwnames
[] = { "self", NULL
};
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
4791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 wxWindow_UpdateWindowUI(_arg0
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) return NULL
;
4803 } Py_INCREF(Py_None
);
4804 _resultobj
= Py_None
;
4808 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4809 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4813 PyObject
* _argo0
= 0;
4814 char *_kwnames
[] = { "self", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 _result
= (bool )wxWindow_Validate(_arg0
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) return NULL
;
4832 } _resultobj
= Py_BuildValue("i",_result
);
4836 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4837 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4842 PyObject
* _argo0
= 0;
4843 char *_kwnames
[] = { "self","x","y", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) return NULL
;
4861 } Py_INCREF(Py_None
);
4862 _resultobj
= Py_None
;
4866 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4867 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4872 PyObject
* _argo0
= 0;
4874 PyObject
* _obj1
= 0;
4875 char *_kwnames
[] = { "self","pt", NULL
};
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4890 if (! wxPoint_helper(_obj1
, &_arg1
))
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) return NULL
;
4899 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4900 _resultobj
= Py_BuildValue("s",_ptemp
);
4904 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4905 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
* _resultobj
;
4910 PyObject
* _argo0
= 0;
4912 PyObject
* _obj1
= 0;
4913 char *_kwnames
[] = { "self","sz", NULL
};
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4928 if (! wxSize_helper(_obj1
, &_arg1
))
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) return NULL
;
4937 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4938 _resultobj
= Py_BuildValue("s",_ptemp
);
4942 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4943 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
* _resultobj
;
4948 PyObject
* _argo0
= 0;
4950 PyObject
* _obj1
= 0;
4951 char *_kwnames
[] = { "self","pt", NULL
};
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4966 if (! wxPoint_helper(_obj1
, &_arg1
))
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) return NULL
;
4975 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4976 _resultobj
= Py_BuildValue("s",_ptemp
);
4980 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4981 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
* _resultobj
;
4986 PyObject
* _argo0
= 0;
4988 PyObject
* _obj1
= 0;
4989 char *_kwnames
[] = { "self","sz", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5004 if (! wxSize_helper(_obj1
, &_arg1
))
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) return NULL
;
5013 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5014 _resultobj
= Py_BuildValue("s",_ptemp
);
5018 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5019 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5023 PyObject
* _argo0
= 0;
5024 PyObject
* _obj1
= 0;
5025 char *_kwnames
[] = { "self","tip", NULL
};
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5038 _arg1
= wxString_in_helper(_obj1
);
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) return NULL
;
5048 } Py_INCREF(Py_None
);
5049 _resultobj
= Py_None
;
5057 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5058 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5062 PyObject
* _argo0
= 0;
5063 PyObject
* _argo1
= 0;
5064 char *_kwnames
[] = { "self","tooltip", NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 wxWindow_SetToolTip(_arg0
,_arg1
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) return NULL
;
5089 } Py_INCREF(Py_None
);
5090 _resultobj
= Py_None
;
5094 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5095 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
* _resultobj
;
5097 wxToolTip
* _result
;
5099 PyObject
* _argo0
= 0;
5100 char *_kwnames
[] = { "self", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) return NULL
;
5118 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5122 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5123 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
* _resultobj
;
5127 bool _arg2
= (bool ) TRUE
;
5128 PyObject
* _argo0
= 0;
5129 PyObject
* _argo1
= 0;
5130 int tempbool2
= (int) TRUE
;
5131 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5144 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5145 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5150 _arg2
= (bool ) tempbool2
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) return NULL
;
5157 } Py_INCREF(Py_None
);
5158 _resultobj
= Py_None
;
5162 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5163 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
* _resultobj
;
5167 PyObject
* _argo0
= 0;
5168 char *_kwnames
[] = { "self", NULL
};
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) return NULL
;
5186 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5190 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5191 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
* _resultobj
;
5195 PyObject
* _argo0
= 0;
5196 PyObject
* _argo1
= 0;
5197 char *_kwnames
[] = { "self","sizer", NULL
};
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) return NULL
;
5222 } Py_INCREF(Py_None
);
5223 _resultobj
= Py_None
;
5227 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5228 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
* _resultobj
;
5232 PyObject
* _argo0
= 0;
5233 char *_kwnames
[] = { "self", NULL
};
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) return NULL
;
5251 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5255 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5256 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
* _resultobj
;
5258 wxValidator
* _result
;
5260 PyObject
* _argo0
= 0;
5261 char *_kwnames
[] = { "self", NULL
};
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) return NULL
;
5279 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5283 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5284 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
* _resultobj
;
5287 wxValidator
* _arg1
;
5288 PyObject
* _argo0
= 0;
5289 PyObject
* _argo1
= 0;
5290 char *_kwnames
[] = { "self","validator", NULL
};
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 wxWindow_SetValidator(_arg0
,*_arg1
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) return NULL
;
5315 } Py_INCREF(Py_None
);
5316 _resultobj
= Py_None
;
5320 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5321 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
* _resultobj
;
5324 wxDropTarget
* _arg1
;
5325 PyObject
* _argo0
= 0;
5326 PyObject
* _argo1
= 0;
5327 char *_kwnames
[] = { "self","target", NULL
};
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5340 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5341 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 wxWindow_SetDropTarget(_arg0
,_arg1
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) return NULL
;
5352 } Py_INCREF(Py_None
);
5353 _resultobj
= Py_None
;
5357 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5358 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
* _resultobj
;
5360 wxDropTarget
* _result
;
5362 PyObject
* _argo0
= 0;
5363 char *_kwnames
[] = { "self", NULL
};
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) return NULL
;
5383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5384 _resultobj
= Py_BuildValue("s",_ptemp
);
5387 _resultobj
= Py_None
;
5392 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5393 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
* _resultobj
;
5397 PyObject
* _argo0
= 0;
5398 char *_kwnames
[] = { "self", NULL
};
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) return NULL
;
5417 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5418 _resultobj
= Py_BuildValue("s",_ptemp
);
5422 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5423 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
* _resultobj
;
5427 PyObject
* _argo0
= 0;
5428 char *_kwnames
[] = { "self", NULL
};
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) return NULL
;
5447 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5448 _resultobj
= Py_BuildValue("s",_ptemp
);
5452 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5453 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
* _resultobj
;
5457 PyObject
* _argo0
= 0;
5458 PyObject
* _argo1
= 0;
5459 char *_kwnames
[] = { "self","caret", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5472 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 wxWindow_SetCaret(_arg0
,_arg1
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) return NULL
;
5484 } Py_INCREF(Py_None
);
5485 _resultobj
= Py_None
;
5489 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5490 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5494 PyObject
* _argo0
= 0;
5495 char *_kwnames
[] = { "self", NULL
};
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) return NULL
;
5515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5516 _resultobj
= Py_BuildValue("s",_ptemp
);
5519 _resultobj
= Py_None
;
5524 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5525 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
* _resultobj
;
5528 PyObject
* _argo0
= 0;
5529 char *_kwnames
[] = { "self", NULL
};
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 wxWindow_Freeze(_arg0
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) return NULL
;
5547 } Py_INCREF(Py_None
);
5548 _resultobj
= Py_None
;
5552 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5553 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5556 PyObject
* _argo0
= 0;
5557 char *_kwnames
[] = { "self", NULL
};
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 wxWindow_Thaw(_arg0
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) return NULL
;
5575 } Py_INCREF(Py_None
);
5576 _resultobj
= Py_None
;
5580 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5581 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
* _resultobj
;
5584 PyObject
* _argo0
= 0;
5585 char *_kwnames
[] = { "self", NULL
};
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 wxWindow_Update(_arg0
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) return NULL
;
5603 } Py_INCREF(Py_None
);
5604 _resultobj
= Py_None
;
5608 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5609 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
* _resultobj
;
5613 PyObject
* _argo0
= 0;
5614 char *_kwnames
[] = { "self", NULL
};
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) return NULL
;
5634 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5636 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5645 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5646 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
* _resultobj
;
5650 PyObject
* _argo0
= 0;
5651 PyObject
* _obj1
= 0;
5652 char *_kwnames
[] = { "self","helpText", NULL
};
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5665 _arg1
= wxString_in_helper(_obj1
);
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 wxWindow_SetHelpText(_arg0
,*_arg1
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) return NULL
;
5675 } Py_INCREF(Py_None
);
5676 _resultobj
= Py_None
;
5684 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5685 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
* _resultobj
;
5689 PyObject
* _argo0
= 0;
5690 PyObject
* _obj1
= 0;
5691 char *_kwnames
[] = { "self","text", NULL
};
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
5697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5704 _arg1
= wxString_in_helper(_obj1
);
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) return NULL
;
5714 } Py_INCREF(Py_None
);
5715 _resultobj
= Py_None
;
5723 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5724 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
* _resultobj
;
5729 PyObject
* _argo0
= 0;
5730 char *_kwnames
[] = { "self","lines", NULL
};
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) return NULL
;
5748 } _resultobj
= Py_BuildValue("i",_result
);
5752 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5753 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
* _resultobj
;
5758 PyObject
* _argo0
= 0;
5759 char *_kwnames
[] = { "self","pages", NULL
};
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
5765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) return NULL
;
5777 } _resultobj
= Py_BuildValue("i",_result
);
5781 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5782 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
* _resultobj
;
5786 PyObject
* _argo0
= 0;
5787 char *_kwnames
[] = { "self", NULL
};
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 _result
= (bool )wxWindow_LineUp(_arg0
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) return NULL
;
5805 } _resultobj
= Py_BuildValue("i",_result
);
5809 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5810 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
* _resultobj
;
5814 PyObject
* _argo0
= 0;
5815 char *_kwnames
[] = { "self", NULL
};
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
5821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 _result
= (bool )wxWindow_LineDown(_arg0
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) return NULL
;
5833 } _resultobj
= Py_BuildValue("i",_result
);
5837 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5838 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
* _resultobj
;
5842 PyObject
* _argo0
= 0;
5843 char *_kwnames
[] = { "self", NULL
};
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
5849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 _result
= (bool )wxWindow_PageUp(_arg0
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) return NULL
;
5861 } _resultobj
= Py_BuildValue("i",_result
);
5865 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5866 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
* _resultobj
;
5870 PyObject
* _argo0
= 0;
5871 char *_kwnames
[] = { "self", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 _result
= (bool )wxWindow_PageDown(_arg0
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) return NULL
;
5889 } _resultobj
= Py_BuildValue("i",_result
);
5893 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5896 char *_kwnames
[] = { NULL
};
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 _result
= (wxWindow
*)wxWindow::FindFocus();
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) return NULL
;
5907 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5911 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
* _resultobj
;
5914 char *_kwnames
[] = { NULL
};
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 _result
= (int )wxWindow::NewControlId();
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) return NULL
;
5925 } _resultobj
= Py_BuildValue("i",_result
);
5929 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
* _resultobj
;
5933 char *_kwnames
[] = { "id", NULL
};
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 _result
= (int )wxWindow::NextControlId(_arg0
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) return NULL
;
5944 } _resultobj
= Py_BuildValue("i",_result
);
5948 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
* _resultobj
;
5952 char *_kwnames
[] = { "id", NULL
};
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 _result
= (int )wxWindow::PrevControlId(_arg0
);
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) return NULL
;
5963 } _resultobj
= Py_BuildValue("i",_result
);
5967 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
5968 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
* _resultobj
;
5971 wxAcceleratorTable
* _arg1
;
5972 PyObject
* _argo0
= 0;
5973 PyObject
* _argo1
= 0;
5974 char *_kwnames
[] = { "self","accel", NULL
};
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
5980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
5987 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5988 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
5989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) return NULL
;
5999 } Py_INCREF(Py_None
);
6000 _resultobj
= Py_None
;
6004 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6005 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
* _resultobj
;
6007 wxAcceleratorTable
* _result
;
6009 PyObject
* _argo0
= 0;
6010 char *_kwnames
[] = { "self", NULL
};
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
6017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) return NULL
;
6030 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6031 _resultobj
= Py_BuildValue("s",_ptemp
);
6034 _resultobj
= Py_None
;
6039 #define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6040 static PyObject
*_wrap_wxWindow_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6043 wxPaintEvent
* _arg1
;
6044 PyObject
* _argo0
= 0;
6045 PyObject
* _argo1
= 0;
6046 char *_kwnames
[] = { "self","event", NULL
};
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_OnPaint",_kwnames
,&_argo0
,&_argo1
))
6052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
6059 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6060 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaintEvent_p")) {
6061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 wxWindow_OnPaint(_arg0
,*_arg1
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) return NULL
;
6071 } Py_INCREF(Py_None
);
6072 _resultobj
= Py_None
;
6076 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6077 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
* _resultobj
;
6081 PyObject
* _argo0
= 0;
6082 char *_kwnames
[] = { "self", NULL
};
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) return NULL
;
6100 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6104 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6105 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6110 PyObject
* _argo0
= 0;
6111 PyObject
* _argo1
= 0;
6112 char *_kwnames
[] = { "self","btn", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) return NULL
;
6137 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6141 static void *SwigwxPanelTowxWindow(void *ptr
) {
6144 src
= (wxPanel
*) ptr
;
6145 dest
= (wxWindow
*) src
;
6146 return (void *) dest
;
6149 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6152 src
= (wxPanel
*) ptr
;
6153 dest
= (wxEvtHandler
*) src
;
6154 return (void *) dest
;
6157 static void *SwigwxPanelTowxObject(void *ptr
) {
6160 src
= (wxPanel
*) ptr
;
6161 dest
= (wxObject
*) src
;
6162 return (void *) dest
;
6165 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6166 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
* _resultobj
;
6171 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6172 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6173 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6174 char * _arg5
= (char *) "panel";
6175 PyObject
* _argo0
= 0;
6177 PyObject
* _obj2
= 0;
6179 PyObject
* _obj3
= 0;
6180 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6196 if (! wxPoint_helper(_obj2
, &_arg2
))
6202 if (! wxSize_helper(_obj3
, &_arg3
))
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) return NULL
;
6212 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6213 _resultobj
= Py_BuildValue("s",_ptemp
);
6216 _resultobj
= Py_None
;
6221 #define new_wxPrePanel() (new wxPanel())
6222 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6225 char *_kwnames
[] = { NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 _result
= (wxPanel
*)new_wxPrePanel();
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) return NULL
;
6238 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6239 _resultobj
= Py_BuildValue("s",_ptemp
);
6242 _resultobj
= Py_None
;
6247 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6248 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
* _resultobj
;
6254 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6255 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6256 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6257 char * _arg6
= (char *) "panel";
6258 PyObject
* _argo0
= 0;
6259 PyObject
* _argo1
= 0;
6261 PyObject
* _obj3
= 0;
6263 PyObject
* _obj4
= 0;
6264 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6286 if (! wxPoint_helper(_obj3
, &_arg3
))
6292 if (! wxSize_helper(_obj4
, &_arg4
))
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) return NULL
;
6301 } _resultobj
= Py_BuildValue("i",_result
);
6305 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6306 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
* _resultobj
;
6309 PyObject
* _argo0
= 0;
6310 char *_kwnames
[] = { "self", NULL
};
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 wxPanel_InitDialog(_arg0
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) return NULL
;
6328 } Py_INCREF(Py_None
);
6329 _resultobj
= Py_None
;
6333 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6334 wxScrolledWindow
*src
;
6336 src
= (wxScrolledWindow
*) ptr
;
6337 dest
= (wxPanel
*) src
;
6338 return (void *) dest
;
6341 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6342 wxScrolledWindow
*src
;
6344 src
= (wxScrolledWindow
*) ptr
;
6345 dest
= (wxWindow
*) src
;
6346 return (void *) dest
;
6349 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6350 wxScrolledWindow
*src
;
6352 src
= (wxScrolledWindow
*) ptr
;
6353 dest
= (wxEvtHandler
*) src
;
6354 return (void *) dest
;
6357 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6358 wxScrolledWindow
*src
;
6360 src
= (wxScrolledWindow
*) ptr
;
6361 dest
= (wxObject
*) src
;
6362 return (void *) dest
;
6365 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6366 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6368 wxScrolledWindow
* _result
;
6370 wxWindowID _arg1
= (wxWindowID
) -1;
6371 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6372 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6373 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6374 char * _arg5
= (char *) "scrolledWindow";
6375 PyObject
* _argo0
= 0;
6377 PyObject
* _obj2
= 0;
6379 PyObject
* _obj3
= 0;
6380 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6396 if (! wxPoint_helper(_obj2
, &_arg2
))
6402 if (! wxSize_helper(_obj3
, &_arg3
))
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) return NULL
;
6412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6413 _resultobj
= Py_BuildValue("s",_ptemp
);
6416 _resultobj
= Py_None
;
6421 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6422 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
* _resultobj
;
6424 wxScrolledWindow
* _result
;
6425 char *_kwnames
[] = { NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) return NULL
;
6438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6439 _resultobj
= Py_BuildValue("s",_ptemp
);
6442 _resultobj
= Py_None
;
6447 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6448 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
* _resultobj
;
6451 wxScrolledWindow
* _arg0
;
6453 wxWindowID _arg2
= (wxWindowID
) -1;
6454 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6455 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6456 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6457 char * _arg6
= (char *) "scrolledWindow";
6458 PyObject
* _argo0
= 0;
6459 PyObject
* _argo1
= 0;
6461 PyObject
* _obj3
= 0;
6463 PyObject
* _obj4
= 0;
6464 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6477 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6478 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6486 if (! wxPoint_helper(_obj3
, &_arg3
))
6492 if (! wxSize_helper(_obj4
, &_arg4
))
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) return NULL
;
6501 } _resultobj
= Py_BuildValue("i",_result
);
6505 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6506 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
* _resultobj
;
6508 wxScrolledWindow
* _arg0
;
6511 PyObject
* _argo0
= 0;
6514 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6526 _arg1
= (bool ) tempbool1
;
6527 _arg2
= (bool ) tempbool2
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) return NULL
;
6534 } Py_INCREF(Py_None
);
6535 _resultobj
= Py_None
;
6539 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6540 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
* _resultobj
;
6543 wxScrolledWindow
* _arg0
;
6545 PyObject
* _argo0
= 0;
6546 char *_kwnames
[] = { "self","orient", NULL
};
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) return NULL
;
6564 } _resultobj
= Py_BuildValue("i",_result
);
6568 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6569 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
* _resultobj
;
6571 wxScrolledWindow
* _arg0
;
6576 PyObject
* _argo0
= 0;
6577 char *_kwnames
[] = { "self", NULL
};
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) return NULL
;
6601 } Py_INCREF(Py_None
);
6602 _resultobj
= Py_None
;
6605 o
= PyInt_FromLong((long) (*_arg1
));
6606 _resultobj
= t_output_helper(_resultobj
, o
);
6610 o
= PyInt_FromLong((long) (*_arg2
));
6611 _resultobj
= t_output_helper(_resultobj
, o
);
6616 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6617 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
* _resultobj
;
6620 wxScrolledWindow
* _arg0
;
6621 PyObject
* _argo0
= 0;
6622 char *_kwnames
[] = { "self", NULL
};
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) return NULL
;
6640 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6644 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6645 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
* _resultobj
;
6647 wxScrolledWindow
* _arg0
;
6652 PyObject
* _argo0
= 0;
6653 char *_kwnames
[] = { "self", NULL
};
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) return NULL
;
6677 } Py_INCREF(Py_None
);
6678 _resultobj
= Py_None
;
6681 o
= PyInt_FromLong((long) (*_arg1
));
6682 _resultobj
= t_output_helper(_resultobj
, o
);
6686 o
= PyInt_FromLong((long) (*_arg2
));
6687 _resultobj
= t_output_helper(_resultobj
, o
);
6692 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6693 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
* _resultobj
;
6696 wxScrolledWindow
* _arg0
;
6697 PyObject
* _argo0
= 0;
6698 char *_kwnames
[] = { "self", NULL
};
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) return NULL
;
6716 } _resultobj
= Py_BuildValue("i",_result
);
6720 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6721 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
* _resultobj
;
6723 wxScrolledWindow
* _arg0
;
6725 PyObject
* _argo0
= 0;
6726 PyObject
* _argo1
= 0;
6727 char *_kwnames
[] = { "self","dc", NULL
};
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) return NULL
;
6752 } Py_INCREF(Py_None
);
6753 _resultobj
= Py_None
;
6757 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6758 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6760 wxScrolledWindow
* _arg0
;
6763 PyObject
* _argo0
= 0;
6764 char *_kwnames
[] = { "self","x","y", NULL
};
6767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) return NULL
;
6782 } Py_INCREF(Py_None
);
6783 _resultobj
= Py_None
;
6787 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6788 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6790 wxScrolledWindow
* _arg0
;
6795 int _arg5
= (int ) 0;
6796 int _arg6
= (int ) 0;
6797 int _arg7
= (int ) FALSE
;
6798 PyObject
* _argo0
= 0;
6799 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) return NULL
;
6817 } Py_INCREF(Py_None
);
6818 _resultobj
= Py_None
;
6822 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6823 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6825 wxScrolledWindow
* _arg0
;
6828 PyObject
* _argo0
= 0;
6829 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) return NULL
;
6847 } Py_INCREF(Py_None
);
6848 _resultobj
= Py_None
;
6852 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6853 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
* _resultobj
;
6855 wxScrolledWindow
* _arg0
;
6857 PyObject
* _argo0
= 0;
6858 PyObject
* _argo1
= 0;
6859 char *_kwnames
[] = { "self","window", NULL
};
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6872 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) return NULL
;
6884 } Py_INCREF(Py_None
);
6885 _resultobj
= Py_None
;
6889 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6890 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
* _resultobj
;
6892 wxScrolledWindow
* _arg0
;
6897 PyObject
* _argo0
= 0;
6898 char *_kwnames
[] = { "self", NULL
};
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) return NULL
;
6922 } Py_INCREF(Py_None
);
6923 _resultobj
= Py_None
;
6926 o
= PyInt_FromLong((long) (*_arg1
));
6927 _resultobj
= t_output_helper(_resultobj
, o
);
6931 o
= PyInt_FromLong((long) (*_arg2
));
6932 _resultobj
= t_output_helper(_resultobj
, o
);
6937 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
6938 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
* _resultobj
;
6941 wxScrolledWindow
* _arg0
;
6943 PyObject
* _argo0
= 0;
6945 PyObject
* _obj1
= 0;
6946 char *_kwnames
[] = { "self","pt", NULL
};
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
6953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
6961 if (! wxPoint_helper(_obj1
, &_arg1
))
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) return NULL
;
6970 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6971 _resultobj
= Py_BuildValue("s",_ptemp
);
6975 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6976 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
* _resultobj
;
6978 wxScrolledWindow
* _arg0
;
6985 PyObject
* _argo0
= 0;
6986 char *_kwnames
[] = { "self","x","y", NULL
};
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) return NULL
;
7010 } Py_INCREF(Py_None
);
7011 _resultobj
= Py_None
;
7014 o
= PyInt_FromLong((long) (*_arg3
));
7015 _resultobj
= t_output_helper(_resultobj
, o
);
7019 o
= PyInt_FromLong((long) (*_arg4
));
7020 _resultobj
= t_output_helper(_resultobj
, o
);
7025 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7026 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
* _resultobj
;
7029 wxScrolledWindow
* _arg0
;
7031 PyObject
* _argo0
= 0;
7033 PyObject
* _obj1
= 0;
7034 char *_kwnames
[] = { "self","pt", NULL
};
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7049 if (! wxPoint_helper(_obj1
, &_arg1
))
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) return NULL
;
7058 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7059 _resultobj
= Py_BuildValue("s",_ptemp
);
7063 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7064 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
* _resultobj
;
7066 wxScrolledWindow
* _arg0
;
7073 PyObject
* _argo0
= 0;
7074 char *_kwnames
[] = { "self","x","y", NULL
};
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) return NULL
;
7098 } Py_INCREF(Py_None
);
7099 _resultobj
= Py_None
;
7102 o
= PyInt_FromLong((long) (*_arg3
));
7103 _resultobj
= t_output_helper(_resultobj
, o
);
7107 o
= PyInt_FromLong((long) (*_arg4
));
7108 _resultobj
= t_output_helper(_resultobj
, o
);
7113 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7114 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
* _resultobj
;
7116 wxScrolledWindow
* _arg0
;
7119 PyObject
* _argo0
= 0;
7120 char *_kwnames
[] = { "self","xs","ys", NULL
};
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) return NULL
;
7138 } Py_INCREF(Py_None
);
7139 _resultobj
= Py_None
;
7143 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7144 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
* _resultobj
;
7147 wxScrolledWindow
* _arg0
;
7148 PyObject
* _argo0
= 0;
7149 char *_kwnames
[] = { "self", NULL
};
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) return NULL
;
7167 } _resultobj
= Py_BuildValue("d",_result
);
7171 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7172 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
* _resultobj
;
7175 wxScrolledWindow
* _arg0
;
7176 PyObject
* _argo0
= 0;
7177 char *_kwnames
[] = { "self", NULL
};
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) return NULL
;
7195 } _resultobj
= Py_BuildValue("d",_result
);
7199 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7200 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
* _resultobj
;
7202 wxScrolledWindow
* _arg0
;
7203 PyObject
* _argo0
= 0;
7204 char *_kwnames
[] = { "self", NULL
};
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 wxScrolledWindow_AdjustScrollbars(_arg0
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) return NULL
;
7222 } Py_INCREF(Py_None
);
7223 _resultobj
= Py_None
;
7227 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7228 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
* _resultobj
;
7231 wxScrolledWindow
* _arg0
;
7232 PyObject
* _argo0
= 0;
7233 char *_kwnames
[] = { "self", NULL
};
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) return NULL
;
7251 } _resultobj
= Py_BuildValue("i",_result
);
7255 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7258 src
= (wxMenu
*) ptr
;
7259 dest
= (wxEvtHandler
*) src
;
7260 return (void *) dest
;
7263 static void *SwigwxMenuTowxObject(void *ptr
) {
7266 src
= (wxMenu
*) ptr
;
7267 dest
= (wxObject
*) src
;
7268 return (void *) dest
;
7271 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7272 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
* _resultobj
;
7275 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
7276 long _arg1
= (long ) 0;
7277 PyObject
* _obj0
= 0;
7278 char *_kwnames
[] = { "title","style", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7286 _arg0
= wxString_in_helper(_obj0
);
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) return NULL
;
7297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7298 _resultobj
= Py_BuildValue("s",_ptemp
);
7301 _resultobj
= Py_None
;
7310 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7311 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
* _resultobj
;
7316 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
7317 wxItemKind _arg4
= (wxItemKind
) wxItem_Normal
;
7318 PyObject
* _argo0
= 0;
7319 PyObject
* _obj2
= 0;
7320 PyObject
* _obj3
= 0;
7321 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7334 _arg2
= wxString_in_helper(_obj2
);
7340 _arg3
= wxString_in_helper(_obj3
);
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) return NULL
;
7350 } Py_INCREF(Py_None
);
7351 _resultobj
= Py_None
;
7363 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7364 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
* _resultobj
;
7370 wxString
* _arg4
= (wxString
*) &wxEmptyString
;
7371 PyObject
* _argo0
= 0;
7372 PyObject
* _obj2
= 0;
7373 PyObject
* _argo3
= 0;
7374 PyObject
* _obj4
= 0;
7375 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7388 _arg2
= wxString_in_helper(_obj2
);
7393 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7394 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7401 _arg4
= wxString_in_helper(_obj4
);
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) return NULL
;
7411 } Py_INCREF(Py_None
);
7412 _resultobj
= Py_None
;
7424 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7425 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
* _resultobj
;
7429 PyObject
* _argo0
= 0;
7430 PyObject
* _argo1
= 0;
7431 char *_kwnames
[] = { "self","item", NULL
};
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7444 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7445 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 wxMenu_AppendItem(_arg0
,_arg1
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) return NULL
;
7456 } Py_INCREF(Py_None
);
7457 _resultobj
= Py_None
;
7461 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7462 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
* _resultobj
;
7467 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
7468 PyObject
* _argo0
= 0;
7469 PyObject
* _obj2
= 0;
7470 PyObject
* _obj3
= 0;
7471 char *_kwnames
[] = { "self","id","text","help", NULL
};
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7484 _arg2
= wxString_in_helper(_obj2
);
7490 _arg3
= wxString_in_helper(_obj3
);
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) return NULL
;
7500 } Py_INCREF(Py_None
);
7501 _resultobj
= Py_None
;
7513 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7514 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
* _resultobj
;
7519 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
7520 PyObject
* _argo0
= 0;
7521 PyObject
* _obj2
= 0;
7522 PyObject
* _obj3
= 0;
7523 char *_kwnames
[] = { "self","id","text","help", NULL
};
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7536 _arg2
= wxString_in_helper(_obj2
);
7542 _arg3
= wxString_in_helper(_obj3
);
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) return NULL
;
7552 } Py_INCREF(Py_None
);
7553 _resultobj
= Py_None
;
7565 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7566 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
* _resultobj
;
7569 PyObject
* _argo0
= 0;
7570 char *_kwnames
[] = { "self", NULL
};
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 wxMenu_AppendSeparator(_arg0
);
7586 wxPyEndAllowThreads(__tstate
);
7587 if (PyErr_Occurred()) return NULL
;
7588 } Py_INCREF(Py_None
);
7589 _resultobj
= Py_None
;
7593 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7594 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
* _resultobj
;
7600 wxString
* _arg4
= (wxString
*) &wxEmptyString
;
7601 wxItemKind _arg5
= (wxItemKind
) wxItem_Normal
;
7602 PyObject
* _argo0
= 0;
7603 PyObject
* _obj3
= 0;
7604 PyObject
* _obj4
= 0;
7605 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
7611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7618 _arg3
= wxString_in_helper(_obj3
);
7624 _arg4
= wxString_in_helper(_obj4
);
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) return NULL
;
7634 } Py_INCREF(Py_None
);
7635 _resultobj
= Py_None
;
7647 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7648 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
* _resultobj
;
7652 PyObject
* _argo0
= 0;
7653 char *_kwnames
[] = { "self","pos", NULL
};
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
7659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 wxMenu_InsertSeparator(_arg0
,_arg1
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) return NULL
;
7671 } Py_INCREF(Py_None
);
7672 _resultobj
= Py_None
;
7676 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7677 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
* _resultobj
;
7683 wxString
* _arg4
= (wxString
*) &wxEmptyString
;
7684 PyObject
* _argo0
= 0;
7685 PyObject
* _obj3
= 0;
7686 PyObject
* _obj4
= 0;
7687 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
7700 _arg3
= wxString_in_helper(_obj3
);
7706 _arg4
= wxString_in_helper(_obj4
);
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) return NULL
;
7716 } Py_INCREF(Py_None
);
7717 _resultobj
= Py_None
;
7729 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7730 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
* _resultobj
;
7736 wxString
* _arg4
= (wxString
*) &wxEmptyString
;
7737 PyObject
* _argo0
= 0;
7738 PyObject
* _obj3
= 0;
7739 PyObject
* _obj4
= 0;
7740 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
7753 _arg3
= wxString_in_helper(_obj3
);
7759 _arg4
= wxString_in_helper(_obj4
);
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) return NULL
;
7769 } Py_INCREF(Py_None
);
7770 _resultobj
= Py_None
;
7782 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7783 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
* _resultobj
;
7790 wxString
* _arg5
= (wxString
*) &wxEmptyString
;
7791 PyObject
* _argo0
= 0;
7792 PyObject
* _obj3
= 0;
7793 PyObject
* _argo4
= 0;
7794 PyObject
* _obj5
= 0;
7795 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
7801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7808 _arg3
= wxString_in_helper(_obj3
);
7813 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7821 _arg5
= wxString_in_helper(_obj5
);
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) return NULL
;
7831 } Py_INCREF(Py_None
);
7832 _resultobj
= Py_None
;
7844 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7845 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
* _resultobj
;
7851 PyObject
* _argo0
= 0;
7852 PyObject
* _argo2
= 0;
7853 char *_kwnames
[] = { "self","pos","item", NULL
};
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
7866 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7867 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) return NULL
;
7878 } _resultobj
= Py_BuildValue("i",_result
);
7882 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7883 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
* _resultobj
;
7888 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
7889 wxItemKind _arg4
= (wxItemKind
) wxItem_Normal
;
7890 PyObject
* _argo0
= 0;
7891 PyObject
* _obj2
= 0;
7892 PyObject
* _obj3
= 0;
7893 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
7906 _arg2
= wxString_in_helper(_obj2
);
7912 _arg3
= wxString_in_helper(_obj3
);
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) return NULL
;
7922 } Py_INCREF(Py_None
);
7923 _resultobj
= Py_None
;
7935 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
7936 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
* _resultobj
;
7939 PyObject
* _argo0
= 0;
7940 char *_kwnames
[] = { "self", NULL
};
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
7946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 wxMenu_PrependSeparator(_arg0
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) return NULL
;
7958 } Py_INCREF(Py_None
);
7959 _resultobj
= Py_None
;
7963 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
7964 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
* _resultobj
;
7969 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
7970 PyObject
* _argo0
= 0;
7971 PyObject
* _obj2
= 0;
7972 PyObject
* _obj3
= 0;
7973 char *_kwnames
[] = { "self","id","text","help", NULL
};
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
7986 _arg2
= wxString_in_helper(_obj2
);
7992 _arg3
= wxString_in_helper(_obj3
);
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) return NULL
;
8002 } Py_INCREF(Py_None
);
8003 _resultobj
= Py_None
;
8015 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8016 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
* _resultobj
;
8021 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
8022 PyObject
* _argo0
= 0;
8023 PyObject
* _obj2
= 0;
8024 PyObject
* _obj3
= 0;
8025 char *_kwnames
[] = { "self","id","text","help", NULL
};
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8038 _arg2
= wxString_in_helper(_obj2
);
8044 _arg3
= wxString_in_helper(_obj3
);
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) return NULL
;
8054 } Py_INCREF(Py_None
);
8055 _resultobj
= Py_None
;
8067 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8068 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
* _resultobj
;
8074 wxString
* _arg4
= (wxString
*) &wxEmptyString
;
8075 PyObject
* _argo0
= 0;
8076 PyObject
* _obj2
= 0;
8077 PyObject
* _argo3
= 0;
8078 PyObject
* _obj4
= 0;
8079 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8092 _arg2
= wxString_in_helper(_obj2
);
8097 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8098 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8105 _arg4
= wxString_in_helper(_obj4
);
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) return NULL
;
8115 } Py_INCREF(Py_None
);
8116 _resultobj
= Py_None
;
8128 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8129 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
* _resultobj
;
8133 PyObject
* _argo0
= 0;
8134 PyObject
* _argo1
= 0;
8135 char *_kwnames
[] = { "self","item", NULL
};
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 wxMenu_PrependItem(_arg0
,_arg1
);
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) return NULL
;
8160 } Py_INCREF(Py_None
);
8161 _resultobj
= Py_None
;
8165 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8166 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
* _resultobj
;
8169 PyObject
* _argo0
= 0;
8170 char *_kwnames
[] = { "self", NULL
};
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 wxMenu_Break(_arg0
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) return NULL
;
8188 } Py_INCREF(Py_None
);
8189 _resultobj
= Py_None
;
8193 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8194 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
* _resultobj
;
8199 PyObject
* _argo0
= 0;
8201 char *_kwnames
[] = { "self","id","flag", NULL
};
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8213 _arg2
= (bool ) tempbool2
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) return NULL
;
8220 } Py_INCREF(Py_None
);
8221 _resultobj
= Py_None
;
8225 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8226 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
* _resultobj
;
8231 PyObject
* _argo0
= 0;
8232 char *_kwnames
[] = { "self","id", NULL
};
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) return NULL
;
8250 } _resultobj
= Py_BuildValue("i",_result
);
8254 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8255 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
* _resultobj
;
8260 PyObject
* _argo0
= 0;
8262 char *_kwnames
[] = { "self","id","enable", NULL
};
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8274 _arg2
= (bool ) tempbool2
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) return NULL
;
8281 } Py_INCREF(Py_None
);
8282 _resultobj
= Py_None
;
8286 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8287 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
* _resultobj
;
8292 PyObject
* _argo0
= 0;
8293 char *_kwnames
[] = { "self","id", NULL
};
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) return NULL
;
8311 } _resultobj
= Py_BuildValue("i",_result
);
8315 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8316 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
* _resultobj
;
8321 PyObject
* _argo0
= 0;
8322 PyObject
* _obj1
= 0;
8323 char *_kwnames
[] = { "self","itemString", NULL
};
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8336 _arg1
= wxString_in_helper(_obj1
);
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) return NULL
;
8346 } _resultobj
= Py_BuildValue("i",_result
);
8354 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8355 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
* _resultobj
;
8357 wxMenuItem
* _result
;
8360 PyObject
* _argo0
= 0;
8361 char *_kwnames
[] = { "self","id", NULL
};
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) return NULL
;
8379 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8383 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8384 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
* _resultobj
;
8388 PyObject
* _argo0
= 0;
8389 char *_kwnames
[] = { "self", NULL
};
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) return NULL
;
8409 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8411 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8420 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8421 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
* _resultobj
;
8425 PyObject
* _argo0
= 0;
8426 PyObject
* _obj1
= 0;
8427 char *_kwnames
[] = { "self","title", NULL
};
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8440 _arg1
= wxString_in_helper(_obj1
);
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 wxMenu_SetTitle(_arg0
,*_arg1
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) return NULL
;
8450 } Py_INCREF(Py_None
);
8451 _resultobj
= Py_None
;
8459 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8460 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
* _resultobj
;
8465 PyObject
* _argo0
= 0;
8466 char *_kwnames
[] = { "self","id", NULL
};
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) return NULL
;
8486 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8488 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8497 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8498 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
* _resultobj
;
8503 PyObject
* _argo0
= 0;
8504 PyObject
* _obj2
= 0;
8505 char *_kwnames
[] = { "self","id","label", NULL
};
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8518 _arg2
= wxString_in_helper(_obj2
);
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) return NULL
;
8528 } Py_INCREF(Py_None
);
8529 _resultobj
= Py_None
;
8537 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8538 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
* _resultobj
;
8543 PyObject
* _argo0
= 0;
8544 char *_kwnames
[] = { "self","id", NULL
};
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) return NULL
;
8564 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8566 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8575 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8576 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
* _resultobj
;
8581 PyObject
* _argo0
= 0;
8582 PyObject
* _obj2
= 0;
8583 char *_kwnames
[] = { "self","id","helpString", NULL
};
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8596 _arg2
= wxString_in_helper(_obj2
);
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) return NULL
;
8606 } Py_INCREF(Py_None
);
8607 _resultobj
= Py_None
;
8615 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8616 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
* _resultobj
;
8619 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
8620 PyObject
* _argo0
= 0;
8621 PyObject
* _argo1
= 0;
8622 char *_kwnames
[] = { "self","source", NULL
};
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
8628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8635 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8636 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 wxMenu_UpdateUI(_arg0
,_arg1
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) return NULL
;
8647 } Py_INCREF(Py_None
);
8648 _resultobj
= Py_None
;
8652 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8653 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
* _resultobj
;
8658 PyObject
* _argo0
= 0;
8659 char *_kwnames
[] = { "self","id", NULL
};
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
8665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) return NULL
;
8677 } _resultobj
= Py_BuildValue("i",_result
);
8681 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8682 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
* _resultobj
;
8687 PyObject
* _argo0
= 0;
8688 PyObject
* _argo1
= 0;
8689 char *_kwnames
[] = { "self","item", NULL
};
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
8695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) return NULL
;
8714 } _resultobj
= Py_BuildValue("i",_result
);
8718 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8719 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
* _resultobj
;
8721 wxMenuItem
* _result
;
8724 PyObject
* _argo0
= 0;
8725 char *_kwnames
[] = { "self","id", NULL
};
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
8731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) return NULL
;
8743 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8747 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8748 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
* _resultobj
;
8750 wxMenuItem
* _result
;
8753 PyObject
* _argo0
= 0;
8754 PyObject
* _argo1
= 0;
8755 char *_kwnames
[] = { "self","item", NULL
};
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
8761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
8768 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8769 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) return NULL
;
8780 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8784 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
8785 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
* _resultobj
;
8788 PyObject
* _argo0
= 0;
8789 char *_kwnames
[] = { "self", NULL
};
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
8795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 wxMenu_Destroy(_arg0
);
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) return NULL
;
8807 } Py_INCREF(Py_None
);
8808 _resultobj
= Py_None
;
8812 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8813 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
* _resultobj
;
8818 PyObject
* _argo0
= 0;
8819 char *_kwnames
[] = { "self","id", NULL
};
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
8825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) return NULL
;
8837 } _resultobj
= Py_BuildValue("i",_result
);
8841 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8842 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
* _resultobj
;
8847 PyObject
* _argo0
= 0;
8848 PyObject
* _argo1
= 0;
8849 char *_kwnames
[] = { "self","item", NULL
};
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
8855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
8862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) return NULL
;
8874 } _resultobj
= Py_BuildValue("i",_result
);
8878 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
8879 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
* _resultobj
;
8883 PyObject
* _argo0
= 0;
8884 char *_kwnames
[] = { "self", NULL
};
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
8890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) return NULL
;
8902 } _resultobj
= Py_BuildValue("i",_result
);
8906 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
8907 wxMenuItemList
& list
= self
->GetMenuItems();
8908 return wxPy_ConvertList(&list
, "wxMenuItem");
8910 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
* _resultobj
;
8914 PyObject
* _argo0
= 0;
8915 char *_kwnames
[] = { "self", NULL
};
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
8921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) return NULL
;
8934 _resultobj
= _result
;
8939 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
8940 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
* _resultobj
;
8943 wxEvtHandler
* _arg1
;
8944 PyObject
* _argo0
= 0;
8945 PyObject
* _argo1
= 0;
8946 char *_kwnames
[] = { "self","handler", NULL
};
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
8952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 wxMenu_SetEventHandler(_arg0
,_arg1
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) return NULL
;
8971 } Py_INCREF(Py_None
);
8972 _resultobj
= Py_None
;
8976 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
8977 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
* _resultobj
;
8979 wxEvtHandler
* _result
;
8981 PyObject
* _argo0
= 0;
8982 char *_kwnames
[] = { "self", NULL
};
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
8988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) return NULL
;
9000 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9004 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9005 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
* _resultobj
;
9009 PyObject
* _argo0
= 0;
9010 PyObject
* _argo1
= 0;
9011 char *_kwnames
[] = { "self","win", NULL
};
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
9017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9024 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9025 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) return NULL
;
9036 } Py_INCREF(Py_None
);
9037 _resultobj
= Py_None
;
9041 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9042 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
* _resultobj
;
9046 PyObject
* _argo0
= 0;
9047 char *_kwnames
[] = { "self", NULL
};
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) return NULL
;
9065 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9069 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9070 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
* _resultobj
;
9074 PyObject
* _argo0
= 0;
9075 char *_kwnames
[] = { "self", NULL
};
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 _result
= (long )wxMenu_GetStyle(_arg0
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) return NULL
;
9093 } _resultobj
= Py_BuildValue("l",_result
);
9097 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9098 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
* _resultobj
;
9102 PyObject
* _argo0
= 0;
9103 char *_kwnames
[] = { "self", NULL
};
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 _result
= (bool )wxMenu_IsAttached(_arg0
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) return NULL
;
9121 } _resultobj
= Py_BuildValue("i",_result
);
9125 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9126 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
* _resultobj
;
9130 PyObject
* _argo0
= 0;
9131 PyObject
* _argo1
= 0;
9132 char *_kwnames
[] = { "self","parent", NULL
};
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 wxMenu_SetParent(_arg0
,_arg1
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) return NULL
;
9157 } Py_INCREF(Py_None
);
9158 _resultobj
= Py_None
;
9162 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9163 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
* _resultobj
;
9167 PyObject
* _argo0
= 0;
9168 char *_kwnames
[] = { "self", NULL
};
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) return NULL
;
9186 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9190 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9193 src
= (wxMenuBar
*) ptr
;
9194 dest
= (wxWindow
*) src
;
9195 return (void *) dest
;
9198 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9201 src
= (wxMenuBar
*) ptr
;
9202 dest
= (wxEvtHandler
*) src
;
9203 return (void *) dest
;
9206 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9209 src
= (wxMenuBar
*) ptr
;
9210 dest
= (wxObject
*) src
;
9211 return (void *) dest
;
9214 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9215 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
* _resultobj
;
9217 wxMenuBar
* _result
;
9218 long _arg0
= (long ) 0;
9219 char *_kwnames
[] = { "style", NULL
};
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) return NULL
;
9232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9233 _resultobj
= Py_BuildValue("s",_ptemp
);
9236 _resultobj
= Py_None
;
9241 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9242 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
* _resultobj
;
9248 PyObject
* _argo0
= 0;
9249 PyObject
* _argo1
= 0;
9250 PyObject
* _obj2
= 0;
9251 char *_kwnames
[] = { "self","menu","title", NULL
};
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9271 _arg2
= wxString_in_helper(_obj2
);
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) return NULL
;
9281 } _resultobj
= Py_BuildValue("i",_result
);
9289 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9290 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
* _resultobj
;
9297 PyObject
* _argo0
= 0;
9298 PyObject
* _argo2
= 0;
9299 PyObject
* _obj3
= 0;
9300 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9313 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9314 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9320 _arg3
= wxString_in_helper(_obj3
);
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) return NULL
;
9330 } _resultobj
= Py_BuildValue("i",_result
);
9338 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9339 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
* _resultobj
;
9343 PyObject
* _argo0
= 0;
9344 char *_kwnames
[] = { "self", NULL
};
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) return NULL
;
9362 } _resultobj
= Py_BuildValue("i",_result
);
9366 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9367 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
* _resultobj
;
9372 PyObject
* _argo0
= 0;
9373 char *_kwnames
[] = { "self","pos", NULL
};
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) return NULL
;
9391 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9395 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9396 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
* _resultobj
;
9403 PyObject
* _argo0
= 0;
9404 PyObject
* _argo2
= 0;
9405 PyObject
* _obj3
= 0;
9406 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9419 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9420 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9426 _arg3
= wxString_in_helper(_obj3
);
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9432 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) return NULL
;
9436 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9444 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9445 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
* _resultobj
;
9450 PyObject
* _argo0
= 0;
9451 char *_kwnames
[] = { "self","pos", NULL
};
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) return NULL
;
9469 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9473 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9474 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
* _resultobj
;
9479 PyObject
* _argo0
= 0;
9481 char *_kwnames
[] = { "self","pos","enable", NULL
};
9484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9493 _arg2
= (bool ) tempbool2
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) return NULL
;
9500 } Py_INCREF(Py_None
);
9501 _resultobj
= Py_None
;
9505 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9506 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
* _resultobj
;
9511 PyObject
* _argo0
= 0;
9512 PyObject
* _obj2
= 0;
9513 char *_kwnames
[] = { "self","pos","label", NULL
};
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
9526 _arg2
= wxString_in_helper(_obj2
);
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) return NULL
;
9536 } Py_INCREF(Py_None
);
9537 _resultobj
= Py_None
;
9545 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9546 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
* _resultobj
;
9551 PyObject
* _argo0
= 0;
9552 char *_kwnames
[] = { "self","pos", NULL
};
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
9558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) return NULL
;
9572 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9574 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9583 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9584 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
* _resultobj
;
9589 PyObject
* _argo0
= 0;
9590 PyObject
* _obj1
= 0;
9591 char *_kwnames
[] = { "self","title", NULL
};
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
9597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9604 _arg1
= wxString_in_helper(_obj1
);
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) return NULL
;
9614 } _resultobj
= Py_BuildValue("i",_result
);
9622 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9623 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
* _resultobj
;
9629 PyObject
* _argo0
= 0;
9630 PyObject
* _obj1
= 0;
9631 PyObject
* _obj2
= 0;
9632 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9645 _arg1
= wxString_in_helper(_obj1
);
9650 _arg2
= wxString_in_helper(_obj2
);
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) return NULL
;
9660 } _resultobj
= Py_BuildValue("i",_result
);
9672 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9673 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
* _resultobj
;
9675 wxMenuItem
* _result
;
9678 PyObject
* _argo0
= 0;
9679 char *_kwnames
[] = { "self","id", NULL
};
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
9685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) return NULL
;
9697 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9701 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9702 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
* _resultobj
;
9707 PyObject
* _argo0
= 0;
9709 char *_kwnames
[] = { "self","id","enable", NULL
};
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9721 _arg2
= (bool ) tempbool2
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) return NULL
;
9728 } Py_INCREF(Py_None
);
9729 _resultobj
= Py_None
;
9733 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9734 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
* _resultobj
;
9739 PyObject
* _argo0
= 0;
9741 char *_kwnames
[] = { "self","id","check", NULL
};
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9753 _arg2
= (bool ) tempbool2
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) return NULL
;
9760 } Py_INCREF(Py_None
);
9761 _resultobj
= Py_None
;
9765 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9766 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
* _resultobj
;
9771 PyObject
* _argo0
= 0;
9772 char *_kwnames
[] = { "self","id", NULL
};
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
9778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) return NULL
;
9790 } _resultobj
= Py_BuildValue("i",_result
);
9794 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9795 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
* _resultobj
;
9800 PyObject
* _argo0
= 0;
9801 char *_kwnames
[] = { "self","id", NULL
};
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
9807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) return NULL
;
9819 } _resultobj
= Py_BuildValue("i",_result
);
9823 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9824 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
* _resultobj
;
9829 PyObject
* _argo0
= 0;
9830 PyObject
* _obj2
= 0;
9831 char *_kwnames
[] = { "self","id","label", NULL
};
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
9844 _arg2
= wxString_in_helper(_obj2
);
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) return NULL
;
9854 } Py_INCREF(Py_None
);
9855 _resultobj
= Py_None
;
9863 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9864 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
* _resultobj
;
9869 PyObject
* _argo0
= 0;
9870 char *_kwnames
[] = { "self","id", NULL
};
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) return NULL
;
9890 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9892 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9901 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9902 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
* _resultobj
;
9907 PyObject
* _argo0
= 0;
9908 PyObject
* _obj2
= 0;
9909 char *_kwnames
[] = { "self","id","helpString", NULL
};
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
9922 _arg2
= wxString_in_helper(_obj2
);
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) return NULL
;
9932 } Py_INCREF(Py_None
);
9933 _resultobj
= Py_None
;
9941 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9942 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
* _resultobj
;
9947 PyObject
* _argo0
= 0;
9948 char *_kwnames
[] = { "self","id", NULL
};
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) return NULL
;
9968 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9970 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9979 static void *SwigwxMenuItemTowxObject(void *ptr
) {
9982 src
= (wxMenuItem
*) ptr
;
9983 dest
= (wxObject
*) src
;
9984 return (void *) dest
;
9987 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9988 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
* _resultobj
;
9990 wxMenuItem
* _result
;
9991 wxMenu
* _arg0
= (wxMenu
*) NULL
;
9992 int _arg1
= (int ) wxID_SEPARATOR
;
9993 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
9994 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
9995 wxItemKind _arg4
= (wxItemKind
) wxItem_Normal
;
9996 wxMenu
* _arg5
= (wxMenu
*) NULL
;
9997 PyObject
* _argo0
= 0;
9998 PyObject
* _obj2
= 0;
9999 PyObject
* _obj3
= 0;
10000 PyObject
* _argo5
= 0;
10001 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
10008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
10010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10016 _arg2
= wxString_in_helper(_obj2
);
10022 _arg3
= wxString_in_helper(_obj3
);
10027 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10028 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) return NULL
;
10040 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10041 _resultobj
= Py_BuildValue("s",_ptemp
);
10043 Py_INCREF(Py_None
);
10044 _resultobj
= Py_None
;
10057 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10058 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
* _resultobj
;
10061 wxMenuItem
* _arg0
;
10062 PyObject
* _argo0
= 0;
10063 char *_kwnames
[] = { "self", NULL
};
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) return NULL
;
10081 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10085 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10086 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
* _resultobj
;
10088 wxMenuItem
* _arg0
;
10090 PyObject
* _argo0
= 0;
10091 char *_kwnames
[] = { "self","id", NULL
};
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 wxMenuItem_SetId(_arg0
,_arg1
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) return NULL
;
10109 } Py_INCREF(Py_None
);
10110 _resultobj
= Py_None
;
10114 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10115 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
* _resultobj
;
10118 wxMenuItem
* _arg0
;
10119 PyObject
* _argo0
= 0;
10120 char *_kwnames
[] = { "self", NULL
};
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 _result
= (int )wxMenuItem_GetId(_arg0
);
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) return NULL
;
10138 } _resultobj
= Py_BuildValue("i",_result
);
10142 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10143 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
* _resultobj
;
10146 wxMenuItem
* _arg0
;
10147 PyObject
* _argo0
= 0;
10148 char *_kwnames
[] = { "self", NULL
};
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) return NULL
;
10166 } _resultobj
= Py_BuildValue("i",_result
);
10170 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10171 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
* _resultobj
;
10173 wxMenuItem
* _arg0
;
10175 PyObject
* _argo0
= 0;
10176 PyObject
* _obj1
= 0;
10177 char *_kwnames
[] = { "self","str", NULL
};
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10190 _arg1
= wxString_in_helper(_obj1
);
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 wxMenuItem_SetText(_arg0
,*_arg1
);
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) return NULL
;
10200 } Py_INCREF(Py_None
);
10201 _resultobj
= Py_None
;
10209 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10210 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
* _resultobj
;
10212 wxString
* _result
;
10213 wxMenuItem
* _arg0
;
10214 PyObject
* _argo0
= 0;
10215 char *_kwnames
[] = { "self", NULL
};
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) return NULL
;
10235 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10237 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10246 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10247 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
* _resultobj
;
10249 wxString
* _result
;
10250 wxMenuItem
* _arg0
;
10251 PyObject
* _argo0
= 0;
10252 char *_kwnames
[] = { "self", NULL
};
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10267 _result
= (wxString
*) &_result_ref
;
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) return NULL
;
10273 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10275 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10281 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10282 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
* _resultobj
;
10284 wxItemKind _result
;
10285 wxMenuItem
* _arg0
;
10286 PyObject
* _argo0
= 0;
10287 char *_kwnames
[] = { "self", NULL
};
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) return NULL
;
10305 } _resultobj
= Py_BuildValue("i",_result
);
10309 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10310 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
* _resultobj
;
10312 wxMenuItem
* _arg0
;
10314 PyObject
* _argo0
= 0;
10316 char *_kwnames
[] = { "self","checkable", NULL
};
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10328 _arg1
= (bool ) tempbool1
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) return NULL
;
10335 } Py_INCREF(Py_None
);
10336 _resultobj
= Py_None
;
10340 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10341 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
* _resultobj
;
10344 wxMenuItem
* _arg0
;
10345 PyObject
* _argo0
= 0;
10346 char *_kwnames
[] = { "self", NULL
};
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) return NULL
;
10364 } _resultobj
= Py_BuildValue("i",_result
);
10368 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10369 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
* _resultobj
;
10372 wxMenuItem
* _arg0
;
10373 PyObject
* _argo0
= 0;
10374 char *_kwnames
[] = { "self", NULL
};
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) return NULL
;
10392 } _resultobj
= Py_BuildValue("i",_result
);
10396 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10397 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
* _resultobj
;
10399 wxMenuItem
* _arg0
;
10401 PyObject
* _argo0
= 0;
10402 PyObject
* _argo1
= 0;
10403 char *_kwnames
[] = { "self","menu", NULL
};
10406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10416 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10417 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) return NULL
;
10428 } Py_INCREF(Py_None
);
10429 _resultobj
= Py_None
;
10433 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10434 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
* _resultobj
;
10437 wxMenuItem
* _arg0
;
10438 PyObject
* _argo0
= 0;
10439 char *_kwnames
[] = { "self", NULL
};
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
10445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) return NULL
;
10457 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10461 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10462 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
* _resultobj
;
10464 wxMenuItem
* _arg0
;
10465 bool _arg1
= (bool ) TRUE
;
10466 PyObject
* _argo0
= 0;
10467 int tempbool1
= (int) TRUE
;
10468 char *_kwnames
[] = { "self","enable", NULL
};
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
10474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10480 _arg1
= (bool ) tempbool1
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 wxMenuItem_Enable(_arg0
,_arg1
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) return NULL
;
10487 } Py_INCREF(Py_None
);
10488 _resultobj
= Py_None
;
10492 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10493 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
* _resultobj
;
10496 wxMenuItem
* _arg0
;
10497 PyObject
* _argo0
= 0;
10498 char *_kwnames
[] = { "self", NULL
};
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
10504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) return NULL
;
10516 } _resultobj
= Py_BuildValue("i",_result
);
10520 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10521 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
* _resultobj
;
10523 wxMenuItem
* _arg0
;
10524 bool _arg1
= (bool ) TRUE
;
10525 PyObject
* _argo0
= 0;
10526 int tempbool1
= (int) TRUE
;
10527 char *_kwnames
[] = { "self","check", NULL
};
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
10533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
10539 _arg1
= (bool ) tempbool1
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 wxMenuItem_Check(_arg0
,_arg1
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) return NULL
;
10546 } Py_INCREF(Py_None
);
10547 _resultobj
= Py_None
;
10551 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10552 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
* _resultobj
;
10555 wxMenuItem
* _arg0
;
10556 PyObject
* _argo0
= 0;
10557 char *_kwnames
[] = { "self", NULL
};
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
10563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) return NULL
;
10575 } _resultobj
= Py_BuildValue("i",_result
);
10579 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10580 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
* _resultobj
;
10582 wxMenuItem
* _arg0
;
10583 PyObject
* _argo0
= 0;
10584 char *_kwnames
[] = { "self", NULL
};
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
10590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 wxMenuItem_Toggle(_arg0
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) return NULL
;
10602 } Py_INCREF(Py_None
);
10603 _resultobj
= Py_None
;
10607 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10608 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
* _resultobj
;
10610 wxMenuItem
* _arg0
;
10612 PyObject
* _argo0
= 0;
10613 PyObject
* _obj1
= 0;
10614 char *_kwnames
[] = { "self","str", NULL
};
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
10620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
10627 _arg1
= wxString_in_helper(_obj1
);
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 wxMenuItem_SetHelp(_arg0
,*_arg1
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) return NULL
;
10637 } Py_INCREF(Py_None
);
10638 _resultobj
= Py_None
;
10646 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10647 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
* _resultobj
;
10649 wxString
* _result
;
10650 wxMenuItem
* _arg0
;
10651 PyObject
* _argo0
= 0;
10652 char *_kwnames
[] = { "self", NULL
};
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
10658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
10667 _result
= (wxString
*) &_result_ref
;
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) return NULL
;
10673 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10675 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10681 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10682 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
* _resultobj
;
10684 wxAcceleratorEntry
* _result
;
10685 wxMenuItem
* _arg0
;
10686 PyObject
* _argo0
= 0;
10687 char *_kwnames
[] = { "self", NULL
};
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
10694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) return NULL
;
10707 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
10708 _resultobj
= Py_BuildValue("s",_ptemp
);
10710 Py_INCREF(Py_None
);
10711 _resultobj
= Py_None
;
10716 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
10717 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
* _resultobj
;
10719 wxMenuItem
* _arg0
;
10720 wxAcceleratorEntry
* _arg1
;
10721 PyObject
* _argo0
= 0;
10722 PyObject
* _argo1
= 0;
10723 char *_kwnames
[] = { "self","accel", NULL
};
10726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
10729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
10736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
10738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 wxMenuItem_SetAccel(_arg0
,_arg1
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) return NULL
;
10748 } Py_INCREF(Py_None
);
10749 _resultobj
= Py_None
;
10753 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
* _resultobj
;
10755 wxString
* _result
;
10757 PyObject
* _obj0
= 0;
10758 char *_kwnames
[] = { "text", NULL
};
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
10764 _arg0
= wxString_in_helper(_obj0
);
10769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10770 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) return NULL
;
10776 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10778 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10791 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
10792 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
* _resultobj
;
10794 wxMenuItem
* _arg0
;
10796 PyObject
* _argo0
= 0;
10797 PyObject
* _argo1
= 0;
10798 char *_kwnames
[] = { "self","font", NULL
};
10801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
10804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
10811 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10812 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
10813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 wxMenuItem_SetFont(_arg0
,*_arg1
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) return NULL
;
10823 } Py_INCREF(Py_None
);
10824 _resultobj
= Py_None
;
10828 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
10829 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
* _resultobj
;
10832 wxMenuItem
* _arg0
;
10833 PyObject
* _argo0
= 0;
10834 char *_kwnames
[] = { "self", NULL
};
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
10841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 _result
= new wxFont (wxMenuItem_GetFont(_arg0
));
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) return NULL
;
10853 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10854 _resultobj
= Py_BuildValue("s",_ptemp
);
10858 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
10859 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
* _resultobj
;
10861 wxMenuItem
* _arg0
;
10863 PyObject
* _argo0
= 0;
10865 PyObject
* _obj1
= 0;
10866 char *_kwnames
[] = { "self","colText", NULL
};
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
10872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
10880 if (! wxColour_helper(_obj1
, &_arg1
))
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) return NULL
;
10889 } Py_INCREF(Py_None
);
10890 _resultobj
= Py_None
;
10894 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
10895 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
* _resultobj
;
10897 wxColour
* _result
;
10898 wxMenuItem
* _arg0
;
10899 PyObject
* _argo0
= 0;
10900 char *_kwnames
[] = { "self", NULL
};
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
10907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 _result
= new wxColour (wxMenuItem_GetTextColour(_arg0
));
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) return NULL
;
10919 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10920 _resultobj
= Py_BuildValue("s",_ptemp
);
10924 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
10925 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
* _resultobj
;
10927 wxMenuItem
* _arg0
;
10929 PyObject
* _argo0
= 0;
10931 PyObject
* _obj1
= 0;
10932 char *_kwnames
[] = { "self","colBack", NULL
};
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
10946 if (! wxColour_helper(_obj1
, &_arg1
))
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) return NULL
;
10955 } Py_INCREF(Py_None
);
10956 _resultobj
= Py_None
;
10960 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
10961 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
* _resultobj
;
10963 wxColour
* _result
;
10964 wxMenuItem
* _arg0
;
10965 PyObject
* _argo0
= 0;
10966 char *_kwnames
[] = { "self", NULL
};
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
10973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 _result
= new wxColour (wxMenuItem_GetBackgroundColour(_arg0
));
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) return NULL
;
10985 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10986 _resultobj
= Py_BuildValue("s",_ptemp
);
10990 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
10991 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
* _resultobj
;
10993 wxMenuItem
* _arg0
;
10995 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
10996 PyObject
* _argo0
= 0;
10997 PyObject
* _argo1
= 0;
10998 PyObject
* _argo2
= 0;
10999 char *_kwnames
[] = { "self","bmpChecked","bmpUnchecked", NULL
};
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11012 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11013 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11019 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11020 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) return NULL
;
11031 } Py_INCREF(Py_None
);
11032 _resultobj
= Py_None
;
11036 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
11037 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
* _resultobj
;
11039 wxMenuItem
* _arg0
;
11041 PyObject
* _argo0
= 0;
11042 PyObject
* _argo1
= 0;
11043 char *_kwnames
[] = { "self","bmpChecked", NULL
};
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
11049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
11056 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11057 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) return NULL
;
11068 } Py_INCREF(Py_None
);
11069 _resultobj
= Py_None
;
11073 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
11074 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
* _resultobj
;
11076 wxBitmap
* _result
;
11077 wxMenuItem
* _arg0
;
11078 bool _arg1
= (bool ) TRUE
;
11079 PyObject
* _argo0
= 0;
11080 int tempbool1
= (int) TRUE
;
11081 char *_kwnames
[] = { "self","bChecked", NULL
};
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
11088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
11094 _arg1
= (bool ) tempbool1
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) return NULL
;
11101 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
11102 _resultobj
= Py_BuildValue("s",_ptemp
);
11106 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11107 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
* _resultobj
;
11109 wxMenuItem
* _arg0
;
11111 PyObject
* _argo0
= 0;
11112 char *_kwnames
[] = { "self","nWidth", NULL
};
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
11118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) return NULL
;
11130 } Py_INCREF(Py_None
);
11131 _resultobj
= Py_None
;
11135 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11136 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
* _resultobj
;
11139 wxMenuItem
* _arg0
;
11140 PyObject
* _argo0
= 0;
11141 char *_kwnames
[] = { "self", NULL
};
11144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
11147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) return NULL
;
11159 } _resultobj
= Py_BuildValue("i",_result
);
11163 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
* _resultobj
;
11166 char *_kwnames
[] = { NULL
};
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMenuItem_GetDefaultMarginWidth",_kwnames
))
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 _result
= (int )wxMenuItem::GetDefaultMarginWidth();
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) return NULL
;
11177 } _resultobj
= Py_BuildValue("i",_result
);
11181 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11182 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
* _resultobj
;
11185 wxMenuItem
* _arg0
;
11186 PyObject
* _argo0
= 0;
11187 char *_kwnames
[] = { "self", NULL
};
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsOwnerDrawn",_kwnames
,&_argo0
))
11193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 _result
= (bool )wxMenuItem_IsOwnerDrawn(_arg0
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) return NULL
;
11205 } _resultobj
= Py_BuildValue("i",_result
);
11209 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
11210 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
* _resultobj
;
11212 wxMenuItem
* _arg0
;
11213 PyObject
* _argo0
= 0;
11214 char *_kwnames
[] = { "self", NULL
};
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_ResetOwnerDrawn",_kwnames
,&_argo0
))
11220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 wxMenuItem_ResetOwnerDrawn(_arg0
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) return NULL
;
11232 } Py_INCREF(Py_None
);
11233 _resultobj
= Py_None
;
11237 static PyMethodDef windowscMethods
[] = {
11238 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxWindow_OnPaint", (PyCFunction
) _wrap_wxWindow_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
11562 * This table is used by the pointer type-checker
11564 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11565 { "_signed_long","_long",0},
11566 { "_wxPrintQuality","_wxCoord",0},
11567 { "_wxPrintQuality","_int",0},
11568 { "_wxPrintQuality","_signed_int",0},
11569 { "_wxPrintQuality","_unsigned_int",0},
11570 { "_wxPrintQuality","_wxWindowID",0},
11571 { "_wxPrintQuality","_uint",0},
11572 { "_wxPrintQuality","_EBool",0},
11573 { "_wxPrintQuality","_size_t",0},
11574 { "_wxPrintQuality","_time_t",0},
11575 { "_byte","_unsigned_char",0},
11576 { "_long","_unsigned_long",0},
11577 { "_long","_signed_long",0},
11578 { "_size_t","_wxCoord",0},
11579 { "_size_t","_wxPrintQuality",0},
11580 { "_size_t","_time_t",0},
11581 { "_size_t","_unsigned_int",0},
11582 { "_size_t","_int",0},
11583 { "_size_t","_wxWindowID",0},
11584 { "_size_t","_uint",0},
11585 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11586 { "_uint","_wxCoord",0},
11587 { "_uint","_wxPrintQuality",0},
11588 { "_uint","_time_t",0},
11589 { "_uint","_size_t",0},
11590 { "_uint","_unsigned_int",0},
11591 { "_uint","_int",0},
11592 { "_uint","_wxWindowID",0},
11593 { "_wxChar","_char",0},
11594 { "_char","_wxChar",0},
11595 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11596 { "_EBool","_wxCoord",0},
11597 { "_EBool","_wxPrintQuality",0},
11598 { "_EBool","_signed_int",0},
11599 { "_EBool","_int",0},
11600 { "_EBool","_wxWindowID",0},
11601 { "_unsigned_long","_long",0},
11602 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11603 { "_signed_int","_wxCoord",0},
11604 { "_signed_int","_wxPrintQuality",0},
11605 { "_signed_int","_EBool",0},
11606 { "_signed_int","_wxWindowID",0},
11607 { "_signed_int","_int",0},
11608 { "_WXTYPE","_short",0},
11609 { "_WXTYPE","_signed_short",0},
11610 { "_WXTYPE","_unsigned_short",0},
11611 { "_unsigned_short","_WXTYPE",0},
11612 { "_unsigned_short","_short",0},
11613 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
11614 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
11615 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
11616 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
11617 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
11618 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
11619 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
11620 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
11621 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
11622 { "_signed_short","_WXTYPE",0},
11623 { "_signed_short","_short",0},
11624 { "_unsigned_char","_byte",0},
11625 { "_unsigned_int","_wxCoord",0},
11626 { "_unsigned_int","_wxPrintQuality",0},
11627 { "_unsigned_int","_time_t",0},
11628 { "_unsigned_int","_size_t",0},
11629 { "_unsigned_int","_uint",0},
11630 { "_unsigned_int","_wxWindowID",0},
11631 { "_unsigned_int","_int",0},
11632 { "_short","_WXTYPE",0},
11633 { "_short","_unsigned_short",0},
11634 { "_short","_signed_short",0},
11635 { "_wxWindowID","_wxCoord",0},
11636 { "_wxWindowID","_wxPrintQuality",0},
11637 { "_wxWindowID","_time_t",0},
11638 { "_wxWindowID","_size_t",0},
11639 { "_wxWindowID","_EBool",0},
11640 { "_wxWindowID","_uint",0},
11641 { "_wxWindowID","_int",0},
11642 { "_wxWindowID","_signed_int",0},
11643 { "_wxWindowID","_unsigned_int",0},
11644 { "_int","_wxCoord",0},
11645 { "_int","_wxPrintQuality",0},
11646 { "_int","_time_t",0},
11647 { "_int","_size_t",0},
11648 { "_int","_EBool",0},
11649 { "_int","_uint",0},
11650 { "_int","_wxWindowID",0},
11651 { "_int","_unsigned_int",0},
11652 { "_int","_signed_int",0},
11653 { "_time_t","_wxCoord",0},
11654 { "_time_t","_wxPrintQuality",0},
11655 { "_time_t","_unsigned_int",0},
11656 { "_time_t","_int",0},
11657 { "_time_t","_wxWindowID",0},
11658 { "_time_t","_uint",0},
11659 { "_time_t","_size_t",0},
11660 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
11661 { "_wxCoord","_int",0},
11662 { "_wxCoord","_signed_int",0},
11663 { "_wxCoord","_unsigned_int",0},
11664 { "_wxCoord","_wxWindowID",0},
11665 { "_wxCoord","_uint",0},
11666 { "_wxCoord","_EBool",0},
11667 { "_wxCoord","_size_t",0},
11668 { "_wxCoord","_time_t",0},
11669 { "_wxCoord","_wxPrintQuality",0},
11670 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
11671 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
11672 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
11673 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
11674 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
11675 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
11676 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
11677 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
11678 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
11679 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
11682 static PyObject
*SWIG_globals
;
11686 SWIGEXPORT(void) initwindowsc() {
11688 SWIG_globals
= SWIG_newvarlink();
11689 m
= Py_InitModule("windowsc", windowscMethods
);
11690 d
= PyModule_GetDict(m
);
11693 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11694 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);