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 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr
);
91 static const wxString
wxPyEmptyString(wxT(""));
93 class wxPyValidator
: public wxValidator
{
94 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
102 wxObject
* Clone() const {
103 wxPyValidator
* ptr
= NULL
;
104 wxPyValidator
* self
= (wxPyValidator
*)this;
106 wxPyBeginBlockThreads();
107 if (self
->m_myInst
.findCallback("Clone")) {
109 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
111 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
115 wxPyEndBlockThreads();
117 // This is very dangerous!!! But is the only way I could find
118 // to squash a memory leak. Currently it is okay, but if the
119 // validator architecture in wxWindows ever changes, problems
126 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
127 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
128 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
133 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
134 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
135 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
137 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
140 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
141 wxWindow
* win
= new wxWindow
;
143 win
->SubclassWin(hWnd
);
149 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
150 PyObject
* _resultobj
;
153 char *_kwnames
[] = { "hWnd", NULL
};
156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
160 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
162 wxPyEndAllowThreads(__tstate
);
163 if (PyErr_Occurred()) return NULL
;
164 }{ _resultobj
= wxPyMake_wxObject(_result
); }
168 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
171 src
= (wxEvtHandler
*) ptr
;
172 dest
= (wxObject
*) src
;
173 return (void *) dest
;
176 #define new_wxEvtHandler() (new wxEvtHandler())
177 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
178 PyObject
* _resultobj
;
179 wxEvtHandler
* _result
;
180 char *_kwnames
[] = { NULL
};
184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
188 _result
= (wxEvtHandler
*)new_wxEvtHandler();
190 wxPyEndAllowThreads(__tstate
);
191 if (PyErr_Occurred()) return NULL
;
193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
194 _resultobj
= Py_BuildValue("s",_ptemp
);
197 _resultobj
= Py_None
;
202 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
203 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
204 PyObject
* _resultobj
;
206 wxEvtHandler
* _arg0
;
208 PyObject
* _argo0
= 0;
209 PyObject
* _argo1
= 0;
210 char *_kwnames
[] = { "self","event", NULL
};
213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
223 if (_argo1
== Py_None
) { _arg1
= NULL
; }
224 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
231 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
233 wxPyEndAllowThreads(__tstate
);
234 if (PyErr_Occurred()) return NULL
;
235 } _resultobj
= Py_BuildValue("i",_result
);
239 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
240 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
241 PyObject
* _resultobj
;
242 wxEvtHandler
* _arg0
;
244 PyObject
* _argo0
= 0;
245 PyObject
* _argo1
= 0;
246 char *_kwnames
[] = { "self","event", NULL
};
249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
267 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
269 wxPyEndAllowThreads(__tstate
);
270 if (PyErr_Occurred()) return NULL
;
271 } Py_INCREF(Py_None
);
272 _resultobj
= Py_None
;
276 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
277 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
280 wxEvtHandler
* _arg0
;
281 PyObject
* _argo0
= 0;
282 char *_kwnames
[] = { "self", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
300 } _resultobj
= Py_BuildValue("i",_result
);
304 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
305 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
307 wxEvtHandler
* _arg0
;
309 PyObject
* _argo0
= 0;
311 char *_kwnames
[] = { "self","enabled", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
323 _arg1
= (bool ) tempbool1
;
325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
326 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
328 wxPyEndAllowThreads(__tstate
);
329 if (PyErr_Occurred()) return NULL
;
330 } Py_INCREF(Py_None
);
331 _resultobj
= Py_None
;
335 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
336 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
338 wxEvtHandler
* _result
;
339 wxEvtHandler
* _arg0
;
340 PyObject
* _argo0
= 0;
341 char *_kwnames
[] = { "self", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
355 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
357 wxPyEndAllowThreads(__tstate
);
358 if (PyErr_Occurred()) return NULL
;
359 }{ _resultobj
= wxPyMake_wxObject(_result
); }
363 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
364 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
366 wxEvtHandler
* _result
;
367 wxEvtHandler
* _arg0
;
368 PyObject
* _argo0
= 0;
369 char *_kwnames
[] = { "self", NULL
};
372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
383 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
385 wxPyEndAllowThreads(__tstate
);
386 if (PyErr_Occurred()) return NULL
;
387 }{ _resultobj
= wxPyMake_wxObject(_result
); }
391 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
392 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
393 PyObject
* _resultobj
;
394 wxEvtHandler
* _arg0
;
395 wxEvtHandler
* _arg1
;
396 PyObject
* _argo0
= 0;
397 PyObject
* _argo1
= 0;
398 char *_kwnames
[] = { "self","handler", NULL
};
401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
411 if (_argo1
== Py_None
) { _arg1
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
419 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
421 wxPyEndAllowThreads(__tstate
);
422 if (PyErr_Occurred()) return NULL
;
423 } Py_INCREF(Py_None
);
424 _resultobj
= Py_None
;
428 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
429 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 PyObject
* _resultobj
;
431 wxEvtHandler
* _arg0
;
432 wxEvtHandler
* _arg1
;
433 PyObject
* _argo0
= 0;
434 PyObject
* _argo1
= 0;
435 char *_kwnames
[] = { "self","handler", NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
448 if (_argo1
== Py_None
) { _arg1
= NULL
; }
449 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
456 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
458 wxPyEndAllowThreads(__tstate
);
459 if (PyErr_Occurred()) return NULL
;
460 } Py_INCREF(Py_None
);
461 _resultobj
= Py_None
;
465 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
466 if (PyCallable_Check(func
)) {
467 self
->Connect(id
, lastId
, eventType
,
468 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
469 new wxPyCallback(func
));
471 else if (func
== Py_None
) {
472 self
->Disconnect(id
, lastId
, eventType
,
473 (wxObjectEventFunction
)
474 &wxPyCallback::EventThunker
);
477 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
480 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 PyObject
* _resultobj
;
482 wxEvtHandler
* _arg0
;
487 PyObject
* _argo0
= 0;
488 PyObject
* _obj4
= 0;
489 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
506 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
508 wxPyEndAllowThreads(__tstate
);
509 if (PyErr_Occurred()) return NULL
;
510 } Py_INCREF(Py_None
);
511 _resultobj
= Py_None
;
515 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
516 return self
->Disconnect(id
, lastId
, eventType
,
517 (wxObjectEventFunction
)
518 &wxPyCallback::EventThunker
);
520 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
523 wxEvtHandler
* _arg0
;
525 int _arg2
= (int ) -1;
526 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
527 PyObject
* _argo0
= 0;
528 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
542 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
544 wxPyEndAllowThreads(__tstate
);
545 if (PyErr_Occurred()) return NULL
;
546 } _resultobj
= Py_BuildValue("i",_result
);
550 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
551 self
->SetClientObject(new wxPyOORClientData(_self
));
553 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
555 wxEvtHandler
* _arg0
;
557 PyObject
* _argo0
= 0;
558 PyObject
* _obj1
= 0;
559 char *_kwnames
[] = { "self","_self", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
576 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
578 wxPyEndAllowThreads(__tstate
);
579 if (PyErr_Occurred()) return NULL
;
580 } Py_INCREF(Py_None
);
581 _resultobj
= Py_None
;
585 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
588 src
= (wxValidator
*) ptr
;
589 dest
= (wxEvtHandler
*) src
;
590 return (void *) dest
;
593 static void *SwigwxValidatorTowxObject(void *ptr
) {
596 src
= (wxValidator
*) ptr
;
597 dest
= (wxObject
*) src
;
598 return (void *) dest
;
601 #define new_wxValidator() (new wxValidator())
602 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
604 wxValidator
* _result
;
605 char *_kwnames
[] = { NULL
};
609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
613 _result
= (wxValidator
*)new_wxValidator();
615 wxPyEndAllowThreads(__tstate
);
616 if (PyErr_Occurred()) return NULL
;
618 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
619 _resultobj
= Py_BuildValue("s",_ptemp
);
622 _resultobj
= Py_None
;
627 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
628 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 PyObject
* _resultobj
;
630 wxValidator
* _result
;
632 PyObject
* _argo0
= 0;
633 char *_kwnames
[] = { "self", NULL
};
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
647 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
649 wxPyEndAllowThreads(__tstate
);
650 if (PyErr_Occurred()) return NULL
;
651 }{ _resultobj
= wxPyMake_wxObject(_result
); }
655 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
656 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
660 PyObject
* _argo0
= 0;
661 char *_kwnames
[] = { "self", NULL
};
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
675 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
677 wxPyEndAllowThreads(__tstate
);
678 if (PyErr_Occurred()) return NULL
;
679 }{ _resultobj
= wxPyMake_wxObject(_result
); }
683 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
684 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
685 PyObject
* _resultobj
;
688 PyObject
* _argo0
= 0;
689 PyObject
* _argo1
= 0;
690 char *_kwnames
[] = { "self","window", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
703 if (_argo1
== Py_None
) { _arg1
= NULL
; }
704 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
711 wxValidator_SetWindow(_arg0
,_arg1
);
713 wxPyEndAllowThreads(__tstate
);
714 if (PyErr_Occurred()) return NULL
;
715 } Py_INCREF(Py_None
);
716 _resultobj
= Py_None
;
720 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
723 char *_kwnames
[] = { NULL
};
726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
730 _result
= (bool )wxValidator::IsSilent();
732 wxPyEndAllowThreads(__tstate
);
733 if (PyErr_Occurred()) return NULL
;
734 } _resultobj
= Py_BuildValue("i",_result
);
738 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
739 PyObject
* _resultobj
;
740 int _arg0
= (int ) TRUE
;
741 char *_kwnames
[] = { "doIt", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
748 wxValidator::SetBellOnError(_arg0
);
750 wxPyEndAllowThreads(__tstate
);
751 if (PyErr_Occurred()) return NULL
;
752 } Py_INCREF(Py_None
);
753 _resultobj
= Py_None
;
757 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
760 src
= (wxPyValidator
*) ptr
;
761 dest
= (wxValidator
*) src
;
762 return (void *) dest
;
765 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
768 src
= (wxPyValidator
*) ptr
;
769 dest
= (wxEvtHandler
*) src
;
770 return (void *) dest
;
773 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
776 src
= (wxPyValidator
*) ptr
;
777 dest
= (wxObject
*) src
;
778 return (void *) dest
;
781 #define new_wxPyValidator() (new wxPyValidator())
782 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
784 wxPyValidator
* _result
;
785 char *_kwnames
[] = { NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 _result
= (wxPyValidator
*)new_wxPyValidator();
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
799 _resultobj
= Py_BuildValue("s",_ptemp
);
802 _resultobj
= Py_None
;
807 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
808 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* _resultobj
;
810 wxPyValidator
* _arg0
;
813 int _arg3
= (int ) TRUE
;
814 PyObject
* _argo0
= 0;
815 PyObject
* _obj1
= 0;
816 PyObject
* _obj2
= 0;
817 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
837 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
839 wxPyEndAllowThreads(__tstate
);
840 if (PyErr_Occurred()) return NULL
;
841 } Py_INCREF(Py_None
);
842 _resultobj
= Py_None
;
846 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
849 src
= (wxWindow
*) ptr
;
850 dest
= (wxEvtHandler
*) src
;
851 return (void *) dest
;
854 static void *SwigwxWindowTowxObject(void *ptr
) {
857 src
= (wxWindow
*) ptr
;
858 dest
= (wxObject
*) src
;
859 return (void *) dest
;
862 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
863 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
868 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
869 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
870 long _arg4
= (long ) 0;
871 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
872 PyObject
* _argo0
= 0;
874 PyObject
* _obj2
= 0;
876 PyObject
* _obj3
= 0;
877 PyObject
* _obj5
= 0;
878 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
894 if (! wxPoint_helper(_obj2
, &_arg2
))
900 if (! wxSize_helper(_obj3
, &_arg3
))
905 _arg5
= wxString_in_helper(_obj5
);
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
911 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) return NULL
;
916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
917 _resultobj
= Py_BuildValue("s",_ptemp
);
920 _resultobj
= Py_None
;
929 #define new_wxPreWindow() (new wxWindow())
930 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
933 char *_kwnames
[] = { NULL
};
937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
941 _result
= (wxWindow
*)new_wxPreWindow();
943 wxPyEndAllowThreads(__tstate
);
944 if (PyErr_Occurred()) return NULL
;
946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
947 _resultobj
= Py_BuildValue("s",_ptemp
);
950 _resultobj
= Py_None
;
955 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
956 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
957 PyObject
* _resultobj
;
962 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
963 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
964 long _arg5
= (long ) 0;
965 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
966 PyObject
* _argo0
= 0;
967 PyObject
* _argo1
= 0;
969 PyObject
* _obj3
= 0;
971 PyObject
* _obj4
= 0;
972 PyObject
* _obj6
= 0;
973 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
995 if (! wxPoint_helper(_obj3
, &_arg3
))
1001 if (! wxSize_helper(_obj4
, &_arg4
))
1006 _arg6
= wxString_in_helper(_obj6
);
1011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1012 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1014 wxPyEndAllowThreads(__tstate
);
1015 if (PyErr_Occurred()) return NULL
;
1016 } _resultobj
= Py_BuildValue("i",_result
);
1024 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1025 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1026 PyObject
* _resultobj
;
1028 int _arg1
= (int ) wxBOTH
;
1029 PyObject
* _argo0
= 0;
1030 char *_kwnames
[] = { "self","direction", NULL
};
1033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1044 wxWindow_Center(_arg0
,_arg1
);
1046 wxPyEndAllowThreads(__tstate
);
1047 if (PyErr_Occurred()) return NULL
;
1048 } Py_INCREF(Py_None
);
1049 _resultobj
= Py_None
;
1053 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1054 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1057 int _arg1
= (int ) wxBOTH
;
1058 PyObject
* _argo0
= 0;
1059 char *_kwnames
[] = { "self","direction", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1073 wxWindow_Centre(_arg0
,_arg1
);
1075 wxPyEndAllowThreads(__tstate
);
1076 if (PyErr_Occurred()) return NULL
;
1077 } Py_INCREF(Py_None
);
1078 _resultobj
= Py_None
;
1082 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1083 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
* _resultobj
;
1086 int _arg1
= (int ) wxBOTH
;
1087 PyObject
* _argo0
= 0;
1088 char *_kwnames
[] = { "self","direction", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1102 wxWindow_CentreOnParent(_arg0
,_arg1
);
1104 wxPyEndAllowThreads(__tstate
);
1105 if (PyErr_Occurred()) return NULL
;
1106 } Py_INCREF(Py_None
);
1107 _resultobj
= Py_None
;
1111 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1112 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
* _resultobj
;
1115 int _arg1
= (int ) wxBOTH
;
1116 PyObject
* _argo0
= 0;
1117 char *_kwnames
[] = { "self","direction", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1131 wxWindow_CenterOnParent(_arg0
,_arg1
);
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) return NULL
;
1135 } Py_INCREF(Py_None
);
1136 _resultobj
= Py_None
;
1140 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1141 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
* _resultobj
;
1144 int _arg1
= (int ) wxBOTH
;
1145 PyObject
* _argo0
= 0;
1146 char *_kwnames
[] = { "self","direction", NULL
};
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1160 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1162 wxPyEndAllowThreads(__tstate
);
1163 if (PyErr_Occurred()) return NULL
;
1164 } Py_INCREF(Py_None
);
1165 _resultobj
= Py_None
;
1169 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1170 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1173 int _arg1
= (int ) wxBOTH
;
1174 PyObject
* _argo0
= 0;
1175 char *_kwnames
[] = { "self","direction", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1189 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1191 wxPyEndAllowThreads(__tstate
);
1192 if (PyErr_Occurred()) return NULL
;
1193 } Py_INCREF(Py_None
);
1194 _resultobj
= Py_None
;
1198 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1199 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1202 PyObject
* _argo0
= 0;
1203 char *_kwnames
[] = { "self", NULL
};
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 wxWindow_Clear(_arg0
);
1219 wxPyEndAllowThreads(__tstate
);
1220 if (PyErr_Occurred()) return NULL
;
1221 } Py_INCREF(Py_None
);
1222 _resultobj
= Py_None
;
1226 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1227 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1232 PyObject
* _argo0
= 0;
1234 PyObject
* _obj1
= 0;
1236 PyObject
* _obj2
= 0;
1237 char *_kwnames
[] = { "self","x","y", NULL
};
1240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1250 temp
= (int) PyInt_AsLong(_obj1
);
1254 temp0
= (int) PyInt_AsLong(_obj2
);
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) return NULL
;
1263 } Py_INCREF(Py_None
);
1264 _resultobj
= Py_None
;
1267 o
= PyInt_FromLong((long) (*_arg1
));
1268 _resultobj
= t_output_helper(_resultobj
, o
);
1272 o
= PyInt_FromLong((long) (*_arg2
));
1273 _resultobj
= t_output_helper(_resultobj
, o
);
1278 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1279 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1284 PyObject
* _argo0
= 0;
1286 PyObject
* _obj1
= 0;
1287 char *_kwnames
[] = { "self","pt", NULL
};
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1302 if (! wxPoint_helper(_obj1
, &_arg1
))
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) return NULL
;
1311 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1312 _resultobj
= Py_BuildValue("s",_ptemp
);
1316 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1317 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1321 int _arg1
= (int ) FALSE
;
1322 PyObject
* _argo0
= 0;
1323 char *_kwnames
[] = { "self","force", NULL
};
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1337 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1339 wxPyEndAllowThreads(__tstate
);
1340 if (PyErr_Occurred()) return NULL
;
1341 } _resultobj
= Py_BuildValue("i",_result
);
1345 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1346 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
* _resultobj
;
1350 PyObject
* _argo0
= 0;
1351 char *_kwnames
[] = { "self", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 _result
= (bool )wxWindow_Destroy(_arg0
);
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) return NULL
;
1369 } _resultobj
= Py_BuildValue("i",_result
);
1373 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1374 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1377 PyObject
* _argo0
= 0;
1378 char *_kwnames
[] = { "self", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 wxWindow_DestroyChildren(_arg0
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) return NULL
;
1396 } Py_INCREF(Py_None
);
1397 _resultobj
= Py_None
;
1401 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1402 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1406 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "self", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) return NULL
;
1425 } _resultobj
= Py_BuildValue("i",_result
);
1429 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1430 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1434 PyObject
* _argo0
= 0;
1436 char *_kwnames
[] = { "self","accept", NULL
};
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1448 _arg1
= (bool ) tempbool1
;
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) return NULL
;
1455 } Py_INCREF(Py_None
);
1456 _resultobj
= Py_None
;
1460 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1461 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1465 PyObject
* _argo0
= 0;
1467 char *_kwnames
[] = { "self","enable", NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1479 _arg1
= (bool ) tempbool1
;
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 wxWindow_Enable(_arg0
,_arg1
);
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) return NULL
;
1486 } Py_INCREF(Py_None
);
1487 _resultobj
= Py_None
;
1491 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1492 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1497 PyObject
* _argo0
= 0;
1498 char *_kwnames
[] = { "self","id", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1512 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1514 wxPyEndAllowThreads(__tstate
);
1515 if (PyErr_Occurred()) return NULL
;
1516 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1520 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1521 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1526 PyObject
* _argo0
= 0;
1527 PyObject
* _obj1
= 0;
1528 char *_kwnames
[] = { "self","name", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1541 _arg1
= wxString_in_helper(_obj1
);
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) return NULL
;
1551 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1559 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1560 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1563 PyObject
* _argo0
= 0;
1564 char *_kwnames
[] = { "self", NULL
};
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1578 wxWindow_Fit(_arg0
);
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) return NULL
;
1582 } Py_INCREF(Py_None
);
1583 _resultobj
= Py_None
;
1587 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1588 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1592 PyObject
* _argo0
= 0;
1593 char *_kwnames
[] = { "self", NULL
};
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) return NULL
;
1612 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1613 _resultobj
= Py_BuildValue("s",_ptemp
);
1617 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1618 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1619 PyObject
* _resultobj
;
1622 PyObject
* _argo0
= 0;
1623 char *_kwnames
[] = { "self", NULL
};
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1637 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) return NULL
;
1641 } _resultobj
= Py_BuildValue("i",_result
);
1645 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1646 wxWindowList
& list
= self
->GetChildren();
1647 return wxPy_ConvertList(&list
, "wxWindow");
1649 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1653 PyObject
* _argo0
= 0;
1654 char *_kwnames
[] = { "self", NULL
};
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) return NULL
;
1673 _resultobj
= _result
;
1678 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1679 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1683 PyObject
* _argo0
= 0;
1684 char *_kwnames
[] = { "self", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1698 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1700 wxPyEndAllowThreads(__tstate
);
1701 if (PyErr_Occurred()) return NULL
;
1702 } _resultobj
= Py_BuildValue("i",_result
);
1706 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1707 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1711 PyObject
* _argo0
= 0;
1712 char *_kwnames
[] = { "self", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) return NULL
;
1730 } _resultobj
= Py_BuildValue("i",_result
);
1734 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1735 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1742 PyObject
* _argo0
= 0;
1743 char *_kwnames
[] = { "self", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) return NULL
;
1767 } Py_INCREF(Py_None
);
1768 _resultobj
= Py_None
;
1771 o
= PyInt_FromLong((long) (*_arg1
));
1772 _resultobj
= t_output_helper(_resultobj
, o
);
1776 o
= PyInt_FromLong((long) (*_arg2
));
1777 _resultobj
= t_output_helper(_resultobj
, o
);
1782 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1783 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1787 PyObject
* _argo0
= 0;
1788 char *_kwnames
[] = { "self", NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) return NULL
;
1807 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1808 _resultobj
= Py_BuildValue("s",_ptemp
);
1812 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1813 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1817 PyObject
* _argo0
= 0;
1818 char *_kwnames
[] = { "self", NULL
};
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) return NULL
;
1837 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1838 _resultobj
= Py_BuildValue("s",_ptemp
);
1842 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1843 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1847 PyObject
* _argo0
= 0;
1848 char *_kwnames
[] = { "self", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) return NULL
;
1867 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1868 _resultobj
= Py_BuildValue("s",_ptemp
);
1872 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1873 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
* _resultobj
;
1875 wxLayoutConstraints
* _result
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self", NULL
};
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) return NULL
;
1898 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1899 _resultobj
= Py_BuildValue("s",_ptemp
);
1902 _resultobj
= Py_None
;
1907 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1908 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1910 wxEvtHandler
* _result
;
1912 PyObject
* _argo0
= 0;
1913 char *_kwnames
[] = { "self", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1935 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1936 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1940 PyObject
* _argo0
= 0;
1941 char *_kwnames
[] = { "self", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 _result
= new wxFont (wxWindow_GetFont(_arg0
));
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) return NULL
;
1960 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1961 _resultobj
= Py_BuildValue("s",_ptemp
);
1965 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1966 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1970 PyObject
* _argo0
= 0;
1971 char *_kwnames
[] = { "self", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) return NULL
;
1990 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1991 _resultobj
= Py_BuildValue("s",_ptemp
);
1995 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1996 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
2000 PyObject
* _argo0
= 0;
2001 char *_kwnames
[] = { "self", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
2007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) return NULL
;
2019 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2023 static long wxWindow_GetHandle(wxWindow
*self
) {
2024 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
2026 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2030 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
2037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 _result
= (long )wxWindow_GetHandle(_arg0
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) return NULL
;
2049 } _resultobj
= Py_BuildValue("l",_result
);
2053 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2054 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
* _resultobj
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "self", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 _result
= (int )wxWindow_GetId(_arg0
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } _resultobj
= Py_BuildValue("i",_result
);
2081 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2082 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2086 PyObject
* _argo0
= 0;
2087 char *_kwnames
[] = { "self", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) return NULL
;
2107 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2109 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2118 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2119 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
* _resultobj
;
2123 PyObject
* _argo0
= 0;
2124 PyObject
* _obj1
= 0;
2125 char *_kwnames
[] = { "self","label", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2138 _arg1
= wxString_in_helper(_obj1
);
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 wxWindow_SetLabel(_arg0
,*_arg1
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) return NULL
;
2148 } Py_INCREF(Py_None
);
2149 _resultobj
= Py_None
;
2157 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2158 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
* _resultobj
;
2162 PyObject
* _argo0
= 0;
2163 char *_kwnames
[] = { "self", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 _result
= new wxString (wxWindow_GetName(_arg0
));
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) return NULL
;
2183 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2185 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2194 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2195 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2199 PyObject
* _argo0
= 0;
2200 char *_kwnames
[] = { "self", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) return NULL
;
2218 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2222 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2223 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2230 PyObject
* _argo0
= 0;
2231 char *_kwnames
[] = { "self", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) return NULL
;
2255 } Py_INCREF(Py_None
);
2256 _resultobj
= Py_None
;
2259 o
= PyInt_FromLong((long) (*_arg1
));
2260 _resultobj
= t_output_helper(_resultobj
, o
);
2264 o
= PyInt_FromLong((long) (*_arg2
));
2265 _resultobj
= t_output_helper(_resultobj
, o
);
2270 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2271 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
* _resultobj
;
2275 PyObject
* _argo0
= 0;
2276 char *_kwnames
[] = { "self", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) return NULL
;
2295 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2296 _resultobj
= Py_BuildValue("s",_ptemp
);
2300 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2301 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2305 PyObject
* _argo0
= 0;
2306 char *_kwnames
[] = { "self", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) return NULL
;
2325 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2326 _resultobj
= Py_BuildValue("s",_ptemp
);
2330 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2331 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2336 PyObject
* _argo0
= 0;
2337 char *_kwnames
[] = { "self","orientation", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) return NULL
;
2355 } _resultobj
= Py_BuildValue("i",_result
);
2359 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2360 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2365 PyObject
* _argo0
= 0;
2366 char *_kwnames
[] = { "self","orientation", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) return NULL
;
2384 } _resultobj
= Py_BuildValue("i",_result
);
2388 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2389 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2394 PyObject
* _argo0
= 0;
2395 char *_kwnames
[] = { "self","orientation", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) return NULL
;
2413 } _resultobj
= Py_BuildValue("i",_result
);
2417 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2418 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2425 PyObject
* _argo0
= 0;
2426 char *_kwnames
[] = { "self", NULL
};
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) return NULL
;
2450 } Py_INCREF(Py_None
);
2451 _resultobj
= Py_None
;
2454 o
= PyInt_FromLong((long) (*_arg1
));
2455 _resultobj
= t_output_helper(_resultobj
, o
);
2459 o
= PyInt_FromLong((long) (*_arg2
));
2460 _resultobj
= t_output_helper(_resultobj
, o
);
2465 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2466 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
* _resultobj
;
2470 PyObject
* _argo0
= 0;
2471 char *_kwnames
[] = { "self", NULL
};
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2488 wxPyEndAllowThreads(__tstate
);
2489 if (PyErr_Occurred()) return NULL
;
2490 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2491 _resultobj
= Py_BuildValue("s",_ptemp
);
2495 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2496 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
* _resultobj
;
2504 PyObject
* _argo0
= 0;
2505 PyObject
* _obj1
= 0;
2506 char *_kwnames
[] = { "self","string", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2525 _arg1
= wxString_in_helper(_obj1
);
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) return NULL
;
2535 } Py_INCREF(Py_None
);
2536 _resultobj
= Py_None
;
2539 o
= PyInt_FromLong((long) (*_arg2
));
2540 _resultobj
= t_output_helper(_resultobj
, o
);
2544 o
= PyInt_FromLong((long) (*_arg3
));
2545 _resultobj
= t_output_helper(_resultobj
, o
);
2554 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2555 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2567 wxFont
* _arg6
= (wxFont
*) NULL
;
2568 PyObject
* _argo0
= 0;
2569 PyObject
* _obj1
= 0;
2570 PyObject
* _argo6
= 0;
2571 char *_kwnames
[] = { "self","string","font", NULL
};
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2596 _arg1
= wxString_in_helper(_obj1
);
2601 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) return NULL
;
2613 } Py_INCREF(Py_None
);
2614 _resultobj
= Py_None
;
2617 o
= PyInt_FromLong((long) (*_arg2
));
2618 _resultobj
= t_output_helper(_resultobj
, o
);
2622 o
= PyInt_FromLong((long) (*_arg3
));
2623 _resultobj
= t_output_helper(_resultobj
, o
);
2627 o
= PyInt_FromLong((long) (*_arg4
));
2628 _resultobj
= t_output_helper(_resultobj
, o
);
2632 o
= PyInt_FromLong((long) (*_arg5
));
2633 _resultobj
= t_output_helper(_resultobj
, o
);
2642 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2643 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
* _resultobj
;
2647 PyObject
* _argo0
= 0;
2648 char *_kwnames
[] = { "self", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) return NULL
;
2668 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2670 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2679 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2680 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
* _resultobj
;
2684 PyObject
* _argo0
= 0;
2685 char *_kwnames
[] = { "self", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) return NULL
;
2704 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2705 _resultobj
= Py_BuildValue("s",_ptemp
);
2709 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2710 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2714 PyObject
* _argo0
= 0;
2715 char *_kwnames
[] = { "self", NULL
};
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) return NULL
;
2733 } _resultobj
= Py_BuildValue("l",_result
);
2737 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2738 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2742 PyObject
* _argo0
= 0;
2743 char *_kwnames
[] = { "self","style", NULL
};
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) return NULL
;
2761 } Py_INCREF(Py_None
);
2762 _resultobj
= Py_None
;
2766 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2767 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2771 PyObject
* _argo0
= 0;
2772 char *_kwnames
[] = { "self","style", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2786 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2788 wxPyEndAllowThreads(__tstate
);
2789 if (PyErr_Occurred()) return NULL
;
2790 } Py_INCREF(Py_None
);
2791 _resultobj
= Py_None
;
2795 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2796 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2801 PyObject
* _argo0
= 0;
2802 char *_kwnames
[] = { "self","orient", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) return NULL
;
2820 } _resultobj
= Py_BuildValue("i",_result
);
2824 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2825 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2829 PyObject
* _argo0
= 0;
2830 char *_kwnames
[] = { "self", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 _result
= (bool )wxWindow_Hide(_arg0
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) return NULL
;
2848 } _resultobj
= Py_BuildValue("i",_result
);
2852 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2853 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2858 PyObject
* _argo0
= 0;
2860 PyObject
* _obj1
= 0;
2861 char *_kwnames
[] = { "self","pt", NULL
};
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2875 if (! wxPoint_helper(_obj1
, &_arg1
))
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) return NULL
;
2884 } _resultobj
= Py_BuildValue("i",_result
);
2888 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2889 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2892 PyObject
* _argo0
= 0;
2893 char *_kwnames
[] = { "self", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 wxWindow_InitDialog(_arg0
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) return NULL
;
2911 } Py_INCREF(Py_None
);
2912 _resultobj
= Py_None
;
2916 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2917 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) return NULL
;
2940 } _resultobj
= Py_BuildValue("i",_result
);
2944 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2945 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2951 int _arg3
= (int ) 0;
2952 int _arg4
= (int ) 0;
2953 PyObject
* _argo0
= 0;
2954 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) return NULL
;
2972 } _resultobj
= Py_BuildValue("i",_result
);
2976 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2977 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
* _resultobj
;
2982 PyObject
* _argo0
= 0;
2984 PyObject
* _obj1
= 0;
2985 char *_kwnames
[] = { "self","pt", NULL
};
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2999 if (! wxPoint_helper(_obj1
, &_arg1
))
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) return NULL
;
3008 } _resultobj
= Py_BuildValue("i",_result
);
3012 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3013 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3018 PyObject
* _argo0
= 0;
3020 PyObject
* _obj1
= 0;
3021 char *_kwnames
[] = { "self","rect", NULL
};
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
3027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3035 if (! wxRect_helper(_obj1
, &_arg1
))
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) return NULL
;
3044 } _resultobj
= Py_BuildValue("i",_result
);
3048 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3049 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3053 PyObject
* _argo0
= 0;
3054 char *_kwnames
[] = { "self", NULL
};
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 _result
= (bool )wxWindow_IsRetained(_arg0
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) return NULL
;
3072 } _resultobj
= Py_BuildValue("i",_result
);
3076 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3077 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3081 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 _result
= (bool )wxWindow_IsShown(_arg0
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) return NULL
;
3100 } _resultobj
= Py_BuildValue("i",_result
);
3104 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3105 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
* _resultobj
;
3109 PyObject
* _argo0
= 0;
3110 char *_kwnames
[] = { "self", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) return NULL
;
3128 } _resultobj
= Py_BuildValue("i",_result
);
3132 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3133 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
* _resultobj
;
3136 PyObject
* _argo0
= 0;
3137 char *_kwnames
[] = { "self", NULL
};
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 wxWindow_Layout(_arg0
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) return NULL
;
3155 } Py_INCREF(Py_None
);
3156 _resultobj
= Py_None
;
3160 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3161 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3167 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3168 PyObject
* _argo0
= 0;
3169 PyObject
* _argo1
= 0;
3170 PyObject
* _obj2
= 0;
3171 PyObject
* _argo3
= 0;
3172 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3185 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3192 _arg2
= wxString_in_helper(_obj2
);
3197 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3198 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) return NULL
;
3209 } _resultobj
= Py_BuildValue("i",_result
);
3217 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3218 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3221 PyObject
* _argo0
= 0;
3222 char *_kwnames
[] = { "self", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 wxWindow_Lower(_arg0
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) return NULL
;
3240 } Py_INCREF(Py_None
);
3241 _resultobj
= Py_None
;
3245 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3246 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3249 bool _arg1
= (bool ) TRUE
;
3250 PyObject
* _argo0
= 0;
3251 int tempbool1
= (int) TRUE
;
3252 char *_kwnames
[] = { "self","flag", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3264 _arg1
= (bool ) tempbool1
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 wxWindow_MakeModal(_arg0
,_arg1
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) return NULL
;
3271 } Py_INCREF(Py_None
);
3272 _resultobj
= Py_None
;
3276 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3277 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
* _resultobj
;
3282 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3283 PyObject
* _argo0
= 0;
3284 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) return NULL
;
3302 } Py_INCREF(Py_None
);
3303 _resultobj
= Py_None
;
3307 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3308 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3312 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3313 PyObject
* _argo0
= 0;
3315 PyObject
* _obj1
= 0;
3316 char *_kwnames
[] = { "self","point","flags", NULL
};
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3330 if (! wxPoint_helper(_obj1
, &_arg1
))
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) return NULL
;
3339 } Py_INCREF(Py_None
);
3340 _resultobj
= Py_None
;
3344 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3345 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
* _resultobj
;
3347 wxEvtHandler
* _result
;
3349 bool _arg1
= (bool ) FALSE
;
3350 PyObject
* _argo0
= 0;
3351 int tempbool1
= (int) FALSE
;
3352 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3364 _arg1
= (bool ) tempbool1
;
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) return NULL
;
3371 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3375 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3376 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
* _resultobj
;
3379 wxEvtHandler
* _arg1
;
3380 PyObject
* _argo0
= 0;
3381 PyObject
* _argo1
= 0;
3382 char *_kwnames
[] = { "self","handler", NULL
};
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 wxWindow_PushEventHandler(_arg0
,_arg1
);
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) return NULL
;
3407 } Py_INCREF(Py_None
);
3408 _resultobj
= Py_None
;
3412 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3413 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
* _resultobj
;
3417 wxEvtHandler
* _arg1
;
3418 PyObject
* _argo0
= 0;
3419 PyObject
* _argo1
= 0;
3420 char *_kwnames
[] = { "self","handler", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3433 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3434 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3441 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) return NULL
;
3445 } _resultobj
= Py_BuildValue("i",_result
);
3449 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3450 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3457 PyObject
* _argo0
= 0;
3458 PyObject
* _argo1
= 0;
3459 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3472 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) return NULL
;
3484 } _resultobj
= Py_BuildValue("i",_result
);
3488 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3489 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
* _resultobj
;
3495 PyObject
* _argo0
= 0;
3496 PyObject
* _argo1
= 0;
3498 PyObject
* _obj2
= 0;
3499 char *_kwnames
[] = { "self","menu","pos", NULL
};
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3512 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3520 if (! wxPoint_helper(_obj2
, &_arg2
))
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) return NULL
;
3529 } _resultobj
= Py_BuildValue("i",_result
);
3533 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3534 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
* _resultobj
;
3537 PyObject
* _argo0
= 0;
3538 char *_kwnames
[] = { "self", NULL
};
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 wxWindow_Raise(_arg0
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) return NULL
;
3556 } Py_INCREF(Py_None
);
3557 _resultobj
= Py_None
;
3561 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3562 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3565 bool _arg1
= (bool ) TRUE
;
3566 wxRect
* _arg2
= (wxRect
*) NULL
;
3567 PyObject
* _argo0
= 0;
3568 int tempbool1
= (int) TRUE
;
3570 PyObject
* _obj2
= 0;
3571 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3583 _arg1
= (bool ) tempbool1
;
3587 if (! wxRect_helper(_obj2
, &_arg2
))
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) return NULL
;
3596 } Py_INCREF(Py_None
);
3597 _resultobj
= Py_None
;
3601 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3602 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
* _resultobj
;
3606 PyObject
* _argo0
= 0;
3608 PyObject
* _obj1
= 0;
3609 char *_kwnames
[] = { "self","rect", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3623 if (! wxRect_helper(_obj1
, &_arg1
))
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 wxWindow_RefreshRect(_arg0
,*_arg1
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) return NULL
;
3632 } Py_INCREF(Py_None
);
3633 _resultobj
= Py_None
;
3637 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3638 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3642 PyObject
* _argo0
= 0;
3643 PyObject
* _argo1
= 0;
3644 char *_kwnames
[] = { "self","child", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
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_RemoveChild. Expected _wxWindow_p.");
3657 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 wxWindow_RemoveChild(_arg0
,_arg1
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) return NULL
;
3669 } Py_INCREF(Py_None
);
3670 _resultobj
= Py_None
;
3674 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3675 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
* _resultobj
;
3680 PyObject
* _argo0
= 0;
3681 PyObject
* _argo1
= 0;
3682 char *_kwnames
[] = { "self","newParent", NULL
};
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) return NULL
;
3707 } _resultobj
= Py_BuildValue("i",_result
);
3711 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3712 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
* _resultobj
;
3717 PyObject
* _argo0
= 0;
3719 PyObject
* _obj1
= 0;
3721 PyObject
* _obj2
= 0;
3722 char *_kwnames
[] = { "self","x","y", NULL
};
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3735 temp
= (int) PyInt_AsLong(_obj1
);
3739 temp0
= (int) PyInt_AsLong(_obj2
);
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) return NULL
;
3748 } Py_INCREF(Py_None
);
3749 _resultobj
= Py_None
;
3752 o
= PyInt_FromLong((long) (*_arg1
));
3753 _resultobj
= t_output_helper(_resultobj
, o
);
3757 o
= PyInt_FromLong((long) (*_arg2
));
3758 _resultobj
= t_output_helper(_resultobj
, o
);
3763 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3764 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3769 PyObject
* _argo0
= 0;
3771 PyObject
* _obj1
= 0;
3772 char *_kwnames
[] = { "self","pt", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3787 if (! wxPoint_helper(_obj1
, &_arg1
))
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) return NULL
;
3796 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3797 _resultobj
= Py_BuildValue("s",_ptemp
);
3801 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3802 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
* _resultobj
;
3807 wxRect
* _arg3
= (wxRect
*) NULL
;
3808 PyObject
* _argo0
= 0;
3810 PyObject
* _obj3
= 0;
3811 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3826 if (! wxRect_helper(_obj3
, &_arg3
))
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) return NULL
;
3835 } Py_INCREF(Py_None
);
3836 _resultobj
= Py_None
;
3840 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3841 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
* _resultobj
;
3845 PyObject
* _argo0
= 0;
3847 char *_kwnames
[] = { "self","autoLayout", NULL
};
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3859 _arg1
= (bool ) tempbool1
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) return NULL
;
3866 } Py_INCREF(Py_None
);
3867 _resultobj
= Py_None
;
3871 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3872 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3876 PyObject
* _argo0
= 0;
3877 char *_kwnames
[] = { "self", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
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_GetAutoLayout. Expected _wxWindow_p.");
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) return NULL
;
3895 } _resultobj
= Py_BuildValue("i",_result
);
3899 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3900 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3904 PyObject
* _argo0
= 0;
3906 PyObject
* _obj1
= 0;
3907 char *_kwnames
[] = { "self","colour", NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
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_SetBackgroundColour. Expected _wxWindow_p.");
3921 if (! wxColour_helper(_obj1
, &_arg1
))
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) return NULL
;
3930 } Py_INCREF(Py_None
);
3931 _resultobj
= Py_None
;
3935 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3936 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
* _resultobj
;
3939 wxLayoutConstraints
* _arg1
;
3940 PyObject
* _argo0
= 0;
3941 PyObject
* _argo1
= 0;
3942 char *_kwnames
[] = { "self","constraints", NULL
};
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 wxWindow_SetConstraints(_arg0
,_arg1
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) return NULL
;
3967 } Py_INCREF(Py_None
);
3968 _resultobj
= Py_None
;
3972 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3973 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
* _resultobj
;
3976 wxLayoutConstraints
* _arg1
;
3977 PyObject
* _argo0
= 0;
3978 PyObject
* _argo1
= 0;
3979 char *_kwnames
[] = { "self","constraints", NULL
};
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3992 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) return NULL
;
4004 } Py_INCREF(Py_None
);
4005 _resultobj
= Py_None
;
4009 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4010 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
* _resultobj
;
4013 PyObject
* _argo0
= 0;
4014 char *_kwnames
[] = { "self", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 wxWindow_SetFocus(_arg0
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) return NULL
;
4032 } Py_INCREF(Py_None
);
4033 _resultobj
= Py_None
;
4037 #define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
4038 static PyObject
*_wrap_wxWindow_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4041 PyObject
* _argo0
= 0;
4042 char *_kwnames
[] = { "self", NULL
};
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocusFromKbd",_kwnames
,&_argo0
))
4048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 wxWindow_SetFocusFromKbd(_arg0
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) return NULL
;
4060 } Py_INCREF(Py_None
);
4061 _resultobj
= Py_None
;
4065 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4066 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4070 PyObject
* _argo0
= 0;
4071 char *_kwnames
[] = { "self", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) return NULL
;
4089 } _resultobj
= Py_BuildValue("i",_result
);
4093 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4094 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
* _resultobj
;
4098 PyObject
* _argo0
= 0;
4099 PyObject
* _argo1
= 0;
4100 char *_kwnames
[] = { "self","font", NULL
};
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4113 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 wxWindow_SetFont(_arg0
,*_arg1
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) return NULL
;
4125 } Py_INCREF(Py_None
);
4126 _resultobj
= Py_None
;
4130 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4131 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
* _resultobj
;
4135 PyObject
* _argo0
= 0;
4137 PyObject
* _obj1
= 0;
4138 char *_kwnames
[] = { "self","colour", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4152 if (! wxColour_helper(_obj1
, &_arg1
))
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) return NULL
;
4161 } Py_INCREF(Py_None
);
4162 _resultobj
= Py_None
;
4166 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4167 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4171 PyObject
* _argo0
= 0;
4172 char *_kwnames
[] = { "self","id", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 wxWindow_SetId(_arg0
,_arg1
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) return NULL
;
4190 } Py_INCREF(Py_None
);
4191 _resultobj
= Py_None
;
4195 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4196 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
* _resultobj
;
4200 PyObject
* _argo0
= 0;
4201 PyObject
* _obj1
= 0;
4202 char *_kwnames
[] = { "self","name", NULL
};
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4215 _arg1
= wxString_in_helper(_obj1
);
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 wxWindow_SetName(_arg0
,*_arg1
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) return NULL
;
4225 } Py_INCREF(Py_None
);
4226 _resultobj
= Py_None
;
4234 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4235 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4242 int _arg5
= (int ) TRUE
;
4243 PyObject
* _argo0
= 0;
4244 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) return NULL
;
4262 } Py_INCREF(Py_None
);
4263 _resultobj
= Py_None
;
4267 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4268 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4273 bool _arg3
= (bool ) TRUE
;
4274 PyObject
* _argo0
= 0;
4275 int tempbool3
= (int) TRUE
;
4276 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4288 _arg3
= (bool ) tempbool3
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) return NULL
;
4295 } Py_INCREF(Py_None
);
4296 _resultobj
= Py_None
;
4300 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4301 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
* _resultobj
;
4308 int _arg5
= (int ) wxSIZE_AUTO
;
4309 PyObject
* _argo0
= 0;
4310 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) return NULL
;
4328 } Py_INCREF(Py_None
);
4329 _resultobj
= Py_None
;
4333 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4334 self
->SetSize(size
);
4336 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
* _resultobj
;
4340 PyObject
* _argo0
= 0;
4342 PyObject
* _obj1
= 0;
4343 char *_kwnames
[] = { "self","size", NULL
};
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4357 if (! wxSize_helper(_obj1
, &_arg1
))
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 wxWindow_SetSize(_arg0
,*_arg1
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) return NULL
;
4366 } Py_INCREF(Py_None
);
4367 _resultobj
= Py_None
;
4371 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4372 self
->Move(pos
, flags
);
4374 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
* _resultobj
;
4378 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4379 PyObject
* _argo0
= 0;
4381 PyObject
* _obj1
= 0;
4382 char *_kwnames
[] = { "self","pos","flags", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4396 if (! wxPoint_helper(_obj1
, &_arg1
))
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) return NULL
;
4405 } Py_INCREF(Py_None
);
4406 _resultobj
= Py_None
;
4410 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4411 self
->SetSize(rect
, sizeFlags
);
4413 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
* _resultobj
;
4417 int _arg2
= (int ) wxSIZE_AUTO
;
4418 PyObject
* _argo0
= 0;
4420 PyObject
* _obj1
= 0;
4421 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4435 if (! wxRect_helper(_obj1
, &_arg1
))
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) return NULL
;
4444 } Py_INCREF(Py_None
);
4445 _resultobj
= Py_None
;
4449 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4450 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
* _resultobj
;
4455 int _arg3
= (int ) -1;
4456 int _arg4
= (int ) -1;
4457 int _arg5
= (int ) -1;
4458 int _arg6
= (int ) -1;
4459 PyObject
* _argo0
= 0;
4460 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) return NULL
;
4478 } Py_INCREF(Py_None
);
4479 _resultobj
= Py_None
;
4483 #define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4484 static PyObject
*_wrap_wxWindow_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
* _resultobj
;
4489 int _arg3
= (int ) -1;
4490 int _arg4
= (int ) -1;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self","minW","minH","maxW","maxH", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
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_SetVirtualSizeHints. Expected _wxWindow_p.");
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxWindow_SetVirtualSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) return NULL
;
4510 } Py_INCREF(Py_None
);
4511 _resultobj
= Py_None
;
4515 #define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4516 static PyObject
*_wrap_wxWindow_SetVirtualSize(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_SetVirtualSize",_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_SetVirtualSize. Expected _wxWindow_p.");
4537 if (! wxSize_helper(_obj1
, &_arg1
))
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 wxWindow_SetVirtualSize(_arg0
,*_arg1
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) return NULL
;
4546 } Py_INCREF(Py_None
);
4547 _resultobj
= Py_None
;
4551 #define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4552 static PyObject
*_wrap_wxWindow_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
* _resultobj
;
4557 PyObject
* _argo0
= 0;
4558 char *_kwnames
[] = { "self","x","y", NULL
};
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetVirtualSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetVirtualSizeWH. Expected _wxWindow_p.");
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 wxWindow_SetVirtualSizeWH(_arg0
,_arg1
,_arg2
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) return NULL
;
4576 } Py_INCREF(Py_None
);
4577 _resultobj
= Py_None
;
4581 #define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4582 static PyObject
*_wrap_wxWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
* _resultobj
;
4586 PyObject
* _argo0
= 0;
4587 char *_kwnames
[] = { "self", NULL
};
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSize",_kwnames
,&_argo0
))
4594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 _result
= new wxSize (wxWindow_GetVirtualSize(_arg0
));
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) return NULL
;
4606 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4607 _resultobj
= Py_BuildValue("s",_ptemp
);
4611 #define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4612 static PyObject
*_wrap_wxWindow_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
* _resultobj
;
4619 PyObject
* _argo0
= 0;
4620 char *_kwnames
[] = { "self", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSizeTuple",_kwnames
,&_argo0
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 wxWindow_GetVirtualSizeTuple(_arg0
,_arg1
,_arg2
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) return NULL
;
4644 } Py_INCREF(Py_None
);
4645 _resultobj
= Py_None
;
4648 o
= PyInt_FromLong((long) (*_arg1
));
4649 _resultobj
= t_output_helper(_resultobj
, o
);
4653 o
= PyInt_FromLong((long) (*_arg2
));
4654 _resultobj
= t_output_helper(_resultobj
, o
);
4659 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4660 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4665 PyObject
* _argo0
= 0;
4666 char *_kwnames
[] = { "self","width","height", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) return NULL
;
4684 } Py_INCREF(Py_None
);
4685 _resultobj
= Py_None
;
4689 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4690 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4694 PyObject
* _argo0
= 0;
4696 PyObject
* _obj1
= 0;
4697 char *_kwnames
[] = { "self","size", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4711 if (! wxSize_helper(_obj1
, &_arg1
))
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 wxWindow_SetClientSize(_arg0
,*_arg1
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) return NULL
;
4720 } Py_INCREF(Py_None
);
4721 _resultobj
= Py_None
;
4725 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4726 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
* _resultobj
;
4730 PyObject
* _argo0
= 0;
4731 PyObject
* _argo1
= 0;
4732 char *_kwnames
[] = { "self","cursor", NULL
};
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 wxWindow_SetCursor(_arg0
,*_arg1
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) return NULL
;
4757 } Py_INCREF(Py_None
);
4758 _resultobj
= Py_None
;
4762 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4763 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
* _resultobj
;
4766 wxEvtHandler
* _arg1
;
4767 PyObject
* _argo0
= 0;
4768 PyObject
* _argo1
= 0;
4769 char *_kwnames
[] = { "self","handler", NULL
};
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4782 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 wxWindow_SetEventHandler(_arg0
,_arg1
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) return NULL
;
4794 } Py_INCREF(Py_None
);
4795 _resultobj
= Py_None
;
4799 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4800 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4804 PyObject
* _argo0
= 0;
4805 char *_kwnames
[] = { "self","exStyle", NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) return NULL
;
4823 } Py_INCREF(Py_None
);
4824 _resultobj
= Py_None
;
4828 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4829 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
* _resultobj
;
4833 PyObject
* _argo0
= 0;
4834 PyObject
* _obj1
= 0;
4835 char *_kwnames
[] = { "self","title", NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4848 _arg1
= wxString_in_helper(_obj1
);
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 wxWindow_SetTitle(_arg0
,*_arg1
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) return NULL
;
4858 } Py_INCREF(Py_None
);
4859 _resultobj
= Py_None
;
4867 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4868 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
* _resultobj
;
4872 bool _arg1
= (bool ) TRUE
;
4873 PyObject
* _argo0
= 0;
4874 int tempbool1
= (int) TRUE
;
4875 char *_kwnames
[] = { "self","show", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4887 _arg1
= (bool ) tempbool1
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) return NULL
;
4894 } _resultobj
= Py_BuildValue("i",_result
);
4898 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4899 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
* _resultobj
;
4903 PyObject
* _argo0
= 0;
4904 char *_kwnames
[] = { "self", NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) return NULL
;
4922 } _resultobj
= Py_BuildValue("i",_result
);
4926 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4927 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4931 PyObject
* _argo0
= 0;
4932 char *_kwnames
[] = { "self", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) return NULL
;
4950 } _resultobj
= Py_BuildValue("i",_result
);
4954 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4955 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
* _resultobj
;
4958 PyObject
* _argo0
= 0;
4959 char *_kwnames
[] = { "self", NULL
};
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
4965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 wxWindow_UpdateWindowUI(_arg0
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) return NULL
;
4977 } Py_INCREF(Py_None
);
4978 _resultobj
= Py_None
;
4982 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4983 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
* _resultobj
;
4987 PyObject
* _argo0
= 0;
4988 char *_kwnames
[] = { "self", NULL
};
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 _result
= (bool )wxWindow_Validate(_arg0
);
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) return NULL
;
5006 } _resultobj
= Py_BuildValue("i",_result
);
5010 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5011 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
* _resultobj
;
5016 PyObject
* _argo0
= 0;
5018 PyObject
* _obj1
= 0;
5019 char *_kwnames
[] = { "self","pt", NULL
};
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
5026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
5034 if (! wxPoint_helper(_obj1
, &_arg1
))
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) return NULL
;
5043 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5044 _resultobj
= Py_BuildValue("s",_ptemp
);
5048 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5049 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
* _resultobj
;
5054 PyObject
* _argo0
= 0;
5056 PyObject
* _obj1
= 0;
5057 char *_kwnames
[] = { "self","sz", NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
5064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5072 if (! wxSize_helper(_obj1
, &_arg1
))
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) return NULL
;
5081 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5082 _resultobj
= Py_BuildValue("s",_ptemp
);
5086 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5087 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5092 PyObject
* _argo0
= 0;
5094 PyObject
* _obj1
= 0;
5095 char *_kwnames
[] = { "self","pt", NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
5102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5110 if (! wxPoint_helper(_obj1
, &_arg1
))
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) return NULL
;
5119 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5120 _resultobj
= Py_BuildValue("s",_ptemp
);
5124 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5125 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5130 PyObject
* _argo0
= 0;
5132 PyObject
* _obj1
= 0;
5133 char *_kwnames
[] = { "self","sz", NULL
};
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
5140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5148 if (! wxSize_helper(_obj1
, &_arg1
))
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) return NULL
;
5157 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5158 _resultobj
= Py_BuildValue("s",_ptemp
);
5162 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5163 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
* _resultobj
;
5167 PyObject
* _argo0
= 0;
5168 PyObject
* _obj1
= 0;
5169 char *_kwnames
[] = { "self","tip", NULL
};
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5182 _arg1
= wxString_in_helper(_obj1
);
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) return NULL
;
5192 } Py_INCREF(Py_None
);
5193 _resultobj
= Py_None
;
5201 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5202 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
* _resultobj
;
5206 PyObject
* _argo0
= 0;
5207 PyObject
* _argo1
= 0;
5208 char *_kwnames
[] = { "self","tooltip", NULL
};
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5221 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 wxWindow_SetToolTip(_arg0
,_arg1
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) return NULL
;
5233 } Py_INCREF(Py_None
);
5234 _resultobj
= Py_None
;
5238 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5239 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
* _resultobj
;
5241 wxToolTip
* _result
;
5243 PyObject
* _argo0
= 0;
5244 char *_kwnames
[] = { "self", NULL
};
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) return NULL
;
5262 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5266 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5267 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5271 bool _arg2
= (bool ) TRUE
;
5272 PyObject
* _argo0
= 0;
5273 PyObject
* _argo1
= 0;
5274 int tempbool2
= (int) TRUE
;
5275 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5288 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5289 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5294 _arg2
= (bool ) tempbool2
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) return NULL
;
5301 } Py_INCREF(Py_None
);
5302 _resultobj
= Py_None
;
5306 #define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5307 static PyObject
*_wrap_wxWindow_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
* _resultobj
;
5311 bool _arg2
= (bool ) TRUE
;
5312 PyObject
* _argo0
= 0;
5313 PyObject
* _argo1
= 0;
5314 int tempbool2
= (int) TRUE
;
5315 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizerAndFit",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5334 _arg2
= (bool ) tempbool2
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 wxWindow_SetSizerAndFit(_arg0
,_arg1
,_arg2
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) return NULL
;
5341 } Py_INCREF(Py_None
);
5342 _resultobj
= Py_None
;
5346 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5347 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
* _resultobj
;
5351 PyObject
* _argo0
= 0;
5352 char *_kwnames
[] = { "self", NULL
};
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) return NULL
;
5370 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5374 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5375 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
* _resultobj
;
5379 PyObject
* _argo0
= 0;
5380 PyObject
* _argo1
= 0;
5381 char *_kwnames
[] = { "self","sizer", NULL
};
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5394 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) return NULL
;
5406 } Py_INCREF(Py_None
);
5407 _resultobj
= Py_None
;
5411 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5412 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
* _resultobj
;
5416 PyObject
* _argo0
= 0;
5417 char *_kwnames
[] = { "self", NULL
};
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) return NULL
;
5435 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5439 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5440 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
* _resultobj
;
5442 wxValidator
* _result
;
5444 PyObject
* _argo0
= 0;
5445 char *_kwnames
[] = { "self", NULL
};
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) return NULL
;
5463 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5467 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5468 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
* _resultobj
;
5471 wxValidator
* _arg1
;
5472 PyObject
* _argo0
= 0;
5473 PyObject
* _argo1
= 0;
5474 char *_kwnames
[] = { "self","validator", NULL
};
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5487 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5488 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 wxWindow_SetValidator(_arg0
,*_arg1
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) return NULL
;
5499 } Py_INCREF(Py_None
);
5500 _resultobj
= Py_None
;
5504 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5505 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
* _resultobj
;
5508 wxDropTarget
* _arg1
;
5509 PyObject
* _argo0
= 0;
5510 PyObject
* _argo1
= 0;
5511 char *_kwnames
[] = { "self","target", NULL
};
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 wxWindow_SetDropTarget(_arg0
,_arg1
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) return NULL
;
5536 } Py_INCREF(Py_None
);
5537 _resultobj
= Py_None
;
5541 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5542 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
* _resultobj
;
5544 wxDropTarget
* _result
;
5546 PyObject
* _argo0
= 0;
5547 char *_kwnames
[] = { "self", NULL
};
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) return NULL
;
5567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5568 _resultobj
= Py_BuildValue("s",_ptemp
);
5571 _resultobj
= Py_None
;
5576 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5577 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
* _resultobj
;
5581 PyObject
* _argo0
= 0;
5582 char *_kwnames
[] = { "self", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) return NULL
;
5601 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5602 _resultobj
= Py_BuildValue("s",_ptemp
);
5606 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5607 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
* _resultobj
;
5611 PyObject
* _argo0
= 0;
5612 char *_kwnames
[] = { "self", NULL
};
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) return NULL
;
5631 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5632 _resultobj
= Py_BuildValue("s",_ptemp
);
5636 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5637 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
* _resultobj
;
5641 PyObject
* _argo0
= 0;
5642 PyObject
* _argo1
= 0;
5643 char *_kwnames
[] = { "self","caret", NULL
};
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 wxWindow_SetCaret(_arg0
,_arg1
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) return NULL
;
5668 } Py_INCREF(Py_None
);
5669 _resultobj
= Py_None
;
5673 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5674 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
* _resultobj
;
5678 PyObject
* _argo0
= 0;
5679 char *_kwnames
[] = { "self", NULL
};
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) return NULL
;
5699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5700 _resultobj
= Py_BuildValue("s",_ptemp
);
5703 _resultobj
= Py_None
;
5708 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5709 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
* _resultobj
;
5712 PyObject
* _argo0
= 0;
5713 char *_kwnames
[] = { "self", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 wxWindow_Freeze(_arg0
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) return NULL
;
5731 } Py_INCREF(Py_None
);
5732 _resultobj
= Py_None
;
5736 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5737 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5740 PyObject
* _argo0
= 0;
5741 char *_kwnames
[] = { "self", NULL
};
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 wxWindow_Thaw(_arg0
);
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) return NULL
;
5759 } Py_INCREF(Py_None
);
5760 _resultobj
= Py_None
;
5764 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5765 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
* _resultobj
;
5768 PyObject
* _argo0
= 0;
5769 char *_kwnames
[] = { "self", NULL
};
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 wxWindow_Update(_arg0
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) return NULL
;
5787 } Py_INCREF(Py_None
);
5788 _resultobj
= Py_None
;
5792 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5793 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
* _resultobj
;
5797 PyObject
* _argo0
= 0;
5798 char *_kwnames
[] = { "self", NULL
};
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) return NULL
;
5818 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5820 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5829 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5830 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5834 PyObject
* _argo0
= 0;
5835 PyObject
* _obj1
= 0;
5836 char *_kwnames
[] = { "self","helpText", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5849 _arg1
= wxString_in_helper(_obj1
);
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 wxWindow_SetHelpText(_arg0
,*_arg1
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) return NULL
;
5859 } Py_INCREF(Py_None
);
5860 _resultobj
= Py_None
;
5868 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5869 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5873 PyObject
* _argo0
= 0;
5874 PyObject
* _obj1
= 0;
5875 char *_kwnames
[] = { "self","text", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
5881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5888 _arg1
= wxString_in_helper(_obj1
);
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) return NULL
;
5898 } Py_INCREF(Py_None
);
5899 _resultobj
= Py_None
;
5907 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5908 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
* _resultobj
;
5913 PyObject
* _argo0
= 0;
5914 char *_kwnames
[] = { "self","lines", NULL
};
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) return NULL
;
5932 } _resultobj
= Py_BuildValue("i",_result
);
5936 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5937 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
* _resultobj
;
5942 PyObject
* _argo0
= 0;
5943 char *_kwnames
[] = { "self","pages", NULL
};
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
5949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) return NULL
;
5961 } _resultobj
= Py_BuildValue("i",_result
);
5965 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5966 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
* _resultobj
;
5970 PyObject
* _argo0
= 0;
5971 char *_kwnames
[] = { "self", NULL
};
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 _result
= (bool )wxWindow_LineUp(_arg0
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) return NULL
;
5989 } _resultobj
= Py_BuildValue("i",_result
);
5993 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5994 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
* _resultobj
;
5998 PyObject
* _argo0
= 0;
5999 char *_kwnames
[] = { "self", NULL
};
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
6005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 _result
= (bool )wxWindow_LineDown(_arg0
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) return NULL
;
6017 } _resultobj
= Py_BuildValue("i",_result
);
6021 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
6022 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
* _resultobj
;
6026 PyObject
* _argo0
= 0;
6027 char *_kwnames
[] = { "self", NULL
};
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
6033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 _result
= (bool )wxWindow_PageUp(_arg0
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) return NULL
;
6045 } _resultobj
= Py_BuildValue("i",_result
);
6049 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
6050 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
* _resultobj
;
6054 PyObject
* _argo0
= 0;
6055 char *_kwnames
[] = { "self", NULL
};
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
6061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 _result
= (bool )wxWindow_PageDown(_arg0
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) return NULL
;
6073 } _resultobj
= Py_BuildValue("i",_result
);
6077 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
* _resultobj
;
6080 char *_kwnames
[] = { NULL
};
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 _result
= (wxWindow
*)wxWindow::FindFocus();
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) return NULL
;
6091 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6095 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
* _resultobj
;
6098 char *_kwnames
[] = { NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 _result
= (int )wxWindow::NewControlId();
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) return NULL
;
6109 } _resultobj
= Py_BuildValue("i",_result
);
6113 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
* _resultobj
;
6117 char *_kwnames
[] = { "id", NULL
};
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 _result
= (int )wxWindow::NextControlId(_arg0
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) return NULL
;
6128 } _resultobj
= Py_BuildValue("i",_result
);
6132 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
* _resultobj
;
6136 char *_kwnames
[] = { "id", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 _result
= (int )wxWindow::PrevControlId(_arg0
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) return NULL
;
6147 } _resultobj
= Py_BuildValue("i",_result
);
6151 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6152 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
* _resultobj
;
6155 wxAcceleratorTable
* _arg1
;
6156 PyObject
* _argo0
= 0;
6157 PyObject
* _argo1
= 0;
6158 char *_kwnames
[] = { "self","accel", NULL
};
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
6164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6171 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6172 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
6173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) return NULL
;
6183 } Py_INCREF(Py_None
);
6184 _resultobj
= Py_None
;
6188 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6189 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
* _resultobj
;
6191 wxAcceleratorTable
* _result
;
6193 PyObject
* _argo0
= 0;
6194 char *_kwnames
[] = { "self", NULL
};
6198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
6201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) return NULL
;
6214 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6215 _resultobj
= Py_BuildValue("s",_ptemp
);
6218 _resultobj
= Py_None
;
6223 #define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6224 static PyObject
*_wrap_wxWindow_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
* _resultobj
;
6227 wxPaintEvent
* _arg1
;
6228 PyObject
* _argo0
= 0;
6229 PyObject
* _argo1
= 0;
6230 char *_kwnames
[] = { "self","event", NULL
};
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_OnPaint",_kwnames
,&_argo0
,&_argo1
))
6236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
6243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaintEvent_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 wxWindow_OnPaint(_arg0
,*_arg1
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) return NULL
;
6255 } Py_INCREF(Py_None
);
6256 _resultobj
= Py_None
;
6260 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6261 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
* _resultobj
;
6265 PyObject
* _argo0
= 0;
6266 char *_kwnames
[] = { "self", NULL
};
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) return NULL
;
6284 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6288 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6289 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
* _resultobj
;
6294 PyObject
* _argo0
= 0;
6295 PyObject
* _argo1
= 0;
6296 char *_kwnames
[] = { "self","btn", NULL
};
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) return NULL
;
6321 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6325 #define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6326 static PyObject
*_wrap_wxWindow_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
* _resultobj
;
6330 PyObject
* _argo0
= 0;
6331 PyObject
* _argo1
= 0;
6332 char *_kwnames
[] = { "self","win", NULL
};
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTmpDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 wxWindow_SetTmpDefaultItem(_arg0
,_arg1
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) return NULL
;
6357 } Py_INCREF(Py_None
);
6358 _resultobj
= Py_None
;
6362 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6363 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
* _resultobj
;
6368 PyObject
* _argo0
= 0;
6369 char *_kwnames
[] = { "self","x","y", NULL
};
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) return NULL
;
6387 } Py_INCREF(Py_None
);
6388 _resultobj
= Py_None
;
6392 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6393 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
* _resultobj
;
6396 PyObject
* _argo0
= 0;
6397 char *_kwnames
[] = { "self", NULL
};
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
6403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 wxWindow_CaptureMouse(_arg0
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) return NULL
;
6415 } Py_INCREF(Py_None
);
6416 _resultobj
= Py_None
;
6420 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6421 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
* _resultobj
;
6424 PyObject
* _argo0
= 0;
6425 char *_kwnames
[] = { "self", NULL
};
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
6431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 wxWindow_ReleaseMouse(_arg0
);
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) return NULL
;
6443 } Py_INCREF(Py_None
);
6444 _resultobj
= Py_None
;
6448 static PyObject
*_wrap_wxWindow_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
* _resultobj
;
6451 char *_kwnames
[] = { NULL
};
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_GetCapture",_kwnames
))
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 _result
= (wxWindow
*)wxWindow::GetCapture();
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) return NULL
;
6462 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6466 #define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6467 static PyObject
*_wrap_wxWindow_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
* _resultobj
;
6471 PyObject
* _argo0
= 0;
6472 char *_kwnames
[] = { "self", NULL
};
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_HasCapture",_kwnames
,&_argo0
))
6478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 _result
= (bool )wxWindow_HasCapture(_arg0
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) return NULL
;
6490 } _resultobj
= Py_BuildValue("i",_result
);
6494 static void *SwigwxPanelTowxWindow(void *ptr
) {
6497 src
= (wxPanel
*) ptr
;
6498 dest
= (wxWindow
*) src
;
6499 return (void *) dest
;
6502 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6505 src
= (wxPanel
*) ptr
;
6506 dest
= (wxEvtHandler
*) src
;
6507 return (void *) dest
;
6510 static void *SwigwxPanelTowxObject(void *ptr
) {
6513 src
= (wxPanel
*) ptr
;
6514 dest
= (wxObject
*) src
;
6515 return (void *) dest
;
6518 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6519 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
* _resultobj
;
6524 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6525 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6526 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6527 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6528 PyObject
* _argo0
= 0;
6530 PyObject
* _obj2
= 0;
6532 PyObject
* _obj3
= 0;
6533 PyObject
* _obj5
= 0;
6534 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6550 if (! wxPoint_helper(_obj2
, &_arg2
))
6556 if (! wxSize_helper(_obj3
, &_arg3
))
6561 _arg5
= wxString_in_helper(_obj5
);
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) return NULL
;
6572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6573 _resultobj
= Py_BuildValue("s",_ptemp
);
6576 _resultobj
= Py_None
;
6585 #define new_wxPrePanel() (new wxPanel())
6586 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
* _resultobj
;
6589 char *_kwnames
[] = { NULL
};
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 _result
= (wxPanel
*)new_wxPrePanel();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) return NULL
;
6602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6603 _resultobj
= Py_BuildValue("s",_ptemp
);
6606 _resultobj
= Py_None
;
6611 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6612 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
* _resultobj
;
6618 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6619 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6620 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6621 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6622 PyObject
* _argo0
= 0;
6623 PyObject
* _argo1
= 0;
6625 PyObject
* _obj3
= 0;
6627 PyObject
* _obj4
= 0;
6628 PyObject
* _obj6
= 0;
6629 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6651 if (! wxPoint_helper(_obj3
, &_arg3
))
6657 if (! wxSize_helper(_obj4
, &_arg4
))
6662 _arg6
= wxString_in_helper(_obj6
);
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) return NULL
;
6672 } _resultobj
= Py_BuildValue("i",_result
);
6680 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6681 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
* _resultobj
;
6684 PyObject
* _argo0
= 0;
6685 char *_kwnames
[] = { "self", NULL
};
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 wxPanel_InitDialog(_arg0
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) return NULL
;
6703 } Py_INCREF(Py_None
);
6704 _resultobj
= Py_None
;
6708 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6709 wxScrolledWindow
*src
;
6711 src
= (wxScrolledWindow
*) ptr
;
6712 dest
= (wxPanel
*) src
;
6713 return (void *) dest
;
6716 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6717 wxScrolledWindow
*src
;
6719 src
= (wxScrolledWindow
*) ptr
;
6720 dest
= (wxWindow
*) src
;
6721 return (void *) dest
;
6724 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6725 wxScrolledWindow
*src
;
6727 src
= (wxScrolledWindow
*) ptr
;
6728 dest
= (wxEvtHandler
*) src
;
6729 return (void *) dest
;
6732 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6733 wxScrolledWindow
*src
;
6735 src
= (wxScrolledWindow
*) ptr
;
6736 dest
= (wxObject
*) src
;
6737 return (void *) dest
;
6740 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6741 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
* _resultobj
;
6743 wxScrolledWindow
* _result
;
6745 wxWindowID _arg1
= (wxWindowID
) -1;
6746 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6747 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6748 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6749 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6750 PyObject
* _argo0
= 0;
6752 PyObject
* _obj2
= 0;
6754 PyObject
* _obj3
= 0;
6755 PyObject
* _obj5
= 0;
6756 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6772 if (! wxPoint_helper(_obj2
, &_arg2
))
6778 if (! wxSize_helper(_obj3
, &_arg3
))
6783 _arg5
= wxString_in_helper(_obj5
);
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) return NULL
;
6794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6795 _resultobj
= Py_BuildValue("s",_ptemp
);
6798 _resultobj
= Py_None
;
6807 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6808 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
* _resultobj
;
6810 wxScrolledWindow
* _result
;
6811 char *_kwnames
[] = { NULL
};
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) return NULL
;
6824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6825 _resultobj
= Py_BuildValue("s",_ptemp
);
6828 _resultobj
= Py_None
;
6833 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6834 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
* _resultobj
;
6837 wxScrolledWindow
* _arg0
;
6839 wxWindowID _arg2
= (wxWindowID
) -1;
6840 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6841 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6842 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6843 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6844 PyObject
* _argo0
= 0;
6845 PyObject
* _argo1
= 0;
6847 PyObject
* _obj3
= 0;
6849 PyObject
* _obj4
= 0;
6850 PyObject
* _obj6
= 0;
6851 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6864 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6865 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6873 if (! wxPoint_helper(_obj3
, &_arg3
))
6879 if (! wxSize_helper(_obj4
, &_arg4
))
6884 _arg6
= wxString_in_helper(_obj6
);
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) return NULL
;
6894 } _resultobj
= Py_BuildValue("i",_result
);
6902 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6903 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
* _resultobj
;
6905 wxScrolledWindow
* _arg0
;
6908 PyObject
* _argo0
= 0;
6911 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6923 _arg1
= (bool ) tempbool1
;
6924 _arg2
= (bool ) tempbool2
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) return NULL
;
6931 } Py_INCREF(Py_None
);
6932 _resultobj
= Py_None
;
6936 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6937 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
* _resultobj
;
6940 wxScrolledWindow
* _arg0
;
6942 PyObject
* _argo0
= 0;
6943 char *_kwnames
[] = { "self","orient", NULL
};
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) return NULL
;
6961 } _resultobj
= Py_BuildValue("i",_result
);
6965 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6966 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
* _resultobj
;
6968 wxScrolledWindow
* _arg0
;
6973 PyObject
* _argo0
= 0;
6974 char *_kwnames
[] = { "self", NULL
};
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) return NULL
;
6998 } Py_INCREF(Py_None
);
6999 _resultobj
= Py_None
;
7002 o
= PyInt_FromLong((long) (*_arg1
));
7003 _resultobj
= t_output_helper(_resultobj
, o
);
7007 o
= PyInt_FromLong((long) (*_arg2
));
7008 _resultobj
= t_output_helper(_resultobj
, o
);
7013 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
7014 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
* _resultobj
;
7017 wxScrolledWindow
* _arg0
;
7018 PyObject
* _argo0
= 0;
7019 char *_kwnames
[] = { "self", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
7025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) return NULL
;
7037 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7041 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
7042 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
* _resultobj
;
7045 wxScrolledWindow
* _arg0
;
7046 PyObject
* _argo0
= 0;
7047 char *_kwnames
[] = { "self", NULL
};
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
7053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) return NULL
;
7065 } _resultobj
= Py_BuildValue("i",_result
);
7069 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
7070 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7072 wxScrolledWindow
* _arg0
;
7074 PyObject
* _argo0
= 0;
7075 PyObject
* _argo1
= 0;
7076 char *_kwnames
[] = { "self","dc", NULL
};
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
7082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7089 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7090 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) return NULL
;
7101 } Py_INCREF(Py_None
);
7102 _resultobj
= Py_None
;
7106 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
7107 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
* _resultobj
;
7109 wxScrolledWindow
* _arg0
;
7112 PyObject
* _argo0
= 0;
7113 char *_kwnames
[] = { "self","x","y", NULL
};
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) return NULL
;
7131 } Py_INCREF(Py_None
);
7132 _resultobj
= Py_None
;
7136 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7137 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
* _resultobj
;
7139 wxScrolledWindow
* _arg0
;
7144 int _arg5
= (int ) 0;
7145 int _arg6
= (int ) 0;
7146 int _arg7
= (int ) FALSE
;
7147 PyObject
* _argo0
= 0;
7148 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
7154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) return NULL
;
7166 } Py_INCREF(Py_None
);
7167 _resultobj
= Py_None
;
7171 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7172 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
* _resultobj
;
7174 wxScrolledWindow
* _arg0
;
7177 PyObject
* _argo0
= 0;
7178 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) return NULL
;
7196 } Py_INCREF(Py_None
);
7197 _resultobj
= Py_None
;
7201 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7202 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
* _resultobj
;
7204 wxScrolledWindow
* _arg0
;
7206 PyObject
* _argo0
= 0;
7207 PyObject
* _argo1
= 0;
7208 char *_kwnames
[] = { "self","window", NULL
};
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
7214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7221 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7222 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) return NULL
;
7233 } Py_INCREF(Py_None
);
7234 _resultobj
= Py_None
;
7238 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7239 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
* _resultobj
;
7241 wxScrolledWindow
* _arg0
;
7246 PyObject
* _argo0
= 0;
7247 char *_kwnames
[] = { "self", NULL
};
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
7259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) return NULL
;
7271 } Py_INCREF(Py_None
);
7272 _resultobj
= Py_None
;
7275 o
= PyInt_FromLong((long) (*_arg1
));
7276 _resultobj
= t_output_helper(_resultobj
, o
);
7280 o
= PyInt_FromLong((long) (*_arg2
));
7281 _resultobj
= t_output_helper(_resultobj
, o
);
7286 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7287 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
* _resultobj
;
7290 wxScrolledWindow
* _arg0
;
7292 PyObject
* _argo0
= 0;
7294 PyObject
* _obj1
= 0;
7295 char *_kwnames
[] = { "self","pt", NULL
};
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7310 if (! wxPoint_helper(_obj1
, &_arg1
))
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) return NULL
;
7319 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7320 _resultobj
= Py_BuildValue("s",_ptemp
);
7324 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7325 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
* _resultobj
;
7327 wxScrolledWindow
* _arg0
;
7334 PyObject
* _argo0
= 0;
7335 char *_kwnames
[] = { "self","x","y", NULL
};
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) return NULL
;
7359 } Py_INCREF(Py_None
);
7360 _resultobj
= Py_None
;
7363 o
= PyInt_FromLong((long) (*_arg3
));
7364 _resultobj
= t_output_helper(_resultobj
, o
);
7368 o
= PyInt_FromLong((long) (*_arg4
));
7369 _resultobj
= t_output_helper(_resultobj
, o
);
7374 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7375 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
* _resultobj
;
7378 wxScrolledWindow
* _arg0
;
7380 PyObject
* _argo0
= 0;
7382 PyObject
* _obj1
= 0;
7383 char *_kwnames
[] = { "self","pt", NULL
};
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7398 if (! wxPoint_helper(_obj1
, &_arg1
))
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) return NULL
;
7407 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7408 _resultobj
= Py_BuildValue("s",_ptemp
);
7412 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7413 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
* _resultobj
;
7415 wxScrolledWindow
* _arg0
;
7422 PyObject
* _argo0
= 0;
7423 char *_kwnames
[] = { "self","x","y", NULL
};
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) return NULL
;
7447 } Py_INCREF(Py_None
);
7448 _resultobj
= Py_None
;
7451 o
= PyInt_FromLong((long) (*_arg3
));
7452 _resultobj
= t_output_helper(_resultobj
, o
);
7456 o
= PyInt_FromLong((long) (*_arg4
));
7457 _resultobj
= t_output_helper(_resultobj
, o
);
7462 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7463 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
* _resultobj
;
7465 wxScrolledWindow
* _arg0
;
7468 PyObject
* _argo0
= 0;
7469 char *_kwnames
[] = { "self","xs","ys", NULL
};
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) return NULL
;
7487 } Py_INCREF(Py_None
);
7488 _resultobj
= Py_None
;
7492 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7493 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
* _resultobj
;
7496 wxScrolledWindow
* _arg0
;
7497 PyObject
* _argo0
= 0;
7498 char *_kwnames
[] = { "self", NULL
};
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) return NULL
;
7516 } _resultobj
= Py_BuildValue("d",_result
);
7520 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7521 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
* _resultobj
;
7524 wxScrolledWindow
* _arg0
;
7525 PyObject
* _argo0
= 0;
7526 char *_kwnames
[] = { "self", NULL
};
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) return NULL
;
7544 } _resultobj
= Py_BuildValue("d",_result
);
7548 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7549 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
* _resultobj
;
7551 wxScrolledWindow
* _arg0
;
7552 PyObject
* _argo0
= 0;
7553 char *_kwnames
[] = { "self", NULL
};
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 wxScrolledWindow_AdjustScrollbars(_arg0
);
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) return NULL
;
7571 } Py_INCREF(Py_None
);
7572 _resultobj
= Py_None
;
7576 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7577 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
* _resultobj
;
7580 wxScrolledWindow
* _arg0
;
7581 PyObject
* _argo0
= 0;
7582 char *_kwnames
[] = { "self", NULL
};
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) return NULL
;
7600 } _resultobj
= Py_BuildValue("i",_result
);
7604 #define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
7605 static PyObject
*_wrap_wxScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
* _resultobj
;
7607 wxScrolledWindow
* _arg0
;
7610 PyObject
* _argo0
= 0;
7611 char *_kwnames
[] = { "self","xstep","ystep", NULL
};
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollRate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 wxScrolledWindow_SetScrollRate(_arg0
,_arg1
,_arg2
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) return NULL
;
7629 } Py_INCREF(Py_None
);
7630 _resultobj
= Py_None
;
7634 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7637 src
= (wxMenu
*) ptr
;
7638 dest
= (wxEvtHandler
*) src
;
7639 return (void *) dest
;
7642 static void *SwigwxMenuTowxObject(void *ptr
) {
7645 src
= (wxMenu
*) ptr
;
7646 dest
= (wxObject
*) src
;
7647 return (void *) dest
;
7650 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7651 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
* _resultobj
;
7654 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7655 long _arg1
= (long ) 0;
7656 PyObject
* _obj0
= 0;
7657 char *_kwnames
[] = { "title","style", NULL
};
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7665 _arg0
= wxString_in_helper(_obj0
);
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) return NULL
;
7676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7677 _resultobj
= Py_BuildValue("s",_ptemp
);
7680 _resultobj
= Py_None
;
7689 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7690 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
* _resultobj
;
7695 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7696 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7697 PyObject
* _argo0
= 0;
7698 PyObject
* _obj2
= 0;
7699 PyObject
* _obj3
= 0;
7700 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7713 _arg2
= wxString_in_helper(_obj2
);
7719 _arg3
= wxString_in_helper(_obj3
);
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) return NULL
;
7729 } Py_INCREF(Py_None
);
7730 _resultobj
= Py_None
;
7742 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7743 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
* _resultobj
;
7749 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7750 PyObject
* _argo0
= 0;
7751 PyObject
* _obj2
= 0;
7752 PyObject
* _argo3
= 0;
7753 PyObject
* _obj4
= 0;
7754 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7767 _arg2
= wxString_in_helper(_obj2
);
7772 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7773 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7780 _arg4
= wxString_in_helper(_obj4
);
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) return NULL
;
7790 } Py_INCREF(Py_None
);
7791 _resultobj
= Py_None
;
7803 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7804 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
* _resultobj
;
7808 PyObject
* _argo0
= 0;
7809 PyObject
* _argo1
= 0;
7810 char *_kwnames
[] = { "self","item", NULL
};
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7823 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7824 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 wxMenu_AppendItem(_arg0
,_arg1
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) return NULL
;
7835 } Py_INCREF(Py_None
);
7836 _resultobj
= Py_None
;
7840 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7841 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
* _resultobj
;
7846 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7847 PyObject
* _argo0
= 0;
7848 PyObject
* _obj2
= 0;
7849 PyObject
* _obj3
= 0;
7850 char *_kwnames
[] = { "self","id","text","help", NULL
};
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7863 _arg2
= wxString_in_helper(_obj2
);
7869 _arg3
= wxString_in_helper(_obj3
);
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) return NULL
;
7879 } Py_INCREF(Py_None
);
7880 _resultobj
= Py_None
;
7892 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7893 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
* _resultobj
;
7898 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7899 PyObject
* _argo0
= 0;
7900 PyObject
* _obj2
= 0;
7901 PyObject
* _obj3
= 0;
7902 char *_kwnames
[] = { "self","id","text","help", NULL
};
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7915 _arg2
= wxString_in_helper(_obj2
);
7921 _arg3
= wxString_in_helper(_obj3
);
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) return NULL
;
7931 } Py_INCREF(Py_None
);
7932 _resultobj
= Py_None
;
7944 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7945 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
* _resultobj
;
7948 PyObject
* _argo0
= 0;
7949 char *_kwnames
[] = { "self", NULL
};
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 wxMenu_AppendSeparator(_arg0
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) return NULL
;
7967 } Py_INCREF(Py_None
);
7968 _resultobj
= Py_None
;
7972 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7973 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
* _resultobj
;
7979 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7980 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
7981 PyObject
* _argo0
= 0;
7982 PyObject
* _obj3
= 0;
7983 PyObject
* _obj4
= 0;
7984 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
7990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7997 _arg3
= wxString_in_helper(_obj3
);
8003 _arg4
= wxString_in_helper(_obj4
);
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) return NULL
;
8013 } Py_INCREF(Py_None
);
8014 _resultobj
= Py_None
;
8026 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
8027 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
* _resultobj
;
8031 PyObject
* _argo0
= 0;
8032 char *_kwnames
[] = { "self","pos", NULL
};
8035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
8038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 wxMenu_InsertSeparator(_arg0
,_arg1
);
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) return NULL
;
8050 } Py_INCREF(Py_None
);
8051 _resultobj
= Py_None
;
8055 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8056 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
* _resultobj
;
8062 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8063 PyObject
* _argo0
= 0;
8064 PyObject
* _obj3
= 0;
8065 PyObject
* _obj4
= 0;
8066 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
8079 _arg3
= wxString_in_helper(_obj3
);
8085 _arg4
= wxString_in_helper(_obj4
);
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) return NULL
;
8095 } Py_INCREF(Py_None
);
8096 _resultobj
= Py_None
;
8108 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8109 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
* _resultobj
;
8115 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8116 PyObject
* _argo0
= 0;
8117 PyObject
* _obj3
= 0;
8118 PyObject
* _obj4
= 0;
8119 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8132 _arg3
= wxString_in_helper(_obj3
);
8138 _arg4
= wxString_in_helper(_obj4
);
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) return NULL
;
8148 } Py_INCREF(Py_None
);
8149 _resultobj
= Py_None
;
8161 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8162 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
* _resultobj
;
8169 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
8170 PyObject
* _argo0
= 0;
8171 PyObject
* _obj3
= 0;
8172 PyObject
* _argo4
= 0;
8173 PyObject
* _obj5
= 0;
8174 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
8180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8187 _arg3
= wxString_in_helper(_obj3
);
8192 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8193 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
8194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8200 _arg5
= wxString_in_helper(_obj5
);
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) return NULL
;
8210 } Py_INCREF(Py_None
);
8211 _resultobj
= Py_None
;
8223 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8224 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
* _resultobj
;
8230 PyObject
* _argo0
= 0;
8231 PyObject
* _argo2
= 0;
8232 char *_kwnames
[] = { "self","pos","item", NULL
};
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
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_InsertItem. Expected _wxMenu_p.");
8245 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8246 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
8247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) return NULL
;
8257 } _resultobj
= Py_BuildValue("i",_result
);
8261 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8262 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
* _resultobj
;
8267 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8268 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
8269 PyObject
* _argo0
= 0;
8270 PyObject
* _obj2
= 0;
8271 PyObject
* _obj3
= 0;
8272 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
8278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
8285 _arg2
= wxString_in_helper(_obj2
);
8291 _arg3
= wxString_in_helper(_obj3
);
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) return NULL
;
8301 } Py_INCREF(Py_None
);
8302 _resultobj
= Py_None
;
8314 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8315 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
* _resultobj
;
8318 PyObject
* _argo0
= 0;
8319 char *_kwnames
[] = { "self", NULL
};
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
8325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 wxMenu_PrependSeparator(_arg0
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) return NULL
;
8337 } Py_INCREF(Py_None
);
8338 _resultobj
= Py_None
;
8342 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8343 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
* _resultobj
;
8348 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8349 PyObject
* _argo0
= 0;
8350 PyObject
* _obj2
= 0;
8351 PyObject
* _obj3
= 0;
8352 char *_kwnames
[] = { "self","id","text","help", NULL
};
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8365 _arg2
= wxString_in_helper(_obj2
);
8371 _arg3
= wxString_in_helper(_obj3
);
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) return NULL
;
8381 } Py_INCREF(Py_None
);
8382 _resultobj
= Py_None
;
8394 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8395 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
* _resultobj
;
8400 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8401 PyObject
* _argo0
= 0;
8402 PyObject
* _obj2
= 0;
8403 PyObject
* _obj3
= 0;
8404 char *_kwnames
[] = { "self","id","text","help", NULL
};
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8417 _arg2
= wxString_in_helper(_obj2
);
8423 _arg3
= wxString_in_helper(_obj3
);
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) return NULL
;
8433 } Py_INCREF(Py_None
);
8434 _resultobj
= Py_None
;
8446 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8447 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
* _resultobj
;
8453 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8454 PyObject
* _argo0
= 0;
8455 PyObject
* _obj2
= 0;
8456 PyObject
* _argo3
= 0;
8457 PyObject
* _obj4
= 0;
8458 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8471 _arg2
= wxString_in_helper(_obj2
);
8476 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8477 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8484 _arg4
= wxString_in_helper(_obj4
);
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) return NULL
;
8494 } Py_INCREF(Py_None
);
8495 _resultobj
= Py_None
;
8507 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8508 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
* _resultobj
;
8512 PyObject
* _argo0
= 0;
8513 PyObject
* _argo1
= 0;
8514 char *_kwnames
[] = { "self","item", NULL
};
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 wxMenu_PrependItem(_arg0
,_arg1
);
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) return NULL
;
8539 } Py_INCREF(Py_None
);
8540 _resultobj
= Py_None
;
8544 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8545 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
* _resultobj
;
8548 PyObject
* _argo0
= 0;
8549 char *_kwnames
[] = { "self", NULL
};
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 wxMenu_Break(_arg0
);
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) return NULL
;
8567 } Py_INCREF(Py_None
);
8568 _resultobj
= Py_None
;
8572 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8573 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
* _resultobj
;
8578 PyObject
* _argo0
= 0;
8580 char *_kwnames
[] = { "self","id","flag", NULL
};
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8592 _arg2
= (bool ) tempbool2
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) return NULL
;
8599 } Py_INCREF(Py_None
);
8600 _resultobj
= Py_None
;
8604 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8605 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
* _resultobj
;
8610 PyObject
* _argo0
= 0;
8611 char *_kwnames
[] = { "self","id", NULL
};
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) return NULL
;
8629 } _resultobj
= Py_BuildValue("i",_result
);
8633 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8634 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
* _resultobj
;
8639 PyObject
* _argo0
= 0;
8641 char *_kwnames
[] = { "self","id","enable", NULL
};
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8653 _arg2
= (bool ) tempbool2
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) return NULL
;
8660 } Py_INCREF(Py_None
);
8661 _resultobj
= Py_None
;
8665 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8666 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
* _resultobj
;
8671 PyObject
* _argo0
= 0;
8672 char *_kwnames
[] = { "self","id", NULL
};
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) return NULL
;
8690 } _resultobj
= Py_BuildValue("i",_result
);
8694 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8695 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
* _resultobj
;
8700 PyObject
* _argo0
= 0;
8701 PyObject
* _obj1
= 0;
8702 char *_kwnames
[] = { "self","itemString", NULL
};
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8715 _arg1
= wxString_in_helper(_obj1
);
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) return NULL
;
8725 } _resultobj
= Py_BuildValue("i",_result
);
8733 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8734 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
* _resultobj
;
8736 wxMenuItem
* _result
;
8739 PyObject
* _argo0
= 0;
8740 char *_kwnames
[] = { "self","id", NULL
};
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) return NULL
;
8758 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8762 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8763 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
* _resultobj
;
8767 PyObject
* _argo0
= 0;
8768 char *_kwnames
[] = { "self", NULL
};
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) return NULL
;
8788 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8790 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8799 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8800 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
* _resultobj
;
8804 PyObject
* _argo0
= 0;
8805 PyObject
* _obj1
= 0;
8806 char *_kwnames
[] = { "self","title", NULL
};
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8819 _arg1
= wxString_in_helper(_obj1
);
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 wxMenu_SetTitle(_arg0
,*_arg1
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) return NULL
;
8829 } Py_INCREF(Py_None
);
8830 _resultobj
= Py_None
;
8838 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8839 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
* _resultobj
;
8844 PyObject
* _argo0
= 0;
8845 char *_kwnames
[] = { "self","id", NULL
};
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) return NULL
;
8865 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8867 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8876 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8877 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
* _resultobj
;
8882 PyObject
* _argo0
= 0;
8883 PyObject
* _obj2
= 0;
8884 char *_kwnames
[] = { "self","id","label", NULL
};
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
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_SetLabel. Expected _wxMenu_p.");
8897 _arg2
= wxString_in_helper(_obj2
);
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) return NULL
;
8907 } Py_INCREF(Py_None
);
8908 _resultobj
= Py_None
;
8916 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8917 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
* _resultobj
;
8922 PyObject
* _argo0
= 0;
8923 char *_kwnames
[] = { "self","id", NULL
};
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) return NULL
;
8943 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8945 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8954 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8955 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
* _resultobj
;
8960 PyObject
* _argo0
= 0;
8961 PyObject
* _obj2
= 0;
8962 char *_kwnames
[] = { "self","id","helpString", NULL
};
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8975 _arg2
= wxString_in_helper(_obj2
);
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) return NULL
;
8985 } Py_INCREF(Py_None
);
8986 _resultobj
= Py_None
;
8994 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8995 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
* _resultobj
;
8998 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
8999 PyObject
* _argo0
= 0;
9000 PyObject
* _argo1
= 0;
9001 char *_kwnames
[] = { "self","source", NULL
};
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
9007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
9014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 wxMenu_UpdateUI(_arg0
,_arg1
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) return NULL
;
9026 } Py_INCREF(Py_None
);
9027 _resultobj
= Py_None
;
9031 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9032 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
* _resultobj
;
9037 PyObject
* _argo0
= 0;
9038 char *_kwnames
[] = { "self","id", NULL
};
9041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
9044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) return NULL
;
9056 } _resultobj
= Py_BuildValue("i",_result
);
9060 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9061 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
* _resultobj
;
9066 PyObject
* _argo0
= 0;
9067 PyObject
* _argo1
= 0;
9068 char *_kwnames
[] = { "self","item", NULL
};
9071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
9074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
9081 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9082 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) return NULL
;
9093 } _resultobj
= Py_BuildValue("i",_result
);
9097 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9098 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
* _resultobj
;
9100 wxMenuItem
* _result
;
9103 PyObject
* _argo0
= 0;
9104 char *_kwnames
[] = { "self","id", NULL
};
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
9110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) return NULL
;
9122 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9126 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9127 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
* _resultobj
;
9129 wxMenuItem
* _result
;
9132 PyObject
* _argo0
= 0;
9133 PyObject
* _argo1
= 0;
9134 char *_kwnames
[] = { "self","item", NULL
};
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
9140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) return NULL
;
9159 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9163 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
9164 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
* _resultobj
;
9167 PyObject
* _argo0
= 0;
9168 char *_kwnames
[] = { "self", NULL
};
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_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_Destroy. Expected _wxMenu_p.");
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 wxMenu_Destroy(_arg0
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) return NULL
;
9186 } Py_INCREF(Py_None
);
9187 _resultobj
= Py_None
;
9191 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9192 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
* _resultobj
;
9197 PyObject
* _argo0
= 0;
9198 char *_kwnames
[] = { "self","id", NULL
};
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
9204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) return NULL
;
9216 } _resultobj
= Py_BuildValue("i",_result
);
9220 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9221 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
* _resultobj
;
9226 PyObject
* _argo0
= 0;
9227 PyObject
* _argo1
= 0;
9228 char *_kwnames
[] = { "self","item", NULL
};
9231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
9234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9241 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9242 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) return NULL
;
9253 } _resultobj
= Py_BuildValue("i",_result
);
9257 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9258 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
* _resultobj
;
9262 PyObject
* _argo0
= 0;
9263 char *_kwnames
[] = { "self", NULL
};
9266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
9269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) return NULL
;
9281 } _resultobj
= Py_BuildValue("i",_result
);
9285 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
9286 wxMenuItemList
& list
= self
->GetMenuItems();
9287 return wxPy_ConvertList(&list
, "wxMenuItem");
9289 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
* _resultobj
;
9293 PyObject
* _argo0
= 0;
9294 char *_kwnames
[] = { "self", NULL
};
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
9300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) return NULL
;
9313 _resultobj
= _result
;
9318 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9319 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
* _resultobj
;
9322 wxEvtHandler
* _arg1
;
9323 PyObject
* _argo0
= 0;
9324 PyObject
* _argo1
= 0;
9325 char *_kwnames
[] = { "self","handler", NULL
};
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
9331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 wxMenu_SetEventHandler(_arg0
,_arg1
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) return NULL
;
9350 } Py_INCREF(Py_None
);
9351 _resultobj
= Py_None
;
9355 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9356 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
* _resultobj
;
9358 wxEvtHandler
* _result
;
9360 PyObject
* _argo0
= 0;
9361 char *_kwnames
[] = { "self", NULL
};
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
9367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) return NULL
;
9379 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9383 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9384 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
* _resultobj
;
9388 PyObject
* _argo0
= 0;
9389 PyObject
* _argo1
= 0;
9390 char *_kwnames
[] = { "self","win", NULL
};
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
9396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) return NULL
;
9415 } Py_INCREF(Py_None
);
9416 _resultobj
= Py_None
;
9420 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9421 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
* _resultobj
;
9425 PyObject
* _argo0
= 0;
9426 char *_kwnames
[] = { "self", NULL
};
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) return NULL
;
9444 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9448 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9449 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
* _resultobj
;
9453 PyObject
* _argo0
= 0;
9454 char *_kwnames
[] = { "self", NULL
};
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 _result
= (long )wxMenu_GetStyle(_arg0
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) return NULL
;
9472 } _resultobj
= Py_BuildValue("l",_result
);
9476 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9477 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
* _resultobj
;
9481 PyObject
* _argo0
= 0;
9482 char *_kwnames
[] = { "self", NULL
};
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 _result
= (bool )wxMenu_IsAttached(_arg0
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) return NULL
;
9500 } _resultobj
= Py_BuildValue("i",_result
);
9504 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9505 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
* _resultobj
;
9509 PyObject
* _argo0
= 0;
9510 PyObject
* _argo1
= 0;
9511 char *_kwnames
[] = { "self","parent", NULL
};
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 wxMenu_SetParent(_arg0
,_arg1
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) return NULL
;
9536 } Py_INCREF(Py_None
);
9537 _resultobj
= Py_None
;
9541 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9542 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
* _resultobj
;
9546 PyObject
* _argo0
= 0;
9547 char *_kwnames
[] = { "self", NULL
};
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) return NULL
;
9565 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9569 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9572 src
= (wxMenuBar
*) ptr
;
9573 dest
= (wxWindow
*) src
;
9574 return (void *) dest
;
9577 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9580 src
= (wxMenuBar
*) ptr
;
9581 dest
= (wxEvtHandler
*) src
;
9582 return (void *) dest
;
9585 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9588 src
= (wxMenuBar
*) ptr
;
9589 dest
= (wxObject
*) src
;
9590 return (void *) dest
;
9593 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9594 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
* _resultobj
;
9596 wxMenuBar
* _result
;
9597 long _arg0
= (long ) 0;
9598 char *_kwnames
[] = { "style", NULL
};
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) return NULL
;
9611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9612 _resultobj
= Py_BuildValue("s",_ptemp
);
9615 _resultobj
= Py_None
;
9620 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9621 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
* _resultobj
;
9627 PyObject
* _argo0
= 0;
9628 PyObject
* _argo1
= 0;
9629 PyObject
* _obj2
= 0;
9630 char *_kwnames
[] = { "self","menu","title", NULL
};
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9650 _arg2
= wxString_in_helper(_obj2
);
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) return NULL
;
9660 } _resultobj
= Py_BuildValue("i",_result
);
9668 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9669 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
* _resultobj
;
9676 PyObject
* _argo0
= 0;
9677 PyObject
* _argo2
= 0;
9678 PyObject
* _obj3
= 0;
9679 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
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_Insert. Expected _wxMenuBar_p.");
9692 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9693 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9699 _arg3
= wxString_in_helper(_obj3
);
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) return NULL
;
9709 } _resultobj
= Py_BuildValue("i",_result
);
9717 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9718 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
* _resultobj
;
9722 PyObject
* _argo0
= 0;
9723 char *_kwnames
[] = { "self", NULL
};
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) return NULL
;
9741 } _resultobj
= Py_BuildValue("i",_result
);
9745 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9746 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
* _resultobj
;
9751 PyObject
* _argo0
= 0;
9752 char *_kwnames
[] = { "self","pos", NULL
};
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) return NULL
;
9770 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9774 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9775 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
* _resultobj
;
9782 PyObject
* _argo0
= 0;
9783 PyObject
* _argo2
= 0;
9784 PyObject
* _obj3
= 0;
9785 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9798 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9799 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9805 _arg3
= wxString_in_helper(_obj3
);
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) return NULL
;
9815 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9823 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9824 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
* _resultobj
;
9829 PyObject
* _argo0
= 0;
9830 char *_kwnames
[] = { "self","pos", NULL
};
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) return NULL
;
9848 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9852 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9853 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
* _resultobj
;
9858 PyObject
* _argo0
= 0;
9860 char *_kwnames
[] = { "self","pos","enable", NULL
};
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9872 _arg2
= (bool ) tempbool2
;
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) return NULL
;
9879 } Py_INCREF(Py_None
);
9880 _resultobj
= Py_None
;
9884 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9885 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
* _resultobj
;
9890 PyObject
* _argo0
= 0;
9891 PyObject
* _obj2
= 0;
9892 char *_kwnames
[] = { "self","pos","label", NULL
};
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
9905 _arg2
= wxString_in_helper(_obj2
);
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) return NULL
;
9915 } Py_INCREF(Py_None
);
9916 _resultobj
= Py_None
;
9924 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9925 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
* _resultobj
;
9930 PyObject
* _argo0
= 0;
9931 char *_kwnames
[] = { "self","pos", NULL
};
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
9937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) return NULL
;
9951 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9953 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9962 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9963 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
* _resultobj
;
9968 PyObject
* _argo0
= 0;
9969 PyObject
* _obj1
= 0;
9970 char *_kwnames
[] = { "self","title", NULL
};
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
9976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9983 _arg1
= wxString_in_helper(_obj1
);
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) return NULL
;
9993 } _resultobj
= Py_BuildValue("i",_result
);
10001 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
10002 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
* _resultobj
;
10008 PyObject
* _argo0
= 0;
10009 PyObject
* _obj1
= 0;
10010 PyObject
* _obj2
= 0;
10011 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
10024 _arg1
= wxString_in_helper(_obj1
);
10029 _arg2
= wxString_in_helper(_obj2
);
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) return NULL
;
10039 } _resultobj
= Py_BuildValue("i",_result
);
10051 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
10052 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
* _resultobj
;
10054 wxMenuItem
* _result
;
10057 PyObject
* _argo0
= 0;
10058 char *_kwnames
[] = { "self","id", NULL
};
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
10064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) return NULL
;
10076 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10080 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10081 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
* _resultobj
;
10086 PyObject
* _argo0
= 0;
10088 char *_kwnames
[] = { "self","id","enable", NULL
};
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10100 _arg2
= (bool ) tempbool2
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) return NULL
;
10107 } Py_INCREF(Py_None
);
10108 _resultobj
= Py_None
;
10112 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10113 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
* _resultobj
;
10118 PyObject
* _argo0
= 0;
10120 char *_kwnames
[] = { "self","id","check", NULL
};
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10132 _arg2
= (bool ) tempbool2
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) return NULL
;
10139 } Py_INCREF(Py_None
);
10140 _resultobj
= Py_None
;
10144 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10145 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
* _resultobj
;
10150 PyObject
* _argo0
= 0;
10151 char *_kwnames
[] = { "self","id", NULL
};
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
10157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) return NULL
;
10169 } _resultobj
= Py_BuildValue("i",_result
);
10173 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10174 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
* _resultobj
;
10179 PyObject
* _argo0
= 0;
10180 char *_kwnames
[] = { "self","id", NULL
};
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
10186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) return NULL
;
10198 } _resultobj
= Py_BuildValue("i",_result
);
10202 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10203 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
* _resultobj
;
10208 PyObject
* _argo0
= 0;
10209 PyObject
* _obj2
= 0;
10210 char *_kwnames
[] = { "self","id","label", NULL
};
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
10223 _arg2
= wxString_in_helper(_obj2
);
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) return NULL
;
10233 } Py_INCREF(Py_None
);
10234 _resultobj
= Py_None
;
10242 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10243 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
* _resultobj
;
10245 wxString
* _result
;
10248 PyObject
* _argo0
= 0;
10249 char *_kwnames
[] = { "self","id", NULL
};
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
10255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) return NULL
;
10269 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10271 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10280 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10281 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
* _resultobj
;
10286 PyObject
* _argo0
= 0;
10287 PyObject
* _obj2
= 0;
10288 char *_kwnames
[] = { "self","id","helpString", NULL
};
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10301 _arg2
= wxString_in_helper(_obj2
);
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) return NULL
;
10311 } Py_INCREF(Py_None
);
10312 _resultobj
= Py_None
;
10320 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10321 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
* _resultobj
;
10323 wxString
* _result
;
10326 PyObject
* _argo0
= 0;
10327 char *_kwnames
[] = { "self","id", NULL
};
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
10333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) return NULL
;
10347 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10349 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10358 static void *SwigwxMenuItemTowxObject(void *ptr
) {
10361 src
= (wxMenuItem
*) ptr
;
10362 dest
= (wxObject
*) src
;
10363 return (void *) dest
;
10366 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10367 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
* _resultobj
;
10369 wxMenuItem
* _result
;
10370 wxMenu
* _arg0
= (wxMenu
*) NULL
;
10371 int _arg1
= (int ) wxID_SEPARATOR
;
10372 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10373 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10374 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
10375 wxMenu
* _arg5
= (wxMenu
*) NULL
;
10376 PyObject
* _argo0
= 0;
10377 PyObject
* _obj2
= 0;
10378 PyObject
* _obj3
= 0;
10379 PyObject
* _argo5
= 0;
10380 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
10387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
10389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10395 _arg2
= wxString_in_helper(_obj2
);
10401 _arg3
= wxString_in_helper(_obj3
);
10406 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10407 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) return NULL
;
10419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10420 _resultobj
= Py_BuildValue("s",_ptemp
);
10422 Py_INCREF(Py_None
);
10423 _resultobj
= Py_None
;
10436 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10437 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
* _resultobj
;
10440 wxMenuItem
* _arg0
;
10441 PyObject
* _argo0
= 0;
10442 char *_kwnames
[] = { "self", NULL
};
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) return NULL
;
10460 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10464 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10465 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
* _resultobj
;
10467 wxMenuItem
* _arg0
;
10469 PyObject
* _argo0
= 0;
10470 char *_kwnames
[] = { "self","id", NULL
};
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 wxMenuItem_SetId(_arg0
,_arg1
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) return NULL
;
10488 } Py_INCREF(Py_None
);
10489 _resultobj
= Py_None
;
10493 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10494 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
* _resultobj
;
10497 wxMenuItem
* _arg0
;
10498 PyObject
* _argo0
= 0;
10499 char *_kwnames
[] = { "self", NULL
};
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 _result
= (int )wxMenuItem_GetId(_arg0
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) return NULL
;
10517 } _resultobj
= Py_BuildValue("i",_result
);
10521 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10522 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
* _resultobj
;
10525 wxMenuItem
* _arg0
;
10526 PyObject
* _argo0
= 0;
10527 char *_kwnames
[] = { "self", NULL
};
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
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_IsSeparator. Expected _wxMenuItem_p.");
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) return NULL
;
10545 } _resultobj
= Py_BuildValue("i",_result
);
10549 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10550 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
* _resultobj
;
10552 wxMenuItem
* _arg0
;
10554 PyObject
* _argo0
= 0;
10555 PyObject
* _obj1
= 0;
10556 char *_kwnames
[] = { "self","str", NULL
};
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10569 _arg1
= wxString_in_helper(_obj1
);
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 wxMenuItem_SetText(_arg0
,*_arg1
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) return NULL
;
10579 } Py_INCREF(Py_None
);
10580 _resultobj
= Py_None
;
10588 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10589 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
* _resultobj
;
10591 wxString
* _result
;
10592 wxMenuItem
* _arg0
;
10593 PyObject
* _argo0
= 0;
10594 char *_kwnames
[] = { "self", NULL
};
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) return NULL
;
10614 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10616 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10625 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10626 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
* _resultobj
;
10628 wxString
* _result
;
10629 wxMenuItem
* _arg0
;
10630 PyObject
* _argo0
= 0;
10631 char *_kwnames
[] = { "self", NULL
};
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10646 _result
= (wxString
*) &_result_ref
;
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) return NULL
;
10652 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10654 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10660 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10661 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
* _resultobj
;
10663 wxItemKind _result
;
10664 wxMenuItem
* _arg0
;
10665 PyObject
* _argo0
= 0;
10666 char *_kwnames
[] = { "self", NULL
};
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) return NULL
;
10684 } _resultobj
= Py_BuildValue("i",_result
);
10688 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10689 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
* _resultobj
;
10691 wxMenuItem
* _arg0
;
10693 PyObject
* _argo0
= 0;
10695 char *_kwnames
[] = { "self","checkable", NULL
};
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10707 _arg1
= (bool ) tempbool1
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) return NULL
;
10714 } Py_INCREF(Py_None
);
10715 _resultobj
= Py_None
;
10719 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10720 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
* _resultobj
;
10723 wxMenuItem
* _arg0
;
10724 PyObject
* _argo0
= 0;
10725 char *_kwnames
[] = { "self", NULL
};
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) return NULL
;
10743 } _resultobj
= Py_BuildValue("i",_result
);
10747 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10748 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
* _resultobj
;
10751 wxMenuItem
* _arg0
;
10752 PyObject
* _argo0
= 0;
10753 char *_kwnames
[] = { "self", NULL
};
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) return NULL
;
10771 } _resultobj
= Py_BuildValue("i",_result
);
10775 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10776 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
* _resultobj
;
10778 wxMenuItem
* _arg0
;
10780 PyObject
* _argo0
= 0;
10781 PyObject
* _argo1
= 0;
10782 char *_kwnames
[] = { "self","menu", NULL
};
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10795 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10796 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) return NULL
;
10807 } Py_INCREF(Py_None
);
10808 _resultobj
= Py_None
;
10812 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10813 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
* _resultobj
;
10816 wxMenuItem
* _arg0
;
10817 PyObject
* _argo0
= 0;
10818 char *_kwnames
[] = { "self", NULL
};
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
10824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) return NULL
;
10836 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10840 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10841 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
* _resultobj
;
10843 wxMenuItem
* _arg0
;
10844 bool _arg1
= (bool ) TRUE
;
10845 PyObject
* _argo0
= 0;
10846 int tempbool1
= (int) TRUE
;
10847 char *_kwnames
[] = { "self","enable", NULL
};
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
10853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10859 _arg1
= (bool ) tempbool1
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 wxMenuItem_Enable(_arg0
,_arg1
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) return NULL
;
10866 } Py_INCREF(Py_None
);
10867 _resultobj
= Py_None
;
10871 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10872 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
* _resultobj
;
10875 wxMenuItem
* _arg0
;
10876 PyObject
* _argo0
= 0;
10877 char *_kwnames
[] = { "self", NULL
};
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
10883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) return NULL
;
10895 } _resultobj
= Py_BuildValue("i",_result
);
10899 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10900 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
* _resultobj
;
10902 wxMenuItem
* _arg0
;
10903 bool _arg1
= (bool ) TRUE
;
10904 PyObject
* _argo0
= 0;
10905 int tempbool1
= (int) TRUE
;
10906 char *_kwnames
[] = { "self","check", NULL
};
10909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
10912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
10918 _arg1
= (bool ) tempbool1
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 wxMenuItem_Check(_arg0
,_arg1
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) return NULL
;
10925 } Py_INCREF(Py_None
);
10926 _resultobj
= Py_None
;
10930 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10931 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
* _resultobj
;
10934 wxMenuItem
* _arg0
;
10935 PyObject
* _argo0
= 0;
10936 char *_kwnames
[] = { "self", NULL
};
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
10942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) return NULL
;
10954 } _resultobj
= Py_BuildValue("i",_result
);
10958 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10959 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
* _resultobj
;
10961 wxMenuItem
* _arg0
;
10962 PyObject
* _argo0
= 0;
10963 char *_kwnames
[] = { "self", NULL
};
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
10969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 wxMenuItem_Toggle(_arg0
);
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) return NULL
;
10981 } Py_INCREF(Py_None
);
10982 _resultobj
= Py_None
;
10986 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10987 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
* _resultobj
;
10989 wxMenuItem
* _arg0
;
10991 PyObject
* _argo0
= 0;
10992 PyObject
* _obj1
= 0;
10993 char *_kwnames
[] = { "self","str", NULL
};
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
10999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
11006 _arg1
= wxString_in_helper(_obj1
);
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 wxMenuItem_SetHelp(_arg0
,*_arg1
);
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) return NULL
;
11016 } Py_INCREF(Py_None
);
11017 _resultobj
= Py_None
;
11025 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
11026 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
* _resultobj
;
11028 wxString
* _result
;
11029 wxMenuItem
* _arg0
;
11030 PyObject
* _argo0
= 0;
11031 char *_kwnames
[] = { "self", NULL
};
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
11037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
11046 _result
= (wxString
*) &_result_ref
;
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) return NULL
;
11052 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11054 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11060 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
11061 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
* _resultobj
;
11063 wxAcceleratorEntry
* _result
;
11064 wxMenuItem
* _arg0
;
11065 PyObject
* _argo0
= 0;
11066 char *_kwnames
[] = { "self", NULL
};
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
11073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) return NULL
;
11086 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
11087 _resultobj
= Py_BuildValue("s",_ptemp
);
11089 Py_INCREF(Py_None
);
11090 _resultobj
= Py_None
;
11095 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11096 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
* _resultobj
;
11098 wxMenuItem
* _arg0
;
11099 wxAcceleratorEntry
* _arg1
;
11100 PyObject
* _argo0
= 0;
11101 PyObject
* _argo1
= 0;
11102 char *_kwnames
[] = { "self","accel", NULL
};
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
11108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
11115 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11116 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
11117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 wxMenuItem_SetAccel(_arg0
,_arg1
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) return NULL
;
11127 } Py_INCREF(Py_None
);
11128 _resultobj
= Py_None
;
11132 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
* _resultobj
;
11134 wxString
* _result
;
11136 PyObject
* _obj0
= 0;
11137 char *_kwnames
[] = { "text", NULL
};
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
11143 _arg0
= wxString_in_helper(_obj0
);
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) return NULL
;
11155 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11157 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11170 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
11171 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
* _resultobj
;
11173 wxMenuItem
* _arg0
;
11175 PyObject
* _argo0
= 0;
11176 PyObject
* _argo1
= 0;
11177 char *_kwnames
[] = { "self","font", NULL
};
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
11183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
11190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 wxMenuItem_SetFont(_arg0
,*_arg1
);
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) return NULL
;
11202 } Py_INCREF(Py_None
);
11203 _resultobj
= Py_None
;
11207 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
11208 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
* _resultobj
;
11211 wxMenuItem
* _arg0
;
11212 PyObject
* _argo0
= 0;
11213 char *_kwnames
[] = { "self", NULL
};
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_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_GetFont. Expected _wxMenuItem_p.");
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 _result
= new wxFont (wxMenuItem_GetFont(_arg0
));
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) return NULL
;
11232 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11233 _resultobj
= Py_BuildValue("s",_ptemp
);
11237 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
11238 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11239 PyObject
* _resultobj
;
11240 wxMenuItem
* _arg0
;
11242 PyObject
* _argo0
= 0;
11244 PyObject
* _obj1
= 0;
11245 char *_kwnames
[] = { "self","colText", NULL
};
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
11251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
11259 if (! wxColour_helper(_obj1
, &_arg1
))
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) return NULL
;
11268 } Py_INCREF(Py_None
);
11269 _resultobj
= Py_None
;
11273 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
11274 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
* _resultobj
;
11276 wxColour
* _result
;
11277 wxMenuItem
* _arg0
;
11278 PyObject
* _argo0
= 0;
11279 char *_kwnames
[] = { "self", NULL
};
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
11286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 _result
= new wxColour (wxMenuItem_GetTextColour(_arg0
));
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) return NULL
;
11298 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11299 _resultobj
= Py_BuildValue("s",_ptemp
);
11303 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
11304 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
* _resultobj
;
11306 wxMenuItem
* _arg0
;
11308 PyObject
* _argo0
= 0;
11310 PyObject
* _obj1
= 0;
11311 char *_kwnames
[] = { "self","colBack", NULL
};
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
11325 if (! wxColour_helper(_obj1
, &_arg1
))
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) return NULL
;
11334 } Py_INCREF(Py_None
);
11335 _resultobj
= Py_None
;
11339 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
11340 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
* _resultobj
;
11342 wxColour
* _result
;
11343 wxMenuItem
* _arg0
;
11344 PyObject
* _argo0
= 0;
11345 char *_kwnames
[] = { "self", NULL
};
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
11352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 _result
= new wxColour (wxMenuItem_GetBackgroundColour(_arg0
));
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) return NULL
;
11364 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11365 _resultobj
= Py_BuildValue("s",_ptemp
);
11369 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
11370 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
* _resultobj
;
11372 wxMenuItem
* _arg0
;
11374 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
11375 PyObject
* _argo0
= 0;
11376 PyObject
* _argo1
= 0;
11377 PyObject
* _argo2
= 0;
11378 char *_kwnames
[] = { "self","bmpChecked","bmpUnchecked", NULL
};
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11398 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11399 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) return NULL
;
11410 } Py_INCREF(Py_None
);
11411 _resultobj
= Py_None
;
11415 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
11416 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
* _resultobj
;
11418 wxMenuItem
* _arg0
;
11420 PyObject
* _argo0
= 0;
11421 PyObject
* _argo1
= 0;
11422 char *_kwnames
[] = { "self","bmpChecked", NULL
};
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
11428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
11435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) return NULL
;
11447 } Py_INCREF(Py_None
);
11448 _resultobj
= Py_None
;
11452 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
11453 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
* _resultobj
;
11455 wxBitmap
* _result
;
11456 wxMenuItem
* _arg0
;
11457 bool _arg1
= (bool ) TRUE
;
11458 PyObject
* _argo0
= 0;
11459 int tempbool1
= (int) TRUE
;
11460 char *_kwnames
[] = { "self","bChecked", NULL
};
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
11467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
11473 _arg1
= (bool ) tempbool1
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) return NULL
;
11480 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
11481 _resultobj
= Py_BuildValue("s",_ptemp
);
11485 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11486 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
* _resultobj
;
11488 wxMenuItem
* _arg0
;
11490 PyObject
* _argo0
= 0;
11491 char *_kwnames
[] = { "self","nWidth", NULL
};
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
11497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) return NULL
;
11509 } Py_INCREF(Py_None
);
11510 _resultobj
= Py_None
;
11514 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11515 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
* _resultobj
;
11518 wxMenuItem
* _arg0
;
11519 PyObject
* _argo0
= 0;
11520 char *_kwnames
[] = { "self", NULL
};
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
11526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) return NULL
;
11538 } _resultobj
= Py_BuildValue("i",_result
);
11542 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
* _resultobj
;
11545 char *_kwnames
[] = { NULL
};
11548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMenuItem_GetDefaultMarginWidth",_kwnames
))
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 _result
= (int )wxMenuItem::GetDefaultMarginWidth();
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) return NULL
;
11556 } _resultobj
= Py_BuildValue("i",_result
);
11560 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11561 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
* _resultobj
;
11564 wxMenuItem
* _arg0
;
11565 PyObject
* _argo0
= 0;
11566 char *_kwnames
[] = { "self", NULL
};
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsOwnerDrawn",_kwnames
,&_argo0
))
11572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 _result
= (bool )wxMenuItem_IsOwnerDrawn(_arg0
);
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) return NULL
;
11584 } _resultobj
= Py_BuildValue("i",_result
);
11588 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
11589 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
* _resultobj
;
11591 wxMenuItem
* _arg0
;
11592 PyObject
* _argo0
= 0;
11593 char *_kwnames
[] = { "self", NULL
};
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_ResetOwnerDrawn",_kwnames
,&_argo0
))
11599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 wxMenuItem_ResetOwnerDrawn(_arg0
);
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) return NULL
;
11611 } Py_INCREF(Py_None
);
11612 _resultobj
= Py_None
;
11616 static PyMethodDef windowscMethods
[] = {
11617 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11642 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11643 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11644 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11645 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11646 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
11647 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11674 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
11688 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11689 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
11690 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11691 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11692 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11693 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
11694 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11695 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11696 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11697 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11698 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11699 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11700 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11701 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11702 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11703 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11704 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11705 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
11706 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
11707 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11708 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
11709 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11710 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11711 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11712 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
11713 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11714 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
11715 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11716 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11717 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
11725 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
11726 { "wxScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
11727 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11728 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11729 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
11730 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
11731 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
11732 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11733 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11734 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11735 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11736 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
11737 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11738 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11739 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11740 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
11741 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
11742 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11743 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11744 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
11745 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11746 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
11747 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11748 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11749 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11750 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11751 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
11752 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
11753 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
11754 { "wxWindow_HasCapture", (PyCFunction
) _wrap_wxWindow_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
11755 { "wxWindow_GetCapture", (PyCFunction
) _wrap_wxWindow_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11756 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
11757 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
11758 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
11759 { "wxWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_wxWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11760 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11761 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11762 { "wxWindow_OnPaint", (PyCFunction
) _wrap_wxWindow_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
11763 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11764 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11765 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
11766 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
11767 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
11768 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
11769 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
11770 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
11771 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
11772 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
11773 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
11774 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
11775 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
11776 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11777 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11778 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
11779 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
11780 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
11781 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11782 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11783 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
11784 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11785 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11786 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11787 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11788 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11789 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11790 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11791 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11792 { "wxWindow_SetSizerAndFit", (PyCFunction
) _wrap_wxWindow_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
11793 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11794 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11795 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11796 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
11797 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11798 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11799 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11800 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11801 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11802 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11803 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
11804 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
11805 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
11806 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
11807 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11808 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11809 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
11810 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11811 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11812 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11813 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11814 { "wxWindow_GetVirtualSizeTuple", (PyCFunction
) _wrap_wxWindow_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11815 { "wxWindow_GetVirtualSize", (PyCFunction
) _wrap_wxWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11816 { "wxWindow_SetVirtualSizeWH", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11817 { "wxWindow_SetVirtualSize", (PyCFunction
) _wrap_wxWindow_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11818 { "wxWindow_SetVirtualSizeHints", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11819 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11820 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
11821 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11822 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11823 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
11824 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11825 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11826 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
11827 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11828 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11829 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11830 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
11831 { "wxWindow_SetFocusFromKbd", (PyCFunction
) _wrap_wxWindow_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
11832 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
11833 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11834 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11835 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11836 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11837 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11838 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
11839 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
11840 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
11841 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
11842 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
11843 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
11844 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
11845 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
11846 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
11847 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
11848 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11849 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11850 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11851 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
11852 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11853 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
11854 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
11855 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
11856 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11857 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
11858 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
11859 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11860 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
11861 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
11862 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
11863 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11864 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11865 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11866 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11867 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11868 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
11869 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11870 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11871 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
11872 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11873 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11874 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11875 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11876 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11877 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
11878 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11879 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
11880 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11881 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11882 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11883 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11884 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11885 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11886 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11887 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11888 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11889 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
11890 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11891 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11892 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11893 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11894 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
11895 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11896 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11897 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11898 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11899 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11900 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
11901 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
11902 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11903 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
11904 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11905 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11906 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11907 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
11908 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
11909 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
11910 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11911 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
11912 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
11913 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
11914 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11915 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11916 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11917 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11918 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11919 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11920 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
11921 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11922 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
11923 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
11924 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11925 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
11926 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
11927 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
11928 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11929 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11930 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
11931 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
11932 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
11933 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
11934 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
11935 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11936 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11937 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11938 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11939 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11940 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11941 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
11942 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11943 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11944 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
11951 * This table is used by the pointer type-checker
11953 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11954 { "_signed_long","_long",0},
11955 { "_wxPrintQuality","_wxCoord",0},
11956 { "_wxPrintQuality","_int",0},
11957 { "_wxPrintQuality","_signed_int",0},
11958 { "_wxPrintQuality","_unsigned_int",0},
11959 { "_wxPrintQuality","_wxWindowID",0},
11960 { "_wxPrintQuality","_uint",0},
11961 { "_wxPrintQuality","_EBool",0},
11962 { "_wxPrintQuality","_size_t",0},
11963 { "_wxPrintQuality","_time_t",0},
11964 { "_byte","_unsigned_char",0},
11965 { "_long","_unsigned_long",0},
11966 { "_long","_signed_long",0},
11967 { "_size_t","_wxCoord",0},
11968 { "_size_t","_wxPrintQuality",0},
11969 { "_size_t","_time_t",0},
11970 { "_size_t","_unsigned_int",0},
11971 { "_size_t","_int",0},
11972 { "_size_t","_wxWindowID",0},
11973 { "_size_t","_uint",0},
11974 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11975 { "_uint","_wxCoord",0},
11976 { "_uint","_wxPrintQuality",0},
11977 { "_uint","_time_t",0},
11978 { "_uint","_size_t",0},
11979 { "_uint","_unsigned_int",0},
11980 { "_uint","_int",0},
11981 { "_uint","_wxWindowID",0},
11982 { "_wxChar","_char",0},
11983 { "_char","_wxChar",0},
11984 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11985 { "_EBool","_wxCoord",0},
11986 { "_EBool","_wxPrintQuality",0},
11987 { "_EBool","_signed_int",0},
11988 { "_EBool","_int",0},
11989 { "_EBool","_wxWindowID",0},
11990 { "_unsigned_long","_long",0},
11991 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11992 { "_signed_int","_wxCoord",0},
11993 { "_signed_int","_wxPrintQuality",0},
11994 { "_signed_int","_EBool",0},
11995 { "_signed_int","_wxWindowID",0},
11996 { "_signed_int","_int",0},
11997 { "_WXTYPE","_short",0},
11998 { "_WXTYPE","_signed_short",0},
11999 { "_WXTYPE","_unsigned_short",0},
12000 { "_unsigned_short","_WXTYPE",0},
12001 { "_unsigned_short","_short",0},
12002 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
12003 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
12004 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
12005 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
12006 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
12007 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
12008 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
12009 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
12010 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
12011 { "_signed_short","_WXTYPE",0},
12012 { "_signed_short","_short",0},
12013 { "_unsigned_char","_byte",0},
12014 { "_unsigned_int","_wxCoord",0},
12015 { "_unsigned_int","_wxPrintQuality",0},
12016 { "_unsigned_int","_time_t",0},
12017 { "_unsigned_int","_size_t",0},
12018 { "_unsigned_int","_uint",0},
12019 { "_unsigned_int","_wxWindowID",0},
12020 { "_unsigned_int","_int",0},
12021 { "_short","_WXTYPE",0},
12022 { "_short","_unsigned_short",0},
12023 { "_short","_signed_short",0},
12024 { "_wxWindowID","_wxCoord",0},
12025 { "_wxWindowID","_wxPrintQuality",0},
12026 { "_wxWindowID","_time_t",0},
12027 { "_wxWindowID","_size_t",0},
12028 { "_wxWindowID","_EBool",0},
12029 { "_wxWindowID","_uint",0},
12030 { "_wxWindowID","_int",0},
12031 { "_wxWindowID","_signed_int",0},
12032 { "_wxWindowID","_unsigned_int",0},
12033 { "_int","_wxCoord",0},
12034 { "_int","_wxPrintQuality",0},
12035 { "_int","_time_t",0},
12036 { "_int","_size_t",0},
12037 { "_int","_EBool",0},
12038 { "_int","_uint",0},
12039 { "_int","_wxWindowID",0},
12040 { "_int","_unsigned_int",0},
12041 { "_int","_signed_int",0},
12042 { "_time_t","_wxCoord",0},
12043 { "_time_t","_wxPrintQuality",0},
12044 { "_time_t","_unsigned_int",0},
12045 { "_time_t","_int",0},
12046 { "_time_t","_wxWindowID",0},
12047 { "_time_t","_uint",0},
12048 { "_time_t","_size_t",0},
12049 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
12050 { "_wxCoord","_int",0},
12051 { "_wxCoord","_signed_int",0},
12052 { "_wxCoord","_unsigned_int",0},
12053 { "_wxCoord","_wxWindowID",0},
12054 { "_wxCoord","_uint",0},
12055 { "_wxCoord","_EBool",0},
12056 { "_wxCoord","_size_t",0},
12057 { "_wxCoord","_time_t",0},
12058 { "_wxCoord","_wxPrintQuality",0},
12059 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
12060 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
12061 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
12062 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
12063 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
12064 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
12065 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
12066 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
12067 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
12068 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
12071 static PyObject
*SWIG_globals
;
12075 SWIGEXPORT(void) initwindowsc() {
12077 SWIG_globals
= SWIG_newvarlink();
12078 m
= Py_InitModule("windowsc", windowscMethods
);
12079 d
= PyModule_GetDict(m
);
12082 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12083 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);