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_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4038 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4042 PyObject
* _argo0
= 0;
4043 char *_kwnames
[] = { "self", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) return NULL
;
4061 } _resultobj
= Py_BuildValue("i",_result
);
4065 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4066 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4070 PyObject
* _argo0
= 0;
4071 PyObject
* _argo1
= 0;
4072 char *_kwnames
[] = { "self","font", NULL
};
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4085 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4086 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 wxWindow_SetFont(_arg0
,*_arg1
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) return NULL
;
4097 } Py_INCREF(Py_None
);
4098 _resultobj
= Py_None
;
4102 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4103 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4107 PyObject
* _argo0
= 0;
4109 PyObject
* _obj1
= 0;
4110 char *_kwnames
[] = { "self","colour", NULL
};
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4124 if (! wxColour_helper(_obj1
, &_arg1
))
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) return NULL
;
4133 } Py_INCREF(Py_None
);
4134 _resultobj
= Py_None
;
4138 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4139 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4143 PyObject
* _argo0
= 0;
4144 char *_kwnames
[] = { "self","id", NULL
};
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 wxWindow_SetId(_arg0
,_arg1
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) return NULL
;
4162 } Py_INCREF(Py_None
);
4163 _resultobj
= Py_None
;
4167 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4168 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
* _resultobj
;
4172 PyObject
* _argo0
= 0;
4173 PyObject
* _obj1
= 0;
4174 char *_kwnames
[] = { "self","name", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4187 _arg1
= wxString_in_helper(_obj1
);
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 wxWindow_SetName(_arg0
,*_arg1
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) return NULL
;
4197 } Py_INCREF(Py_None
);
4198 _resultobj
= Py_None
;
4206 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4207 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
* _resultobj
;
4214 int _arg5
= (int ) TRUE
;
4215 PyObject
* _argo0
= 0;
4216 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) return NULL
;
4234 } Py_INCREF(Py_None
);
4235 _resultobj
= Py_None
;
4239 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4240 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
* _resultobj
;
4245 bool _arg3
= (bool ) TRUE
;
4246 PyObject
* _argo0
= 0;
4247 int tempbool3
= (int) TRUE
;
4248 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4260 _arg3
= (bool ) tempbool3
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) return NULL
;
4267 } Py_INCREF(Py_None
);
4268 _resultobj
= Py_None
;
4272 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4273 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
* _resultobj
;
4280 int _arg5
= (int ) wxSIZE_AUTO
;
4281 PyObject
* _argo0
= 0;
4282 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) return NULL
;
4300 } Py_INCREF(Py_None
);
4301 _resultobj
= Py_None
;
4305 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4306 self
->SetSize(size
);
4308 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
* _resultobj
;
4312 PyObject
* _argo0
= 0;
4314 PyObject
* _obj1
= 0;
4315 char *_kwnames
[] = { "self","size", NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4329 if (! wxSize_helper(_obj1
, &_arg1
))
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 wxWindow_SetSize(_arg0
,*_arg1
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) return NULL
;
4338 } Py_INCREF(Py_None
);
4339 _resultobj
= Py_None
;
4343 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4344 self
->Move(pos
, flags
);
4346 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
* _resultobj
;
4350 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4351 PyObject
* _argo0
= 0;
4353 PyObject
* _obj1
= 0;
4354 char *_kwnames
[] = { "self","pos","flags", NULL
};
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4368 if (! wxPoint_helper(_obj1
, &_arg1
))
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) return NULL
;
4377 } Py_INCREF(Py_None
);
4378 _resultobj
= Py_None
;
4382 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4383 self
->SetSize(rect
, sizeFlags
);
4385 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
* _resultobj
;
4389 int _arg2
= (int ) wxSIZE_AUTO
;
4390 PyObject
* _argo0
= 0;
4392 PyObject
* _obj1
= 0;
4393 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4407 if (! wxRect_helper(_obj1
, &_arg1
))
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) return NULL
;
4416 } Py_INCREF(Py_None
);
4417 _resultobj
= Py_None
;
4421 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4422 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4425 int _arg1
= (int ) -1;
4426 int _arg2
= (int ) -1;
4427 int _arg3
= (int ) -1;
4428 int _arg4
= (int ) -1;
4429 int _arg5
= (int ) -1;
4430 int _arg6
= (int ) -1;
4431 PyObject
* _argo0
= 0;
4432 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) return NULL
;
4450 } Py_INCREF(Py_None
);
4451 _resultobj
= Py_None
;
4455 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4456 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
* _resultobj
;
4461 PyObject
* _argo0
= 0;
4462 char *_kwnames
[] = { "self","width","height", NULL
};
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) return NULL
;
4480 } Py_INCREF(Py_None
);
4481 _resultobj
= Py_None
;
4485 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4486 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4490 PyObject
* _argo0
= 0;
4492 PyObject
* _obj1
= 0;
4493 char *_kwnames
[] = { "self","size", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4507 if (! wxSize_helper(_obj1
, &_arg1
))
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 wxWindow_SetClientSize(_arg0
,*_arg1
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) return NULL
;
4516 } Py_INCREF(Py_None
);
4517 _resultobj
= Py_None
;
4521 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4522 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4526 PyObject
* _argo0
= 0;
4527 PyObject
* _argo1
= 0;
4528 char *_kwnames
[] = { "self","cursor", NULL
};
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 wxWindow_SetCursor(_arg0
,*_arg1
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) return NULL
;
4553 } Py_INCREF(Py_None
);
4554 _resultobj
= Py_None
;
4558 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4559 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
* _resultobj
;
4562 wxEvtHandler
* _arg1
;
4563 PyObject
* _argo0
= 0;
4564 PyObject
* _argo1
= 0;
4565 char *_kwnames
[] = { "self","handler", NULL
};
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4578 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 wxWindow_SetEventHandler(_arg0
,_arg1
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) return NULL
;
4590 } Py_INCREF(Py_None
);
4591 _resultobj
= Py_None
;
4595 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4596 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
* _resultobj
;
4600 PyObject
* _argo0
= 0;
4601 char *_kwnames
[] = { "self","exStyle", NULL
};
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) return NULL
;
4619 } Py_INCREF(Py_None
);
4620 _resultobj
= Py_None
;
4624 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4625 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4629 PyObject
* _argo0
= 0;
4630 PyObject
* _obj1
= 0;
4631 char *_kwnames
[] = { "self","title", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4644 _arg1
= wxString_in_helper(_obj1
);
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 wxWindow_SetTitle(_arg0
,*_arg1
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) return NULL
;
4654 } Py_INCREF(Py_None
);
4655 _resultobj
= Py_None
;
4663 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4664 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
* _resultobj
;
4668 bool _arg1
= (bool ) TRUE
;
4669 PyObject
* _argo0
= 0;
4670 int tempbool1
= (int) TRUE
;
4671 char *_kwnames
[] = { "self","show", NULL
};
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4683 _arg1
= (bool ) tempbool1
;
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) return NULL
;
4690 } _resultobj
= Py_BuildValue("i",_result
);
4694 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4695 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4699 PyObject
* _argo0
= 0;
4700 char *_kwnames
[] = { "self", NULL
};
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) return NULL
;
4718 } _resultobj
= Py_BuildValue("i",_result
);
4722 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4723 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
* _resultobj
;
4727 PyObject
* _argo0
= 0;
4728 char *_kwnames
[] = { "self", NULL
};
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) return NULL
;
4746 } _resultobj
= Py_BuildValue("i",_result
);
4750 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4751 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4754 PyObject
* _argo0
= 0;
4755 char *_kwnames
[] = { "self", NULL
};
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
4761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 wxWindow_UpdateWindowUI(_arg0
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) return NULL
;
4773 } Py_INCREF(Py_None
);
4774 _resultobj
= Py_None
;
4778 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4779 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
* _resultobj
;
4783 PyObject
* _argo0
= 0;
4784 char *_kwnames
[] = { "self", NULL
};
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 _result
= (bool )wxWindow_Validate(_arg0
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) return NULL
;
4802 } _resultobj
= Py_BuildValue("i",_result
);
4806 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4807 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
* _resultobj
;
4812 PyObject
* _argo0
= 0;
4814 PyObject
* _obj1
= 0;
4815 char *_kwnames
[] = { "self","pt", NULL
};
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4830 if (! wxPoint_helper(_obj1
, &_arg1
))
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) return NULL
;
4839 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4840 _resultobj
= Py_BuildValue("s",_ptemp
);
4844 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4845 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
* _resultobj
;
4850 PyObject
* _argo0
= 0;
4852 PyObject
* _obj1
= 0;
4853 char *_kwnames
[] = { "self","sz", NULL
};
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4868 if (! wxSize_helper(_obj1
, &_arg1
))
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) return NULL
;
4877 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4878 _resultobj
= Py_BuildValue("s",_ptemp
);
4882 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4883 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4888 PyObject
* _argo0
= 0;
4890 PyObject
* _obj1
= 0;
4891 char *_kwnames
[] = { "self","pt", NULL
};
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4906 if (! wxPoint_helper(_obj1
, &_arg1
))
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) return NULL
;
4915 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4916 _resultobj
= Py_BuildValue("s",_ptemp
);
4920 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4921 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
* _resultobj
;
4926 PyObject
* _argo0
= 0;
4928 PyObject
* _obj1
= 0;
4929 char *_kwnames
[] = { "self","sz", NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4944 if (! wxSize_helper(_obj1
, &_arg1
))
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) return NULL
;
4953 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4954 _resultobj
= Py_BuildValue("s",_ptemp
);
4958 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4959 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4963 PyObject
* _argo0
= 0;
4964 PyObject
* _obj1
= 0;
4965 char *_kwnames
[] = { "self","tip", NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4978 _arg1
= wxString_in_helper(_obj1
);
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) return NULL
;
4988 } Py_INCREF(Py_None
);
4989 _resultobj
= Py_None
;
4997 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4998 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
* _resultobj
;
5002 PyObject
* _argo0
= 0;
5003 PyObject
* _argo1
= 0;
5004 char *_kwnames
[] = { "self","tooltip", NULL
};
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 wxWindow_SetToolTip(_arg0
,_arg1
);
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) return NULL
;
5029 } Py_INCREF(Py_None
);
5030 _resultobj
= Py_None
;
5034 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5035 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
* _resultobj
;
5037 wxToolTip
* _result
;
5039 PyObject
* _argo0
= 0;
5040 char *_kwnames
[] = { "self", NULL
};
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) return NULL
;
5058 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5062 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5063 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
* _resultobj
;
5067 bool _arg2
= (bool ) TRUE
;
5068 PyObject
* _argo0
= 0;
5069 PyObject
* _argo1
= 0;
5070 int tempbool2
= (int) TRUE
;
5071 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5084 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5085 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5090 _arg2
= (bool ) tempbool2
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) return NULL
;
5097 } Py_INCREF(Py_None
);
5098 _resultobj
= Py_None
;
5102 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5103 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
* _resultobj
;
5107 PyObject
* _argo0
= 0;
5108 char *_kwnames
[] = { "self", NULL
};
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) return NULL
;
5126 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5130 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5131 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5135 PyObject
* _argo0
= 0;
5136 PyObject
* _argo1
= 0;
5137 char *_kwnames
[] = { "self","sizer", NULL
};
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5150 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) return NULL
;
5162 } Py_INCREF(Py_None
);
5163 _resultobj
= Py_None
;
5167 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5168 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
* _resultobj
;
5172 PyObject
* _argo0
= 0;
5173 char *_kwnames
[] = { "self", NULL
};
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) return NULL
;
5191 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5195 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5196 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
* _resultobj
;
5198 wxValidator
* _result
;
5200 PyObject
* _argo0
= 0;
5201 char *_kwnames
[] = { "self", NULL
};
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) return NULL
;
5219 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5223 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5224 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
* _resultobj
;
5227 wxValidator
* _arg1
;
5228 PyObject
* _argo0
= 0;
5229 PyObject
* _argo1
= 0;
5230 char *_kwnames
[] = { "self","validator", NULL
};
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 wxWindow_SetValidator(_arg0
,*_arg1
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) return NULL
;
5255 } Py_INCREF(Py_None
);
5256 _resultobj
= Py_None
;
5260 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5261 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
* _resultobj
;
5264 wxDropTarget
* _arg1
;
5265 PyObject
* _argo0
= 0;
5266 PyObject
* _argo1
= 0;
5267 char *_kwnames
[] = { "self","target", NULL
};
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 wxWindow_SetDropTarget(_arg0
,_arg1
);
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) return NULL
;
5292 } Py_INCREF(Py_None
);
5293 _resultobj
= Py_None
;
5297 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5298 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
* _resultobj
;
5300 wxDropTarget
* _result
;
5302 PyObject
* _argo0
= 0;
5303 char *_kwnames
[] = { "self", NULL
};
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) return NULL
;
5323 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5324 _resultobj
= Py_BuildValue("s",_ptemp
);
5327 _resultobj
= Py_None
;
5332 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5333 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
* _resultobj
;
5337 PyObject
* _argo0
= 0;
5338 char *_kwnames
[] = { "self", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) return NULL
;
5357 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5358 _resultobj
= Py_BuildValue("s",_ptemp
);
5362 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5363 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5367 PyObject
* _argo0
= 0;
5368 char *_kwnames
[] = { "self", NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) return NULL
;
5387 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5388 _resultobj
= Py_BuildValue("s",_ptemp
);
5392 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5393 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
* _resultobj
;
5397 PyObject
* _argo0
= 0;
5398 PyObject
* _argo1
= 0;
5399 char *_kwnames
[] = { "self","caret", NULL
};
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 wxWindow_SetCaret(_arg0
,_arg1
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) return NULL
;
5424 } Py_INCREF(Py_None
);
5425 _resultobj
= Py_None
;
5429 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5430 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
* _resultobj
;
5434 PyObject
* _argo0
= 0;
5435 char *_kwnames
[] = { "self", NULL
};
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) return NULL
;
5455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5456 _resultobj
= Py_BuildValue("s",_ptemp
);
5459 _resultobj
= Py_None
;
5464 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5465 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
* _resultobj
;
5468 PyObject
* _argo0
= 0;
5469 char *_kwnames
[] = { "self", NULL
};
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 wxWindow_Freeze(_arg0
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) return NULL
;
5487 } Py_INCREF(Py_None
);
5488 _resultobj
= Py_None
;
5492 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5493 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
* _resultobj
;
5496 PyObject
* _argo0
= 0;
5497 char *_kwnames
[] = { "self", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 wxWindow_Thaw(_arg0
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) return NULL
;
5515 } Py_INCREF(Py_None
);
5516 _resultobj
= Py_None
;
5520 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5521 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
* _resultobj
;
5524 PyObject
* _argo0
= 0;
5525 char *_kwnames
[] = { "self", NULL
};
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 wxWindow_Update(_arg0
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) return NULL
;
5543 } Py_INCREF(Py_None
);
5544 _resultobj
= Py_None
;
5548 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5549 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
* _resultobj
;
5553 PyObject
* _argo0
= 0;
5554 char *_kwnames
[] = { "self", NULL
};
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) return NULL
;
5574 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5576 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5585 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5586 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
* _resultobj
;
5590 PyObject
* _argo0
= 0;
5591 PyObject
* _obj1
= 0;
5592 char *_kwnames
[] = { "self","helpText", NULL
};
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5605 _arg1
= wxString_in_helper(_obj1
);
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 wxWindow_SetHelpText(_arg0
,*_arg1
);
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) return NULL
;
5615 } Py_INCREF(Py_None
);
5616 _resultobj
= Py_None
;
5624 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5625 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
* _resultobj
;
5629 PyObject
* _argo0
= 0;
5630 PyObject
* _obj1
= 0;
5631 char *_kwnames
[] = { "self","text", NULL
};
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
5637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5644 _arg1
= wxString_in_helper(_obj1
);
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) return NULL
;
5654 } Py_INCREF(Py_None
);
5655 _resultobj
= Py_None
;
5663 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5664 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5669 PyObject
* _argo0
= 0;
5670 char *_kwnames
[] = { "self","lines", NULL
};
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) return NULL
;
5688 } _resultobj
= Py_BuildValue("i",_result
);
5692 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5693 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
* _resultobj
;
5698 PyObject
* _argo0
= 0;
5699 char *_kwnames
[] = { "self","pages", NULL
};
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
5705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) return NULL
;
5717 } _resultobj
= Py_BuildValue("i",_result
);
5721 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5722 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
* _resultobj
;
5726 PyObject
* _argo0
= 0;
5727 char *_kwnames
[] = { "self", NULL
};
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 _result
= (bool )wxWindow_LineUp(_arg0
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) return NULL
;
5745 } _resultobj
= Py_BuildValue("i",_result
);
5749 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5750 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5754 PyObject
* _argo0
= 0;
5755 char *_kwnames
[] = { "self", NULL
};
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
5761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 _result
= (bool )wxWindow_LineDown(_arg0
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) return NULL
;
5773 } _resultobj
= Py_BuildValue("i",_result
);
5777 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5778 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
* _resultobj
;
5782 PyObject
* _argo0
= 0;
5783 char *_kwnames
[] = { "self", NULL
};
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
5789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 _result
= (bool )wxWindow_PageUp(_arg0
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) return NULL
;
5801 } _resultobj
= Py_BuildValue("i",_result
);
5805 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5806 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
* _resultobj
;
5810 PyObject
* _argo0
= 0;
5811 char *_kwnames
[] = { "self", NULL
};
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
5817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 _result
= (bool )wxWindow_PageDown(_arg0
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) return NULL
;
5829 } _resultobj
= Py_BuildValue("i",_result
);
5833 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
* _resultobj
;
5836 char *_kwnames
[] = { NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 _result
= (wxWindow
*)wxWindow::FindFocus();
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) return NULL
;
5847 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5851 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
* _resultobj
;
5854 char *_kwnames
[] = { NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 _result
= (int )wxWindow::NewControlId();
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) return NULL
;
5865 } _resultobj
= Py_BuildValue("i",_result
);
5869 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5873 char *_kwnames
[] = { "id", NULL
};
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 _result
= (int )wxWindow::NextControlId(_arg0
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) return NULL
;
5884 } _resultobj
= Py_BuildValue("i",_result
);
5888 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
* _resultobj
;
5892 char *_kwnames
[] = { "id", NULL
};
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 _result
= (int )wxWindow::PrevControlId(_arg0
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) return NULL
;
5903 } _resultobj
= Py_BuildValue("i",_result
);
5907 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
5908 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
* _resultobj
;
5911 wxAcceleratorTable
* _arg1
;
5912 PyObject
* _argo0
= 0;
5913 PyObject
* _argo1
= 0;
5914 char *_kwnames
[] = { "self","accel", NULL
};
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
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_SetAcceleratorTable. Expected _wxWindow_p.");
5927 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5928 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
5929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) return NULL
;
5939 } Py_INCREF(Py_None
);
5940 _resultobj
= Py_None
;
5944 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
5945 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
* _resultobj
;
5947 wxAcceleratorTable
* _result
;
5949 PyObject
* _argo0
= 0;
5950 char *_kwnames
[] = { "self", NULL
};
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
5957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) return NULL
;
5970 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
5971 _resultobj
= Py_BuildValue("s",_ptemp
);
5974 _resultobj
= Py_None
;
5979 #define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
5980 static PyObject
*_wrap_wxWindow_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5983 wxPaintEvent
* _arg1
;
5984 PyObject
* _argo0
= 0;
5985 PyObject
* _argo1
= 0;
5986 char *_kwnames
[] = { "self","event", NULL
};
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_OnPaint",_kwnames
,&_argo0
,&_argo1
))
5992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
5999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaintEvent_p")) {
6001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 wxWindow_OnPaint(_arg0
,*_arg1
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) return NULL
;
6011 } Py_INCREF(Py_None
);
6012 _resultobj
= Py_None
;
6016 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6017 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
* _resultobj
;
6021 PyObject
* _argo0
= 0;
6022 char *_kwnames
[] = { "self", NULL
};
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) return NULL
;
6040 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6044 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6045 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
* _resultobj
;
6050 PyObject
* _argo0
= 0;
6051 PyObject
* _argo1
= 0;
6052 char *_kwnames
[] = { "self","btn", NULL
};
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) return NULL
;
6077 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6081 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6082 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
* _resultobj
;
6087 PyObject
* _argo0
= 0;
6088 char *_kwnames
[] = { "self","x","y", NULL
};
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) return NULL
;
6106 } Py_INCREF(Py_None
);
6107 _resultobj
= Py_None
;
6111 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6112 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
* _resultobj
;
6115 PyObject
* _argo0
= 0;
6116 char *_kwnames
[] = { "self", NULL
};
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
6122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 wxWindow_CaptureMouse(_arg0
);
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) return NULL
;
6134 } Py_INCREF(Py_None
);
6135 _resultobj
= Py_None
;
6139 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6140 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
* _resultobj
;
6143 PyObject
* _argo0
= 0;
6144 char *_kwnames
[] = { "self", NULL
};
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
6150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 wxWindow_ReleaseMouse(_arg0
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) return NULL
;
6162 } Py_INCREF(Py_None
);
6163 _resultobj
= Py_None
;
6167 static PyObject
*_wrap_wxWindow_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
* _resultobj
;
6170 char *_kwnames
[] = { NULL
};
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_GetCapture",_kwnames
))
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 _result
= (wxWindow
*)wxWindow::GetCapture();
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) return NULL
;
6181 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6185 #define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6186 static PyObject
*_wrap_wxWindow_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
* _resultobj
;
6190 PyObject
* _argo0
= 0;
6191 char *_kwnames
[] = { "self", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_HasCapture",_kwnames
,&_argo0
))
6197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 _result
= (bool )wxWindow_HasCapture(_arg0
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) return NULL
;
6209 } _resultobj
= Py_BuildValue("i",_result
);
6213 static void *SwigwxPanelTowxWindow(void *ptr
) {
6216 src
= (wxPanel
*) ptr
;
6217 dest
= (wxWindow
*) src
;
6218 return (void *) dest
;
6221 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6224 src
= (wxPanel
*) ptr
;
6225 dest
= (wxEvtHandler
*) src
;
6226 return (void *) dest
;
6229 static void *SwigwxPanelTowxObject(void *ptr
) {
6232 src
= (wxPanel
*) ptr
;
6233 dest
= (wxObject
*) src
;
6234 return (void *) dest
;
6237 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6238 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
* _resultobj
;
6243 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6244 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6245 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6246 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6247 PyObject
* _argo0
= 0;
6249 PyObject
* _obj2
= 0;
6251 PyObject
* _obj3
= 0;
6252 PyObject
* _obj5
= 0;
6253 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6269 if (! wxPoint_helper(_obj2
, &_arg2
))
6275 if (! wxSize_helper(_obj3
, &_arg3
))
6280 _arg5
= wxString_in_helper(_obj5
);
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) return NULL
;
6291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6292 _resultobj
= Py_BuildValue("s",_ptemp
);
6295 _resultobj
= Py_None
;
6304 #define new_wxPrePanel() (new wxPanel())
6305 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
* _resultobj
;
6308 char *_kwnames
[] = { NULL
};
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 _result
= (wxPanel
*)new_wxPrePanel();
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) return NULL
;
6321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6322 _resultobj
= Py_BuildValue("s",_ptemp
);
6325 _resultobj
= Py_None
;
6330 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6331 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
* _resultobj
;
6337 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6338 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6339 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6340 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6341 PyObject
* _argo0
= 0;
6342 PyObject
* _argo1
= 0;
6344 PyObject
* _obj3
= 0;
6346 PyObject
* _obj4
= 0;
6347 PyObject
* _obj6
= 0;
6348 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6370 if (! wxPoint_helper(_obj3
, &_arg3
))
6376 if (! wxSize_helper(_obj4
, &_arg4
))
6381 _arg6
= wxString_in_helper(_obj6
);
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) return NULL
;
6391 } _resultobj
= Py_BuildValue("i",_result
);
6399 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6400 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
* _resultobj
;
6403 PyObject
* _argo0
= 0;
6404 char *_kwnames
[] = { "self", NULL
};
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 wxPanel_InitDialog(_arg0
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) return NULL
;
6422 } Py_INCREF(Py_None
);
6423 _resultobj
= Py_None
;
6427 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6428 wxScrolledWindow
*src
;
6430 src
= (wxScrolledWindow
*) ptr
;
6431 dest
= (wxPanel
*) src
;
6432 return (void *) dest
;
6435 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6436 wxScrolledWindow
*src
;
6438 src
= (wxScrolledWindow
*) ptr
;
6439 dest
= (wxWindow
*) src
;
6440 return (void *) dest
;
6443 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6444 wxScrolledWindow
*src
;
6446 src
= (wxScrolledWindow
*) ptr
;
6447 dest
= (wxEvtHandler
*) src
;
6448 return (void *) dest
;
6451 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6452 wxScrolledWindow
*src
;
6454 src
= (wxScrolledWindow
*) ptr
;
6455 dest
= (wxObject
*) src
;
6456 return (void *) dest
;
6459 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6460 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
* _resultobj
;
6462 wxScrolledWindow
* _result
;
6464 wxWindowID _arg1
= (wxWindowID
) -1;
6465 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6466 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6467 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6468 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6469 PyObject
* _argo0
= 0;
6471 PyObject
* _obj2
= 0;
6473 PyObject
* _obj3
= 0;
6474 PyObject
* _obj5
= 0;
6475 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6491 if (! wxPoint_helper(_obj2
, &_arg2
))
6497 if (! wxSize_helper(_obj3
, &_arg3
))
6502 _arg5
= wxString_in_helper(_obj5
);
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) return NULL
;
6513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6514 _resultobj
= Py_BuildValue("s",_ptemp
);
6517 _resultobj
= Py_None
;
6526 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6527 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
* _resultobj
;
6529 wxScrolledWindow
* _result
;
6530 char *_kwnames
[] = { NULL
};
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) return NULL
;
6543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6544 _resultobj
= Py_BuildValue("s",_ptemp
);
6547 _resultobj
= Py_None
;
6552 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6553 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
* _resultobj
;
6556 wxScrolledWindow
* _arg0
;
6558 wxWindowID _arg2
= (wxWindowID
) -1;
6559 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6560 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6561 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6562 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6563 PyObject
* _argo0
= 0;
6564 PyObject
* _argo1
= 0;
6566 PyObject
* _obj3
= 0;
6568 PyObject
* _obj4
= 0;
6569 PyObject
* _obj6
= 0;
6570 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6592 if (! wxPoint_helper(_obj3
, &_arg3
))
6598 if (! wxSize_helper(_obj4
, &_arg4
))
6603 _arg6
= wxString_in_helper(_obj6
);
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) return NULL
;
6613 } _resultobj
= Py_BuildValue("i",_result
);
6621 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6622 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
* _resultobj
;
6624 wxScrolledWindow
* _arg0
;
6627 PyObject
* _argo0
= 0;
6630 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6642 _arg1
= (bool ) tempbool1
;
6643 _arg2
= (bool ) tempbool2
;
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) return NULL
;
6650 } Py_INCREF(Py_None
);
6651 _resultobj
= Py_None
;
6655 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6656 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
* _resultobj
;
6659 wxScrolledWindow
* _arg0
;
6661 PyObject
* _argo0
= 0;
6662 char *_kwnames
[] = { "self","orient", NULL
};
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) return NULL
;
6680 } _resultobj
= Py_BuildValue("i",_result
);
6684 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6685 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
* _resultobj
;
6687 wxScrolledWindow
* _arg0
;
6692 PyObject
* _argo0
= 0;
6693 char *_kwnames
[] = { "self", NULL
};
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) return NULL
;
6717 } Py_INCREF(Py_None
);
6718 _resultobj
= Py_None
;
6721 o
= PyInt_FromLong((long) (*_arg1
));
6722 _resultobj
= t_output_helper(_resultobj
, o
);
6726 o
= PyInt_FromLong((long) (*_arg2
));
6727 _resultobj
= t_output_helper(_resultobj
, o
);
6732 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6733 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
* _resultobj
;
6736 wxScrolledWindow
* _arg0
;
6737 PyObject
* _argo0
= 0;
6738 char *_kwnames
[] = { "self", NULL
};
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) return NULL
;
6756 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6760 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6761 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6763 wxScrolledWindow
* _arg0
;
6768 PyObject
* _argo0
= 0;
6769 char *_kwnames
[] = { "self", NULL
};
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) return NULL
;
6793 } Py_INCREF(Py_None
);
6794 _resultobj
= Py_None
;
6797 o
= PyInt_FromLong((long) (*_arg1
));
6798 _resultobj
= t_output_helper(_resultobj
, o
);
6802 o
= PyInt_FromLong((long) (*_arg2
));
6803 _resultobj
= t_output_helper(_resultobj
, o
);
6808 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6809 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
* _resultobj
;
6812 wxScrolledWindow
* _arg0
;
6813 PyObject
* _argo0
= 0;
6814 char *_kwnames
[] = { "self", NULL
};
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) return NULL
;
6832 } _resultobj
= Py_BuildValue("i",_result
);
6836 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6837 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
* _resultobj
;
6839 wxScrolledWindow
* _arg0
;
6841 PyObject
* _argo0
= 0;
6842 PyObject
* _argo1
= 0;
6843 char *_kwnames
[] = { "self","dc", NULL
};
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6856 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6857 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) return NULL
;
6868 } Py_INCREF(Py_None
);
6869 _resultobj
= Py_None
;
6873 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6874 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
* _resultobj
;
6876 wxScrolledWindow
* _arg0
;
6879 PyObject
* _argo0
= 0;
6880 char *_kwnames
[] = { "self","x","y", NULL
};
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) return NULL
;
6898 } Py_INCREF(Py_None
);
6899 _resultobj
= Py_None
;
6903 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6904 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
* _resultobj
;
6906 wxScrolledWindow
* _arg0
;
6911 int _arg5
= (int ) 0;
6912 int _arg6
= (int ) 0;
6913 int _arg7
= (int ) FALSE
;
6914 PyObject
* _argo0
= 0;
6915 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) return NULL
;
6933 } Py_INCREF(Py_None
);
6934 _resultobj
= Py_None
;
6938 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6939 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
* _resultobj
;
6941 wxScrolledWindow
* _arg0
;
6944 PyObject
* _argo0
= 0;
6945 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) return NULL
;
6963 } Py_INCREF(Py_None
);
6964 _resultobj
= Py_None
;
6968 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6969 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
* _resultobj
;
6971 wxScrolledWindow
* _arg0
;
6973 PyObject
* _argo0
= 0;
6974 PyObject
* _argo1
= 0;
6975 char *_kwnames
[] = { "self","window", NULL
};
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) return NULL
;
7000 } Py_INCREF(Py_None
);
7001 _resultobj
= Py_None
;
7005 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7006 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
* _resultobj
;
7008 wxScrolledWindow
* _arg0
;
7013 PyObject
* _argo0
= 0;
7014 char *_kwnames
[] = { "self", NULL
};
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
7026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) return NULL
;
7038 } Py_INCREF(Py_None
);
7039 _resultobj
= Py_None
;
7042 o
= PyInt_FromLong((long) (*_arg1
));
7043 _resultobj
= t_output_helper(_resultobj
, o
);
7047 o
= PyInt_FromLong((long) (*_arg2
));
7048 _resultobj
= t_output_helper(_resultobj
, o
);
7053 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7054 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
* _resultobj
;
7057 wxScrolledWindow
* _arg0
;
7059 PyObject
* _argo0
= 0;
7061 PyObject
* _obj1
= 0;
7062 char *_kwnames
[] = { "self","pt", NULL
};
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7077 if (! wxPoint_helper(_obj1
, &_arg1
))
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) return NULL
;
7086 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7087 _resultobj
= Py_BuildValue("s",_ptemp
);
7091 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7092 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
* _resultobj
;
7094 wxScrolledWindow
* _arg0
;
7101 PyObject
* _argo0
= 0;
7102 char *_kwnames
[] = { "self","x","y", NULL
};
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) return NULL
;
7126 } Py_INCREF(Py_None
);
7127 _resultobj
= Py_None
;
7130 o
= PyInt_FromLong((long) (*_arg3
));
7131 _resultobj
= t_output_helper(_resultobj
, o
);
7135 o
= PyInt_FromLong((long) (*_arg4
));
7136 _resultobj
= t_output_helper(_resultobj
, o
);
7141 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7142 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
* _resultobj
;
7145 wxScrolledWindow
* _arg0
;
7147 PyObject
* _argo0
= 0;
7149 PyObject
* _obj1
= 0;
7150 char *_kwnames
[] = { "self","pt", NULL
};
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7165 if (! wxPoint_helper(_obj1
, &_arg1
))
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) return NULL
;
7174 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7175 _resultobj
= Py_BuildValue("s",_ptemp
);
7179 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7180 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
* _resultobj
;
7182 wxScrolledWindow
* _arg0
;
7189 PyObject
* _argo0
= 0;
7190 char *_kwnames
[] = { "self","x","y", NULL
};
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) return NULL
;
7214 } Py_INCREF(Py_None
);
7215 _resultobj
= Py_None
;
7218 o
= PyInt_FromLong((long) (*_arg3
));
7219 _resultobj
= t_output_helper(_resultobj
, o
);
7223 o
= PyInt_FromLong((long) (*_arg4
));
7224 _resultobj
= t_output_helper(_resultobj
, o
);
7229 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7230 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
* _resultobj
;
7232 wxScrolledWindow
* _arg0
;
7235 PyObject
* _argo0
= 0;
7236 char *_kwnames
[] = { "self","xs","ys", NULL
};
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) return NULL
;
7254 } Py_INCREF(Py_None
);
7255 _resultobj
= Py_None
;
7259 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7260 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
* _resultobj
;
7263 wxScrolledWindow
* _arg0
;
7264 PyObject
* _argo0
= 0;
7265 char *_kwnames
[] = { "self", NULL
};
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) return NULL
;
7283 } _resultobj
= Py_BuildValue("d",_result
);
7287 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7288 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
* _resultobj
;
7291 wxScrolledWindow
* _arg0
;
7292 PyObject
* _argo0
= 0;
7293 char *_kwnames
[] = { "self", NULL
};
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) return NULL
;
7311 } _resultobj
= Py_BuildValue("d",_result
);
7315 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7316 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
* _resultobj
;
7318 wxScrolledWindow
* _arg0
;
7319 PyObject
* _argo0
= 0;
7320 char *_kwnames
[] = { "self", NULL
};
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 wxScrolledWindow_AdjustScrollbars(_arg0
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) return NULL
;
7338 } Py_INCREF(Py_None
);
7339 _resultobj
= Py_None
;
7343 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7344 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
* _resultobj
;
7347 wxScrolledWindow
* _arg0
;
7348 PyObject
* _argo0
= 0;
7349 char *_kwnames
[] = { "self", NULL
};
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) return NULL
;
7367 } _resultobj
= Py_BuildValue("i",_result
);
7371 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7374 src
= (wxMenu
*) ptr
;
7375 dest
= (wxEvtHandler
*) src
;
7376 return (void *) dest
;
7379 static void *SwigwxMenuTowxObject(void *ptr
) {
7382 src
= (wxMenu
*) ptr
;
7383 dest
= (wxObject
*) src
;
7384 return (void *) dest
;
7387 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7388 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
* _resultobj
;
7391 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7392 long _arg1
= (long ) 0;
7393 PyObject
* _obj0
= 0;
7394 char *_kwnames
[] = { "title","style", NULL
};
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7402 _arg0
= wxString_in_helper(_obj0
);
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) return NULL
;
7413 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7414 _resultobj
= Py_BuildValue("s",_ptemp
);
7417 _resultobj
= Py_None
;
7426 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7427 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
* _resultobj
;
7432 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7433 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7434 PyObject
* _argo0
= 0;
7435 PyObject
* _obj2
= 0;
7436 PyObject
* _obj3
= 0;
7437 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7450 _arg2
= wxString_in_helper(_obj2
);
7456 _arg3
= wxString_in_helper(_obj3
);
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) return NULL
;
7466 } Py_INCREF(Py_None
);
7467 _resultobj
= Py_None
;
7479 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7480 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
* _resultobj
;
7486 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7487 PyObject
* _argo0
= 0;
7488 PyObject
* _obj2
= 0;
7489 PyObject
* _argo3
= 0;
7490 PyObject
* _obj4
= 0;
7491 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7504 _arg2
= wxString_in_helper(_obj2
);
7509 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7510 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7517 _arg4
= wxString_in_helper(_obj4
);
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) return NULL
;
7527 } Py_INCREF(Py_None
);
7528 _resultobj
= Py_None
;
7540 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7541 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
* _resultobj
;
7545 PyObject
* _argo0
= 0;
7546 PyObject
* _argo1
= 0;
7547 char *_kwnames
[] = { "self","item", NULL
};
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7560 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7561 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 wxMenu_AppendItem(_arg0
,_arg1
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) return NULL
;
7572 } Py_INCREF(Py_None
);
7573 _resultobj
= Py_None
;
7577 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7578 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
* _resultobj
;
7583 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7584 PyObject
* _argo0
= 0;
7585 PyObject
* _obj2
= 0;
7586 PyObject
* _obj3
= 0;
7587 char *_kwnames
[] = { "self","id","text","help", NULL
};
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7600 _arg2
= wxString_in_helper(_obj2
);
7606 _arg3
= wxString_in_helper(_obj3
);
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) return NULL
;
7616 } Py_INCREF(Py_None
);
7617 _resultobj
= Py_None
;
7629 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7630 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
* _resultobj
;
7635 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7636 PyObject
* _argo0
= 0;
7637 PyObject
* _obj2
= 0;
7638 PyObject
* _obj3
= 0;
7639 char *_kwnames
[] = { "self","id","text","help", NULL
};
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7652 _arg2
= wxString_in_helper(_obj2
);
7658 _arg3
= wxString_in_helper(_obj3
);
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) return NULL
;
7668 } Py_INCREF(Py_None
);
7669 _resultobj
= Py_None
;
7681 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7682 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
* _resultobj
;
7685 PyObject
* _argo0
= 0;
7686 char *_kwnames
[] = { "self", NULL
};
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 wxMenu_AppendSeparator(_arg0
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) return NULL
;
7704 } Py_INCREF(Py_None
);
7705 _resultobj
= Py_None
;
7709 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7710 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
* _resultobj
;
7716 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7717 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
7718 PyObject
* _argo0
= 0;
7719 PyObject
* _obj3
= 0;
7720 PyObject
* _obj4
= 0;
7721 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
7727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7734 _arg3
= wxString_in_helper(_obj3
);
7740 _arg4
= wxString_in_helper(_obj4
);
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) return NULL
;
7750 } Py_INCREF(Py_None
);
7751 _resultobj
= Py_None
;
7763 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7764 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
* _resultobj
;
7768 PyObject
* _argo0
= 0;
7769 char *_kwnames
[] = { "self","pos", NULL
};
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
7775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 wxMenu_InsertSeparator(_arg0
,_arg1
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) return NULL
;
7787 } Py_INCREF(Py_None
);
7788 _resultobj
= Py_None
;
7792 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7793 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
* _resultobj
;
7799 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7800 PyObject
* _argo0
= 0;
7801 PyObject
* _obj3
= 0;
7802 PyObject
* _obj4
= 0;
7803 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
7816 _arg3
= wxString_in_helper(_obj3
);
7822 _arg4
= wxString_in_helper(_obj4
);
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) return NULL
;
7832 } Py_INCREF(Py_None
);
7833 _resultobj
= Py_None
;
7845 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7846 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
* _resultobj
;
7852 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7853 PyObject
* _argo0
= 0;
7854 PyObject
* _obj3
= 0;
7855 PyObject
* _obj4
= 0;
7856 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
7869 _arg3
= wxString_in_helper(_obj3
);
7875 _arg4
= wxString_in_helper(_obj4
);
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) return NULL
;
7885 } Py_INCREF(Py_None
);
7886 _resultobj
= Py_None
;
7898 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7899 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
* _resultobj
;
7906 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
7907 PyObject
* _argo0
= 0;
7908 PyObject
* _obj3
= 0;
7909 PyObject
* _argo4
= 0;
7910 PyObject
* _obj5
= 0;
7911 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
7917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7924 _arg3
= wxString_in_helper(_obj3
);
7929 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7930 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
7931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7937 _arg5
= wxString_in_helper(_obj5
);
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) return NULL
;
7947 } Py_INCREF(Py_None
);
7948 _resultobj
= Py_None
;
7960 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7961 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
* _resultobj
;
7967 PyObject
* _argo0
= 0;
7968 PyObject
* _argo2
= 0;
7969 char *_kwnames
[] = { "self","pos","item", NULL
};
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
7982 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7983 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) return NULL
;
7994 } _resultobj
= Py_BuildValue("i",_result
);
7998 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7999 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
* _resultobj
;
8004 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8005 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
8006 PyObject
* _argo0
= 0;
8007 PyObject
* _obj2
= 0;
8008 PyObject
* _obj3
= 0;
8009 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
8015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
8022 _arg2
= wxString_in_helper(_obj2
);
8028 _arg3
= wxString_in_helper(_obj3
);
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) return NULL
;
8038 } Py_INCREF(Py_None
);
8039 _resultobj
= Py_None
;
8051 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8052 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
* _resultobj
;
8055 PyObject
* _argo0
= 0;
8056 char *_kwnames
[] = { "self", NULL
};
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
8062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 wxMenu_PrependSeparator(_arg0
);
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) return NULL
;
8074 } Py_INCREF(Py_None
);
8075 _resultobj
= Py_None
;
8079 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8080 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
* _resultobj
;
8085 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8086 PyObject
* _argo0
= 0;
8087 PyObject
* _obj2
= 0;
8088 PyObject
* _obj3
= 0;
8089 char *_kwnames
[] = { "self","id","text","help", NULL
};
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8102 _arg2
= wxString_in_helper(_obj2
);
8108 _arg3
= wxString_in_helper(_obj3
);
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) return NULL
;
8118 } Py_INCREF(Py_None
);
8119 _resultobj
= Py_None
;
8131 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8132 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
* _resultobj
;
8137 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8138 PyObject
* _argo0
= 0;
8139 PyObject
* _obj2
= 0;
8140 PyObject
* _obj3
= 0;
8141 char *_kwnames
[] = { "self","id","text","help", NULL
};
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8154 _arg2
= wxString_in_helper(_obj2
);
8160 _arg3
= wxString_in_helper(_obj3
);
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) return NULL
;
8170 } Py_INCREF(Py_None
);
8171 _resultobj
= Py_None
;
8183 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8184 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
* _resultobj
;
8190 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8191 PyObject
* _argo0
= 0;
8192 PyObject
* _obj2
= 0;
8193 PyObject
* _argo3
= 0;
8194 PyObject
* _obj4
= 0;
8195 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8208 _arg2
= wxString_in_helper(_obj2
);
8213 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8214 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8221 _arg4
= wxString_in_helper(_obj4
);
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) return NULL
;
8231 } Py_INCREF(Py_None
);
8232 _resultobj
= Py_None
;
8244 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8245 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
* _resultobj
;
8249 PyObject
* _argo0
= 0;
8250 PyObject
* _argo1
= 0;
8251 char *_kwnames
[] = { "self","item", NULL
};
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 wxMenu_PrependItem(_arg0
,_arg1
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) return NULL
;
8276 } Py_INCREF(Py_None
);
8277 _resultobj
= Py_None
;
8281 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8282 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
* _resultobj
;
8285 PyObject
* _argo0
= 0;
8286 char *_kwnames
[] = { "self", NULL
};
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 wxMenu_Break(_arg0
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) return NULL
;
8304 } Py_INCREF(Py_None
);
8305 _resultobj
= Py_None
;
8309 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8310 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
* _resultobj
;
8315 PyObject
* _argo0
= 0;
8317 char *_kwnames
[] = { "self","id","flag", NULL
};
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8329 _arg2
= (bool ) tempbool2
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) return NULL
;
8336 } Py_INCREF(Py_None
);
8337 _resultobj
= Py_None
;
8341 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8342 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
* _resultobj
;
8347 PyObject
* _argo0
= 0;
8348 char *_kwnames
[] = { "self","id", NULL
};
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) return NULL
;
8366 } _resultobj
= Py_BuildValue("i",_result
);
8370 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8371 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8372 PyObject
* _resultobj
;
8376 PyObject
* _argo0
= 0;
8378 char *_kwnames
[] = { "self","id","enable", NULL
};
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8390 _arg2
= (bool ) tempbool2
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) return NULL
;
8397 } Py_INCREF(Py_None
);
8398 _resultobj
= Py_None
;
8402 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8403 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
* _resultobj
;
8408 PyObject
* _argo0
= 0;
8409 char *_kwnames
[] = { "self","id", NULL
};
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) return NULL
;
8427 } _resultobj
= Py_BuildValue("i",_result
);
8431 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8432 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
* _resultobj
;
8437 PyObject
* _argo0
= 0;
8438 PyObject
* _obj1
= 0;
8439 char *_kwnames
[] = { "self","itemString", NULL
};
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8452 _arg1
= wxString_in_helper(_obj1
);
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) return NULL
;
8462 } _resultobj
= Py_BuildValue("i",_result
);
8470 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8471 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
* _resultobj
;
8473 wxMenuItem
* _result
;
8476 PyObject
* _argo0
= 0;
8477 char *_kwnames
[] = { "self","id", NULL
};
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) return NULL
;
8495 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8499 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8500 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
* _resultobj
;
8504 PyObject
* _argo0
= 0;
8505 char *_kwnames
[] = { "self", NULL
};
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) return NULL
;
8525 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8527 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8536 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8537 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
* _resultobj
;
8541 PyObject
* _argo0
= 0;
8542 PyObject
* _obj1
= 0;
8543 char *_kwnames
[] = { "self","title", NULL
};
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8556 _arg1
= wxString_in_helper(_obj1
);
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 wxMenu_SetTitle(_arg0
,*_arg1
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) return NULL
;
8566 } Py_INCREF(Py_None
);
8567 _resultobj
= Py_None
;
8575 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8576 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
* _resultobj
;
8581 PyObject
* _argo0
= 0;
8582 char *_kwnames
[] = { "self","id", NULL
};
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) return NULL
;
8602 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8604 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8613 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8614 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
* _resultobj
;
8619 PyObject
* _argo0
= 0;
8620 PyObject
* _obj2
= 0;
8621 char *_kwnames
[] = { "self","id","label", NULL
};
8624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8634 _arg2
= wxString_in_helper(_obj2
);
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) return NULL
;
8644 } Py_INCREF(Py_None
);
8645 _resultobj
= Py_None
;
8653 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8654 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
* _resultobj
;
8659 PyObject
* _argo0
= 0;
8660 char *_kwnames
[] = { "self","id", NULL
};
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) return NULL
;
8680 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8682 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8691 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8692 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
* _resultobj
;
8697 PyObject
* _argo0
= 0;
8698 PyObject
* _obj2
= 0;
8699 char *_kwnames
[] = { "self","id","helpString", NULL
};
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8712 _arg2
= wxString_in_helper(_obj2
);
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) return NULL
;
8722 } Py_INCREF(Py_None
);
8723 _resultobj
= Py_None
;
8731 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8732 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
* _resultobj
;
8735 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
8736 PyObject
* _argo0
= 0;
8737 PyObject
* _argo1
= 0;
8738 char *_kwnames
[] = { "self","source", NULL
};
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
8744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 wxMenu_UpdateUI(_arg0
,_arg1
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) return NULL
;
8763 } Py_INCREF(Py_None
);
8764 _resultobj
= Py_None
;
8768 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8769 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
* _resultobj
;
8774 PyObject
* _argo0
= 0;
8775 char *_kwnames
[] = { "self","id", NULL
};
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
8781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) return NULL
;
8793 } _resultobj
= Py_BuildValue("i",_result
);
8797 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8798 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
* _resultobj
;
8803 PyObject
* _argo0
= 0;
8804 PyObject
* _argo1
= 0;
8805 char *_kwnames
[] = { "self","item", NULL
};
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
8811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) return NULL
;
8830 } _resultobj
= Py_BuildValue("i",_result
);
8834 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8835 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
* _resultobj
;
8837 wxMenuItem
* _result
;
8840 PyObject
* _argo0
= 0;
8841 char *_kwnames
[] = { "self","id", NULL
};
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
8847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) return NULL
;
8859 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8863 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8864 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
* _resultobj
;
8866 wxMenuItem
* _result
;
8869 PyObject
* _argo0
= 0;
8870 PyObject
* _argo1
= 0;
8871 char *_kwnames
[] = { "self","item", NULL
};
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
8877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
8884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) return NULL
;
8896 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8900 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
8901 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
* _resultobj
;
8904 PyObject
* _argo0
= 0;
8905 char *_kwnames
[] = { "self", NULL
};
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
8911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 wxMenu_Destroy(_arg0
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) return NULL
;
8923 } Py_INCREF(Py_None
);
8924 _resultobj
= Py_None
;
8928 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8929 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
* _resultobj
;
8934 PyObject
* _argo0
= 0;
8935 char *_kwnames
[] = { "self","id", NULL
};
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
8941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) return NULL
;
8953 } _resultobj
= Py_BuildValue("i",_result
);
8957 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8958 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
* _resultobj
;
8963 PyObject
* _argo0
= 0;
8964 PyObject
* _argo1
= 0;
8965 char *_kwnames
[] = { "self","item", NULL
};
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
8971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
8978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) return NULL
;
8990 } _resultobj
= Py_BuildValue("i",_result
);
8994 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
8995 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
* _resultobj
;
8999 PyObject
* _argo0
= 0;
9000 char *_kwnames
[] = { "self", NULL
};
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
9006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) return NULL
;
9018 } _resultobj
= Py_BuildValue("i",_result
);
9022 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
9023 wxMenuItemList
& list
= self
->GetMenuItems();
9024 return wxPy_ConvertList(&list
, "wxMenuItem");
9026 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
* _resultobj
;
9030 PyObject
* _argo0
= 0;
9031 char *_kwnames
[] = { "self", NULL
};
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
9037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) return NULL
;
9050 _resultobj
= _result
;
9055 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9056 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
* _resultobj
;
9059 wxEvtHandler
* _arg1
;
9060 PyObject
* _argo0
= 0;
9061 PyObject
* _argo1
= 0;
9062 char *_kwnames
[] = { "self","handler", NULL
};
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
9068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9075 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9076 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 wxMenu_SetEventHandler(_arg0
,_arg1
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) return NULL
;
9087 } Py_INCREF(Py_None
);
9088 _resultobj
= Py_None
;
9092 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9093 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
* _resultobj
;
9095 wxEvtHandler
* _result
;
9097 PyObject
* _argo0
= 0;
9098 char *_kwnames
[] = { "self", NULL
};
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
9104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) return NULL
;
9116 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9120 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9121 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
* _resultobj
;
9125 PyObject
* _argo0
= 0;
9126 PyObject
* _argo1
= 0;
9127 char *_kwnames
[] = { "self","win", NULL
};
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
9133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9140 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9141 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) return NULL
;
9152 } Py_INCREF(Py_None
);
9153 _resultobj
= Py_None
;
9157 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9158 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
* _resultobj
;
9162 PyObject
* _argo0
= 0;
9163 char *_kwnames
[] = { "self", NULL
};
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) return NULL
;
9181 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9185 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9186 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
* _resultobj
;
9190 PyObject
* _argo0
= 0;
9191 char *_kwnames
[] = { "self", NULL
};
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 _result
= (long )wxMenu_GetStyle(_arg0
);
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) return NULL
;
9209 } _resultobj
= Py_BuildValue("l",_result
);
9213 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9214 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
* _resultobj
;
9218 PyObject
* _argo0
= 0;
9219 char *_kwnames
[] = { "self", NULL
};
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 _result
= (bool )wxMenu_IsAttached(_arg0
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) return NULL
;
9237 } _resultobj
= Py_BuildValue("i",_result
);
9241 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9242 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
* _resultobj
;
9246 PyObject
* _argo0
= 0;
9247 PyObject
* _argo1
= 0;
9248 char *_kwnames
[] = { "self","parent", NULL
};
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9261 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9262 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 wxMenu_SetParent(_arg0
,_arg1
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) return NULL
;
9273 } Py_INCREF(Py_None
);
9274 _resultobj
= Py_None
;
9278 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9279 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
* _resultobj
;
9283 PyObject
* _argo0
= 0;
9284 char *_kwnames
[] = { "self", NULL
};
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) return NULL
;
9302 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9306 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9309 src
= (wxMenuBar
*) ptr
;
9310 dest
= (wxWindow
*) src
;
9311 return (void *) dest
;
9314 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9317 src
= (wxMenuBar
*) ptr
;
9318 dest
= (wxEvtHandler
*) src
;
9319 return (void *) dest
;
9322 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9325 src
= (wxMenuBar
*) ptr
;
9326 dest
= (wxObject
*) src
;
9327 return (void *) dest
;
9330 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9331 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
* _resultobj
;
9333 wxMenuBar
* _result
;
9334 long _arg0
= (long ) 0;
9335 char *_kwnames
[] = { "style", NULL
};
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) return NULL
;
9348 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9349 _resultobj
= Py_BuildValue("s",_ptemp
);
9352 _resultobj
= Py_None
;
9357 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9358 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
* _resultobj
;
9364 PyObject
* _argo0
= 0;
9365 PyObject
* _argo1
= 0;
9366 PyObject
* _obj2
= 0;
9367 char *_kwnames
[] = { "self","menu","title", NULL
};
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9387 _arg2
= wxString_in_helper(_obj2
);
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) return NULL
;
9397 } _resultobj
= Py_BuildValue("i",_result
);
9405 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9406 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
* _resultobj
;
9413 PyObject
* _argo0
= 0;
9414 PyObject
* _argo2
= 0;
9415 PyObject
* _obj3
= 0;
9416 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9429 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9430 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9436 _arg3
= wxString_in_helper(_obj3
);
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) return NULL
;
9446 } _resultobj
= Py_BuildValue("i",_result
);
9454 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9455 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
* _resultobj
;
9459 PyObject
* _argo0
= 0;
9460 char *_kwnames
[] = { "self", NULL
};
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) return NULL
;
9478 } _resultobj
= Py_BuildValue("i",_result
);
9482 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9483 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
* _resultobj
;
9488 PyObject
* _argo0
= 0;
9489 char *_kwnames
[] = { "self","pos", NULL
};
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) return NULL
;
9507 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9511 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9512 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
* _resultobj
;
9519 PyObject
* _argo0
= 0;
9520 PyObject
* _argo2
= 0;
9521 PyObject
* _obj3
= 0;
9522 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9535 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9536 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9542 _arg3
= wxString_in_helper(_obj3
);
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) return NULL
;
9552 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9560 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9561 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
* _resultobj
;
9566 PyObject
* _argo0
= 0;
9567 char *_kwnames
[] = { "self","pos", NULL
};
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) return NULL
;
9585 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9589 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9590 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
* _resultobj
;
9595 PyObject
* _argo0
= 0;
9597 char *_kwnames
[] = { "self","pos","enable", NULL
};
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9609 _arg2
= (bool ) tempbool2
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) return NULL
;
9616 } Py_INCREF(Py_None
);
9617 _resultobj
= Py_None
;
9621 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9622 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
* _resultobj
;
9627 PyObject
* _argo0
= 0;
9628 PyObject
* _obj2
= 0;
9629 char *_kwnames
[] = { "self","pos","label", NULL
};
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
9642 _arg2
= wxString_in_helper(_obj2
);
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) return NULL
;
9652 } Py_INCREF(Py_None
);
9653 _resultobj
= Py_None
;
9661 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9662 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
* _resultobj
;
9667 PyObject
* _argo0
= 0;
9668 char *_kwnames
[] = { "self","pos", NULL
};
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
9674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) return NULL
;
9688 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9690 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9699 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9700 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
* _resultobj
;
9705 PyObject
* _argo0
= 0;
9706 PyObject
* _obj1
= 0;
9707 char *_kwnames
[] = { "self","title", NULL
};
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
9713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9720 _arg1
= wxString_in_helper(_obj1
);
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) return NULL
;
9730 } _resultobj
= Py_BuildValue("i",_result
);
9738 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9739 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
* _resultobj
;
9745 PyObject
* _argo0
= 0;
9746 PyObject
* _obj1
= 0;
9747 PyObject
* _obj2
= 0;
9748 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9761 _arg1
= wxString_in_helper(_obj1
);
9766 _arg2
= wxString_in_helper(_obj2
);
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) return NULL
;
9776 } _resultobj
= Py_BuildValue("i",_result
);
9788 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9789 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
* _resultobj
;
9791 wxMenuItem
* _result
;
9794 PyObject
* _argo0
= 0;
9795 char *_kwnames
[] = { "self","id", NULL
};
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
9801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) return NULL
;
9813 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9817 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9818 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
* _resultobj
;
9823 PyObject
* _argo0
= 0;
9825 char *_kwnames
[] = { "self","id","enable", NULL
};
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9837 _arg2
= (bool ) tempbool2
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) return NULL
;
9844 } Py_INCREF(Py_None
);
9845 _resultobj
= Py_None
;
9849 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9850 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
* _resultobj
;
9855 PyObject
* _argo0
= 0;
9857 char *_kwnames
[] = { "self","id","check", NULL
};
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9869 _arg2
= (bool ) tempbool2
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) return NULL
;
9876 } Py_INCREF(Py_None
);
9877 _resultobj
= Py_None
;
9881 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9882 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
* _resultobj
;
9887 PyObject
* _argo0
= 0;
9888 char *_kwnames
[] = { "self","id", NULL
};
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
9894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) return NULL
;
9906 } _resultobj
= Py_BuildValue("i",_result
);
9910 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9911 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
* _resultobj
;
9916 PyObject
* _argo0
= 0;
9917 char *_kwnames
[] = { "self","id", NULL
};
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
9923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) return NULL
;
9935 } _resultobj
= Py_BuildValue("i",_result
);
9939 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9940 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
* _resultobj
;
9945 PyObject
* _argo0
= 0;
9946 PyObject
* _obj2
= 0;
9947 char *_kwnames
[] = { "self","id","label", NULL
};
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
9960 _arg2
= wxString_in_helper(_obj2
);
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) return NULL
;
9970 } Py_INCREF(Py_None
);
9971 _resultobj
= Py_None
;
9979 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9980 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
* _resultobj
;
9985 PyObject
* _argo0
= 0;
9986 char *_kwnames
[] = { "self","id", NULL
};
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) return NULL
;
10006 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10008 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10017 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10018 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
* _resultobj
;
10023 PyObject
* _argo0
= 0;
10024 PyObject
* _obj2
= 0;
10025 char *_kwnames
[] = { "self","id","helpString", NULL
};
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10038 _arg2
= wxString_in_helper(_obj2
);
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) return NULL
;
10048 } Py_INCREF(Py_None
);
10049 _resultobj
= Py_None
;
10057 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10058 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
* _resultobj
;
10060 wxString
* _result
;
10063 PyObject
* _argo0
= 0;
10064 char *_kwnames
[] = { "self","id", NULL
};
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
10070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) return NULL
;
10084 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10086 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10095 static void *SwigwxMenuItemTowxObject(void *ptr
) {
10098 src
= (wxMenuItem
*) ptr
;
10099 dest
= (wxObject
*) src
;
10100 return (void *) dest
;
10103 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10104 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
* _resultobj
;
10106 wxMenuItem
* _result
;
10107 wxMenu
* _arg0
= (wxMenu
*) NULL
;
10108 int _arg1
= (int ) wxID_SEPARATOR
;
10109 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10110 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10111 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
10112 wxMenu
* _arg5
= (wxMenu
*) NULL
;
10113 PyObject
* _argo0
= 0;
10114 PyObject
* _obj2
= 0;
10115 PyObject
* _obj3
= 0;
10116 PyObject
* _argo5
= 0;
10117 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
10124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
10126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10132 _arg2
= wxString_in_helper(_obj2
);
10138 _arg3
= wxString_in_helper(_obj3
);
10143 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10144 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) return NULL
;
10156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10157 _resultobj
= Py_BuildValue("s",_ptemp
);
10159 Py_INCREF(Py_None
);
10160 _resultobj
= Py_None
;
10173 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10174 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
* _resultobj
;
10177 wxMenuItem
* _arg0
;
10178 PyObject
* _argo0
= 0;
10179 char *_kwnames
[] = { "self", NULL
};
10182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) return NULL
;
10197 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10201 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10202 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
* _resultobj
;
10204 wxMenuItem
* _arg0
;
10206 PyObject
* _argo0
= 0;
10207 char *_kwnames
[] = { "self","id", NULL
};
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 wxMenuItem_SetId(_arg0
,_arg1
);
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) return NULL
;
10225 } Py_INCREF(Py_None
);
10226 _resultobj
= Py_None
;
10230 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10231 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
* _resultobj
;
10234 wxMenuItem
* _arg0
;
10235 PyObject
* _argo0
= 0;
10236 char *_kwnames
[] = { "self", NULL
};
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 _result
= (int )wxMenuItem_GetId(_arg0
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) return NULL
;
10254 } _resultobj
= Py_BuildValue("i",_result
);
10258 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10259 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
* _resultobj
;
10262 wxMenuItem
* _arg0
;
10263 PyObject
* _argo0
= 0;
10264 char *_kwnames
[] = { "self", NULL
};
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) return NULL
;
10282 } _resultobj
= Py_BuildValue("i",_result
);
10286 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10287 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
* _resultobj
;
10289 wxMenuItem
* _arg0
;
10291 PyObject
* _argo0
= 0;
10292 PyObject
* _obj1
= 0;
10293 char *_kwnames
[] = { "self","str", NULL
};
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10306 _arg1
= wxString_in_helper(_obj1
);
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 wxMenuItem_SetText(_arg0
,*_arg1
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) return NULL
;
10316 } Py_INCREF(Py_None
);
10317 _resultobj
= Py_None
;
10325 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10326 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
* _resultobj
;
10328 wxString
* _result
;
10329 wxMenuItem
* _arg0
;
10330 PyObject
* _argo0
= 0;
10331 char *_kwnames
[] = { "self", NULL
};
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) return NULL
;
10351 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10353 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10362 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10363 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
* _resultobj
;
10365 wxString
* _result
;
10366 wxMenuItem
* _arg0
;
10367 PyObject
* _argo0
= 0;
10368 char *_kwnames
[] = { "self", NULL
};
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10383 _result
= (wxString
*) &_result_ref
;
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) return NULL
;
10389 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10391 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10397 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10398 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
* _resultobj
;
10400 wxItemKind _result
;
10401 wxMenuItem
* _arg0
;
10402 PyObject
* _argo0
= 0;
10403 char *_kwnames
[] = { "self", NULL
};
10406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) return NULL
;
10421 } _resultobj
= Py_BuildValue("i",_result
);
10425 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10426 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
* _resultobj
;
10428 wxMenuItem
* _arg0
;
10430 PyObject
* _argo0
= 0;
10432 char *_kwnames
[] = { "self","checkable", NULL
};
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10444 _arg1
= (bool ) tempbool1
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) return NULL
;
10451 } Py_INCREF(Py_None
);
10452 _resultobj
= Py_None
;
10456 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10457 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
* _resultobj
;
10460 wxMenuItem
* _arg0
;
10461 PyObject
* _argo0
= 0;
10462 char *_kwnames
[] = { "self", NULL
};
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) return NULL
;
10480 } _resultobj
= Py_BuildValue("i",_result
);
10484 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10485 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
* _resultobj
;
10488 wxMenuItem
* _arg0
;
10489 PyObject
* _argo0
= 0;
10490 char *_kwnames
[] = { "self", NULL
};
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) return NULL
;
10508 } _resultobj
= Py_BuildValue("i",_result
);
10512 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10513 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
* _resultobj
;
10515 wxMenuItem
* _arg0
;
10517 PyObject
* _argo0
= 0;
10518 PyObject
* _argo1
= 0;
10519 char *_kwnames
[] = { "self","menu", NULL
};
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10532 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10533 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) return NULL
;
10544 } Py_INCREF(Py_None
);
10545 _resultobj
= Py_None
;
10549 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10550 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
* _resultobj
;
10553 wxMenuItem
* _arg0
;
10554 PyObject
* _argo0
= 0;
10555 char *_kwnames
[] = { "self", NULL
};
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
10561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) return NULL
;
10573 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10577 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10578 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
* _resultobj
;
10580 wxMenuItem
* _arg0
;
10581 bool _arg1
= (bool ) TRUE
;
10582 PyObject
* _argo0
= 0;
10583 int tempbool1
= (int) TRUE
;
10584 char *_kwnames
[] = { "self","enable", NULL
};
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
10590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10596 _arg1
= (bool ) tempbool1
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 wxMenuItem_Enable(_arg0
,_arg1
);
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) return NULL
;
10603 } Py_INCREF(Py_None
);
10604 _resultobj
= Py_None
;
10608 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10609 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
* _resultobj
;
10612 wxMenuItem
* _arg0
;
10613 PyObject
* _argo0
= 0;
10614 char *_kwnames
[] = { "self", NULL
};
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
10620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) return NULL
;
10632 } _resultobj
= Py_BuildValue("i",_result
);
10636 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10637 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
* _resultobj
;
10639 wxMenuItem
* _arg0
;
10640 bool _arg1
= (bool ) TRUE
;
10641 PyObject
* _argo0
= 0;
10642 int tempbool1
= (int) TRUE
;
10643 char *_kwnames
[] = { "self","check", NULL
};
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
10649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
10655 _arg1
= (bool ) tempbool1
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 wxMenuItem_Check(_arg0
,_arg1
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) return NULL
;
10662 } Py_INCREF(Py_None
);
10663 _resultobj
= Py_None
;
10667 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10668 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
* _resultobj
;
10671 wxMenuItem
* _arg0
;
10672 PyObject
* _argo0
= 0;
10673 char *_kwnames
[] = { "self", NULL
};
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
10679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) return NULL
;
10691 } _resultobj
= Py_BuildValue("i",_result
);
10695 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10696 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
* _resultobj
;
10698 wxMenuItem
* _arg0
;
10699 PyObject
* _argo0
= 0;
10700 char *_kwnames
[] = { "self", NULL
};
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
10706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 wxMenuItem_Toggle(_arg0
);
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) return NULL
;
10718 } Py_INCREF(Py_None
);
10719 _resultobj
= Py_None
;
10723 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10724 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
* _resultobj
;
10726 wxMenuItem
* _arg0
;
10728 PyObject
* _argo0
= 0;
10729 PyObject
* _obj1
= 0;
10730 char *_kwnames
[] = { "self","str", NULL
};
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
10736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
10743 _arg1
= wxString_in_helper(_obj1
);
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 wxMenuItem_SetHelp(_arg0
,*_arg1
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) return NULL
;
10753 } Py_INCREF(Py_None
);
10754 _resultobj
= Py_None
;
10762 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10763 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
* _resultobj
;
10765 wxString
* _result
;
10766 wxMenuItem
* _arg0
;
10767 PyObject
* _argo0
= 0;
10768 char *_kwnames
[] = { "self", NULL
};
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
10774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
10783 _result
= (wxString
*) &_result_ref
;
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) return NULL
;
10789 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10791 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10797 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10798 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
* _resultobj
;
10800 wxAcceleratorEntry
* _result
;
10801 wxMenuItem
* _arg0
;
10802 PyObject
* _argo0
= 0;
10803 char *_kwnames
[] = { "self", NULL
};
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
10810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) return NULL
;
10823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
10824 _resultobj
= Py_BuildValue("s",_ptemp
);
10826 Py_INCREF(Py_None
);
10827 _resultobj
= Py_None
;
10832 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
10833 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
* _resultobj
;
10835 wxMenuItem
* _arg0
;
10836 wxAcceleratorEntry
* _arg1
;
10837 PyObject
* _argo0
= 0;
10838 PyObject
* _argo1
= 0;
10839 char *_kwnames
[] = { "self","accel", NULL
};
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
10845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
10852 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10853 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
10854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 wxMenuItem_SetAccel(_arg0
,_arg1
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) return NULL
;
10864 } Py_INCREF(Py_None
);
10865 _resultobj
= Py_None
;
10869 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
* _resultobj
;
10871 wxString
* _result
;
10873 PyObject
* _obj0
= 0;
10874 char *_kwnames
[] = { "text", NULL
};
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
10880 _arg0
= wxString_in_helper(_obj0
);
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) return NULL
;
10892 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10894 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10907 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
10908 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
* _resultobj
;
10910 wxMenuItem
* _arg0
;
10912 PyObject
* _argo0
= 0;
10913 PyObject
* _argo1
= 0;
10914 char *_kwnames
[] = { "self","font", NULL
};
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
10920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
10927 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10928 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
10929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 wxMenuItem_SetFont(_arg0
,*_arg1
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) return NULL
;
10939 } Py_INCREF(Py_None
);
10940 _resultobj
= Py_None
;
10944 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
10945 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
* _resultobj
;
10948 wxMenuItem
* _arg0
;
10949 PyObject
* _argo0
= 0;
10950 char *_kwnames
[] = { "self", NULL
};
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
10957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 _result
= new wxFont (wxMenuItem_GetFont(_arg0
));
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) return NULL
;
10969 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10970 _resultobj
= Py_BuildValue("s",_ptemp
);
10974 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
10975 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
* _resultobj
;
10977 wxMenuItem
* _arg0
;
10979 PyObject
* _argo0
= 0;
10981 PyObject
* _obj1
= 0;
10982 char *_kwnames
[] = { "self","colText", NULL
};
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
10988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
10996 if (! wxColour_helper(_obj1
, &_arg1
))
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) return NULL
;
11005 } Py_INCREF(Py_None
);
11006 _resultobj
= Py_None
;
11010 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
11011 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
* _resultobj
;
11013 wxColour
* _result
;
11014 wxMenuItem
* _arg0
;
11015 PyObject
* _argo0
= 0;
11016 char *_kwnames
[] = { "self", NULL
};
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
11023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 _result
= new wxColour (wxMenuItem_GetTextColour(_arg0
));
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) return NULL
;
11035 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11036 _resultobj
= Py_BuildValue("s",_ptemp
);
11040 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
11041 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
* _resultobj
;
11043 wxMenuItem
* _arg0
;
11045 PyObject
* _argo0
= 0;
11047 PyObject
* _obj1
= 0;
11048 char *_kwnames
[] = { "self","colBack", NULL
};
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
11062 if (! wxColour_helper(_obj1
, &_arg1
))
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) return NULL
;
11071 } Py_INCREF(Py_None
);
11072 _resultobj
= Py_None
;
11076 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
11077 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
* _resultobj
;
11079 wxColour
* _result
;
11080 wxMenuItem
* _arg0
;
11081 PyObject
* _argo0
= 0;
11082 char *_kwnames
[] = { "self", NULL
};
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
11089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 _result
= new wxColour (wxMenuItem_GetBackgroundColour(_arg0
));
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) return NULL
;
11101 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11102 _resultobj
= Py_BuildValue("s",_ptemp
);
11106 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
11107 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
* _resultobj
;
11109 wxMenuItem
* _arg0
;
11111 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
11112 PyObject
* _argo0
= 0;
11113 PyObject
* _argo1
= 0;
11114 PyObject
* _argo2
= 0;
11115 char *_kwnames
[] = { "self","bmpChecked","bmpUnchecked", NULL
};
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11135 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11136 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) return NULL
;
11147 } Py_INCREF(Py_None
);
11148 _resultobj
= Py_None
;
11152 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
11153 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
* _resultobj
;
11155 wxMenuItem
* _arg0
;
11157 PyObject
* _argo0
= 0;
11158 PyObject
* _argo1
= 0;
11159 char *_kwnames
[] = { "self","bmpChecked", NULL
};
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
11165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
11172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) return NULL
;
11184 } Py_INCREF(Py_None
);
11185 _resultobj
= Py_None
;
11189 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
11190 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
* _resultobj
;
11192 wxBitmap
* _result
;
11193 wxMenuItem
* _arg0
;
11194 bool _arg1
= (bool ) TRUE
;
11195 PyObject
* _argo0
= 0;
11196 int tempbool1
= (int) TRUE
;
11197 char *_kwnames
[] = { "self","bChecked", NULL
};
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
11204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
11210 _arg1
= (bool ) tempbool1
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) return NULL
;
11217 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
11218 _resultobj
= Py_BuildValue("s",_ptemp
);
11222 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11223 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
* _resultobj
;
11225 wxMenuItem
* _arg0
;
11227 PyObject
* _argo0
= 0;
11228 char *_kwnames
[] = { "self","nWidth", NULL
};
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
11234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) return NULL
;
11246 } Py_INCREF(Py_None
);
11247 _resultobj
= Py_None
;
11251 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11252 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
* _resultobj
;
11255 wxMenuItem
* _arg0
;
11256 PyObject
* _argo0
= 0;
11257 char *_kwnames
[] = { "self", NULL
};
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
11263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) return NULL
;
11275 } _resultobj
= Py_BuildValue("i",_result
);
11279 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
* _resultobj
;
11282 char *_kwnames
[] = { NULL
};
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMenuItem_GetDefaultMarginWidth",_kwnames
))
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 _result
= (int )wxMenuItem::GetDefaultMarginWidth();
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) return NULL
;
11293 } _resultobj
= Py_BuildValue("i",_result
);
11297 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11298 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
* _resultobj
;
11301 wxMenuItem
* _arg0
;
11302 PyObject
* _argo0
= 0;
11303 char *_kwnames
[] = { "self", NULL
};
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsOwnerDrawn",_kwnames
,&_argo0
))
11309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 _result
= (bool )wxMenuItem_IsOwnerDrawn(_arg0
);
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) return NULL
;
11321 } _resultobj
= Py_BuildValue("i",_result
);
11325 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
11326 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
* _resultobj
;
11328 wxMenuItem
* _arg0
;
11329 PyObject
* _argo0
= 0;
11330 char *_kwnames
[] = { "self", NULL
};
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_ResetOwnerDrawn",_kwnames
,&_argo0
))
11336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 wxMenuItem_ResetOwnerDrawn(_arg0
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) return NULL
;
11348 } Py_INCREF(Py_None
);
11349 _resultobj
= Py_None
;
11353 static PyMethodDef windowscMethods
[] = {
11354 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxWindow_HasCapture", (PyCFunction
) _wrap_wxWindow_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxWindow_GetCapture", (PyCFunction
) _wrap_wxWindow_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxWindow_OnPaint", (PyCFunction
) _wrap_wxWindow_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
11642 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
11643 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11644 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11645 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11646 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11647 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
11680 * This table is used by the pointer type-checker
11682 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11683 { "_signed_long","_long",0},
11684 { "_wxPrintQuality","_wxCoord",0},
11685 { "_wxPrintQuality","_int",0},
11686 { "_wxPrintQuality","_signed_int",0},
11687 { "_wxPrintQuality","_unsigned_int",0},
11688 { "_wxPrintQuality","_wxWindowID",0},
11689 { "_wxPrintQuality","_uint",0},
11690 { "_wxPrintQuality","_EBool",0},
11691 { "_wxPrintQuality","_size_t",0},
11692 { "_wxPrintQuality","_time_t",0},
11693 { "_byte","_unsigned_char",0},
11694 { "_long","_unsigned_long",0},
11695 { "_long","_signed_long",0},
11696 { "_size_t","_wxCoord",0},
11697 { "_size_t","_wxPrintQuality",0},
11698 { "_size_t","_time_t",0},
11699 { "_size_t","_unsigned_int",0},
11700 { "_size_t","_int",0},
11701 { "_size_t","_wxWindowID",0},
11702 { "_size_t","_uint",0},
11703 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11704 { "_uint","_wxCoord",0},
11705 { "_uint","_wxPrintQuality",0},
11706 { "_uint","_time_t",0},
11707 { "_uint","_size_t",0},
11708 { "_uint","_unsigned_int",0},
11709 { "_uint","_int",0},
11710 { "_uint","_wxWindowID",0},
11711 { "_wxChar","_char",0},
11712 { "_char","_wxChar",0},
11713 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11714 { "_EBool","_wxCoord",0},
11715 { "_EBool","_wxPrintQuality",0},
11716 { "_EBool","_signed_int",0},
11717 { "_EBool","_int",0},
11718 { "_EBool","_wxWindowID",0},
11719 { "_unsigned_long","_long",0},
11720 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11721 { "_signed_int","_wxCoord",0},
11722 { "_signed_int","_wxPrintQuality",0},
11723 { "_signed_int","_EBool",0},
11724 { "_signed_int","_wxWindowID",0},
11725 { "_signed_int","_int",0},
11726 { "_WXTYPE","_short",0},
11727 { "_WXTYPE","_signed_short",0},
11728 { "_WXTYPE","_unsigned_short",0},
11729 { "_unsigned_short","_WXTYPE",0},
11730 { "_unsigned_short","_short",0},
11731 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
11732 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
11733 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
11734 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
11735 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
11736 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
11737 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
11738 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
11739 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
11740 { "_signed_short","_WXTYPE",0},
11741 { "_signed_short","_short",0},
11742 { "_unsigned_char","_byte",0},
11743 { "_unsigned_int","_wxCoord",0},
11744 { "_unsigned_int","_wxPrintQuality",0},
11745 { "_unsigned_int","_time_t",0},
11746 { "_unsigned_int","_size_t",0},
11747 { "_unsigned_int","_uint",0},
11748 { "_unsigned_int","_wxWindowID",0},
11749 { "_unsigned_int","_int",0},
11750 { "_short","_WXTYPE",0},
11751 { "_short","_unsigned_short",0},
11752 { "_short","_signed_short",0},
11753 { "_wxWindowID","_wxCoord",0},
11754 { "_wxWindowID","_wxPrintQuality",0},
11755 { "_wxWindowID","_time_t",0},
11756 { "_wxWindowID","_size_t",0},
11757 { "_wxWindowID","_EBool",0},
11758 { "_wxWindowID","_uint",0},
11759 { "_wxWindowID","_int",0},
11760 { "_wxWindowID","_signed_int",0},
11761 { "_wxWindowID","_unsigned_int",0},
11762 { "_int","_wxCoord",0},
11763 { "_int","_wxPrintQuality",0},
11764 { "_int","_time_t",0},
11765 { "_int","_size_t",0},
11766 { "_int","_EBool",0},
11767 { "_int","_uint",0},
11768 { "_int","_wxWindowID",0},
11769 { "_int","_unsigned_int",0},
11770 { "_int","_signed_int",0},
11771 { "_time_t","_wxCoord",0},
11772 { "_time_t","_wxPrintQuality",0},
11773 { "_time_t","_unsigned_int",0},
11774 { "_time_t","_int",0},
11775 { "_time_t","_wxWindowID",0},
11776 { "_time_t","_uint",0},
11777 { "_time_t","_size_t",0},
11778 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
11779 { "_wxCoord","_int",0},
11780 { "_wxCoord","_signed_int",0},
11781 { "_wxCoord","_unsigned_int",0},
11782 { "_wxCoord","_wxWindowID",0},
11783 { "_wxCoord","_uint",0},
11784 { "_wxCoord","_EBool",0},
11785 { "_wxCoord","_size_t",0},
11786 { "_wxCoord","_time_t",0},
11787 { "_wxCoord","_wxPrintQuality",0},
11788 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
11789 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
11790 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
11791 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
11792 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
11793 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
11794 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
11795 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
11796 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
11797 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
11800 static PyObject
*SWIG_globals
;
11804 SWIGEXPORT(void) initwindowsc() {
11806 SWIG_globals
= SWIG_newvarlink();
11807 m
= Py_InitModule("windowsc", windowscMethods
);
11808 d
= PyModule_GetDict(m
);
11811 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11812 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);